⇤ ← Revision 1 as of 2020-10-13 11:10:52
822
Comment:
|
← Revision 2 as of 2020-10-13 11:11:10 ⇥
822
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
* See [[linux/Btrfs]] for btrfs specific info. | * See [[linux/btrfs]] for btrfs specific info. |
linux/DiskFullNoSpaceLeft
See linux/btrfs for btrfs specific info.
Error"No space left on device"
- Old Redhat server, but df showed still space left ?
- Used du --max-depth=1 to track down large dir in var /var/spool/clientmqueue/
- Quick google and this is used for client email, 1Million+ file in here.
Most probable cause exhaustion of inodes, get disk from mount "/dev/mapper/VolGroup00-LogVol00"
check for inodes
df -i /dev/mapper/VolGroup00-LogVol00 Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/VolGroup00-LogVol00 1160992 673458 487534 59% /
Delete files older than 6Mx30d = 180days (took 10min)
time find /var/spool/clientmqueue/ -mtime +182 -exec rm -r "{}" \;
- Used du --max-depth=1 to track down large dir in var /var/spool/clientmqueue/