Re: du Weirdness - how is this possible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



JD, Gordon, Robert,


On 2018-03-12 06:13, Robert Nichols wrote:
On 03/11/2018 01:48 PM, Philip Rhoades wrote:
People,

I started deleting GBs of stuff from:

/dev/sdb1 /backup

but df did not reduce from 95% so I looked more closely and found this weirdness:

# du -s -BG 20180216
43G     20180216

# du -s -BG 20180216/*
1G      20180216/naf_dirs
43G     20180216/phil
1G      20180216/root

# du -s -BG 20180216/phil/*
1G      20180216/phil/0
1G      20180216/phil/0_finance
1G      20180216/phil/0_naf
1G      20180216/phil/Maildir
1G      20180216/phil/txts
1G      20180216/phil/vimwiki

Where has ~37GB disappeared to?  There are no files held open and I have successfully umounted and re-mounted the partition - what is going on?

That "du -s -BG 20180216/phil/*" is ignoring any "dot"
files/directories under 20180216/phil .

It's better to leave out the "-s" option and use the "--max-depth"
option to limit the depth of the display.
	du -BG --max-depth=1 20180216/phil


Damn, I should have thought of that - normally, outside of .config, there would not be much in my dot dirs - but I had been experimenting with cryptocurrency nodes . .

Thanks for the useful tips!

Regards,

P.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  phil@xxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux