Forum Discussion

JasonRkr's avatar
JasonRkr
Level 4
2 years ago

Log Directory Full

Good morning.  The /log directory on my appliance is full.  It's looking like much of the space is used by old core files in /log/crash.  Can those be deleted?

Thanks,

Jason

6 Replies

    • JasonRkr's avatar
      JasonRkr
      Level 4

      Hamza_H,

      Thank you for the quick reply.  I removed some of the files as a test and while it shows used space has dropped it's still reporting 100% full.  

      /dev/mapper/system-log 182G 179G 0 100% /log

      Is there a service I need to restart for it to recognize the space again?

      Thanks again,

      Jason

      • Hamza_H's avatar
        Hamza_H
        Moderator

        indeed that is strange..

        it shows 179G or 182G is used, so at least 3G should be free.. 

        try to reboot the server..

        also, check if you still have dump or crash files created in the folder..

         

  • hi JasonRkr 

    Also run NBU command to delete old logs :

    -b after
    vxlogmgr --del -p 51216 -b '12/28/2022 12:00:00 PM'
    -e before

    vxlogmgr does not delete core files.

  • Delete all the core files and remove all the log files older than 2 days. You can also just delete everything in the log directory.