My home directory looks like this:

# ls -lt
total 417656
drwxrwxr-x 2 ljohnson ljohnson 427577344 May  9 08:48 2z9TnVLzmf
drwxr-xr-x 4 ljohnson ljohnson      4096 May  9 07:42 transmission
drwxr-xr-x 6 ljohnson ljohnson      4096 Apr  3 13:37 Downloads
drwxrwxr-x 5 ljohnson ljohnson      4096 Mar 28 07:25 Desktop
drwxrwxr-x 2 ljohnson ljohnson      4096 Sep 17  2017 saa7164

Where the size of 2z9TnVLzmf is a problem.

Efforts to remove such as # rm -rf have proved futile.

#ls 2z9TnVLzmf returns no result and has to be canceled.

Update: fsck is set to run at every boot for this relatively small partition

# df -hT | grep /dev/
/dev/sdc1      ext4       63G   60G  361M 100% /
tmpfs          tmpfs     2.0G   16M  2.0G   1% /dev/shm
/dev/sdb1      xfs       2.8T  1.5T  1.3T  54% /pvr
/dev/sda1      xfs       4.6T  2.9T  1.7T  64% /pvu
/dev/sdc3      xfs       395G  101G  294G  26% /pvt
/dev/sdd1      xfs       1.9T 1023G  840G  55% /pvs
  • what's in the files? are they text or folders? – Joshua Besneatte May 9 '18 at 18:00
  • I am trying to get rid of some impossible to delete files as well... the hard drive got unplugged during delete and now they won't delete... I fear formatting the drive is my only option. – Joshua Besneatte May 9 '18 at 18:02
  • 2
    Have you run fsck on the partition ? Shold have been run automatically at boot... – solsTiCe May 9 '18 at 18:05
  • have you tried to force it: rm -rf – Broadsworde May 9 '18 at 18:05
  • "Update: fsck is set to run at every boot for this relatively small partition" and is that done with or without the -D option? "#ls 2z9TnVLzmf returns no result and has to be canceled." Why cancel? It will take a while to return a result. We are talking about 4.2Gb (of whatever it is ;) ) Also: an "rm" ALSO will take a very long time – Rinzwind May 10 '18 at 16:05

So I got a Kali USB stick, shut her down, pulled other discs, and booted into Kali.

# lsblk
# e2fsck -f -C 0 /dev/sda1
# mount /dev/sda1 /mnt
# cd /mnt/home/ljohnson/
# rm -rf 2z9TnVLzmf

rm ran for at least 45 minutes but less than two hours but 2z9TnVLzmf is gone.

Now the partition is %36

# df -hT | grep /dev/
/dev/sda1      ext4       63G   21G   39G  36% /
/dev/sdc1      xfs       2.8T  1.5T  1.3T  53% /pvr
/dev/sdb1      xfs       1.9T 1010G  853G  55% /pvs
/dev/sde1      xfs       4.6T  2.9T  1.8T  62% /pvu
/dev/sda3      xfs       395G  101G  294G  26% /pvt

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.