I was copying a large VM disk file to a separate larger separate disk array to work on it and during a benchmark I did previously before I started the copy job I didn't realize that the benchmark had unmounted the array. So the file was partially copied to somewhere within the / filesystem and I cannot find it anywhere. I've looked with some commands like find -type f -exec du -Sh {} + | sort -rh | head -n 5 to the find the largest files. Any suggestions? Below are the file system outputs.
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 50G 50G 122M 100% /
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 16G 11M 16G 1% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/sda2 1014M 216M 799M 22% /boot
/dev/sda1 200M 12M 189M 6% /boot/efi
/dev/mapper/centos-home 864G 301G 563G 35% /home
tmpfs 3.1G 32K 3.1G 1% /run/user/1000
/dev/sdb1 1.9T 132G 1.7T 8% /disk1
du -sh *
0 bin
194M boot
0 dev
46G disk1
41M etc
301G home
0 lib
0 lib64
0 media
0 mnt
720K opt
du: cannot access ‘proc/39152/task/39152/fd/3’: No such file or directory
du: cannot access ‘proc/39152/task/39152/fdinfo/3’: No such file ordirectory
du: cannot access ‘proc/39152/fd/3’: No such file or directory
du: cannot access ‘proc/39152/fdinfo/3’: No such file or directory
0 proc
4.9M root
du: cannot access ‘run/user/1000/gvfs’: Permission denied
11M run
0 sbin
0 srv
0 sys
20M tmp
3.5G usr
673M var
disk1is, this is a strange name not normally found in/. – Sven Sep 21 '18 at 17:27/dev/mapper/centos-root == / but != /rootalthough/is called the ”root file system/partition” it contains more than the /root directory – HBruijn Sep 21 '18 at 18:22find /mount/point -type f -print 0|xargs -P 1 -n 500 ls -l|sort -n -k +5 -r|head -20. About your question, I would suggest to try to make it more specific, best if the answerers can see already from its title, what you want. If you ask a question, tune it always to the time of the answerer. If your problem don't get a reopen, you might also try https://unix.stackexchange.com . If it is reopened, you are not allowed to cross-post. It will be decided in roughly a day. – peterh Sep 21 '18 at 18:55/disk1which isn't part of/, it can't be because/disk1is over 700GB now with things i've been doing it in. Only things larger than 100M in side of the subfolders of/are 146M in/var/lib/rpm/Packagesand 102M in/usr/lib/locale– Matthew Kelly Sep 21 '18 at 19:15/as the mount point and filled up the space for/. It wasn't visible or even showing up in any command that would find the largest files in the file-system because the disk array was remounted over top of it. So after I unmounted it on purpose again to fix something I was able to find and delete it. – Matthew Kelly Sep 25 '18 at 18:23