Solved synching with rsync uses unexpected disk space

Hi Guys,
I'm backing up my all Linux clients in the house to an old pc backup server running 10.1-RELEASE-p24 with rsync(1) ( rsync -avp /home/username/ root@bkupbox:/home/username) and all works as it should. However, what puzzles me is that the disk on the freebsdFreeBSD box seems to be indicating it's full but the amount of data being backed up on the clients only amounts to less than 40GB. The disk capacity on the target box is 140GB as indicated by df -h

Code:
Filesystem  Size  Used  Avail Capacity  Mounted on
/dev/ada0p2  140G  134G  -5.1G  104%  /
devfs  1.0K  1.0K  0B  100%  /dev

Thanks for your help,
Andy
 
Can't really tell a lot from that, other than you appear to be using 134G of space.
For a start, how much space are the user folders taking up. (Hopefully you're backing up each machine to a separate folder).

# du -hd1 /home
 
Thank you very much, you're a star!
Using du I tracked down the 100G that was clogging things up. It turned out that there was a folder within Trash called expunged. I emptied it out and did the same on the backup box and now I've got 99GB available.
Many thanks again for helping out a newbie.
Andy
 
You might want to check /var/log/ too: du -sk /var/log/* | sort -n

It's not uncommon to log a whole bunch of stuff and never clean.
 
Back
Top