著者: Marc Shapiro日付: 2021-03-16 14:41 UTC To: dng題目: Re: [DNG] rm not freeing space
On 3/16/21 4:45 AM, Florian Zieboll via Dng wrote:
> Just to doube check for "human error": Does the output of 'df' match with the output of 'du -sc /path/to/mountpoint/'?
>
The drive in question is /dev/sdb1/ mounteded on /dev/media/. Not an
exact match, but not off by 200GB, either.
root:/home/marc# df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 12281428 0 12281428 0% /dev
tmpfs 2466620 1116 2465504 1% /run
/dev/mapper/vg1-root--devuan 3030800 2089220 767912 74% /
/dev/mapper/vg1-usr--ascii 51343840 5063608 43642408 11% /usr
tmpfs 5120 4 5116 1% /run/lock
tmpfs 4933220 1008 4932212 1% /dev/shm
/dev/mapper/vg1-tmp--ascii 5095040 22360 4794152 1% /tmp
/dev/mapper/vg1-usrlocal 25671996 17704060 6813536 73% /usr/local
/dev/mapper/vg1-photos 10255992 2626160 7174264 27%
/usr/local/photos
/dev/mapper/vg1-var--ascii 10255636 2180880 7534084 23% /var
/dev/mapper/vg1-home 256981444 53203092 190654768 22% /home
tmpfs 12333080 0 12333080 0%
/sys/fs/cgroup
tmpfs 2466616 24 2466592 1%
/run/user/1001
tmpfs 2466616 24 2466592 1%
/run/user/1002
/dev/mapper/vg1-vdisks 154687468 85293144 61530004 59%
/usr/local/vdisks
tmpfs 2466616 32 2466584 1%
/run/user/1000
/dev/sdb1 1663749752 1267718540 311447996 81%
/media/archives
root@quixote:/home/marc#
root@quixote:/home/marc# du -sc /path/to/mountpoint/
du: cannot access '/path/to/mountpoint/': No such file or directory
0 total
root:/home/marc# du -sc /media/archives
1267648384 /media/archives
1267648384 total