NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Paladax
Feb 06, 2014Aspirant
Readynas 3200 disk space issue
Hi there, I have 2 of these units with both 12X 2tB disks in them. One unit it the primary unit that is where all my other site servers backup to. That then mirrors the data onto the 2nd offsite un...
fastfwd
Feb 17, 2014Virtuoso
Paladax wrote: If I am in a backup folder for a server and do a du * -sh it shows the following
Mon = 436GB
Tue = 73GB
Wed = 71GB
Thur = 80GB
Fri = 436GB
However, if I then go into the Wednesday folder and do the same du command it then shows me a total size of 436GB.
That's correct if your backups are created using hardlinks (e.g. using the rsync "--link-dest" option); du counts each file it sees only once, regardless of how many hardlinks to that file it also sees.
To make du count every hardlink, try this from your outer directory:
du -shl *
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!