[Server-devel] copying from the /library partition

Martin Langhoff martin.langhoff at gmail.com
Wed Sep 28 17:48:32 EDT 2011


On Wed, Sep 28, 2011 at 12:02 PM, Sameer Verma <sverma at sfsu.edu> wrote:
> We are making an archival copy of the /library on one of our school
> servers. du -hc | grep total on the /library/users directory shows
> 4.7GB. Copying that over to a 16GB ext2 formatted USB took all night
> and is still going, and df -h from another console shows 7GB on te USB
> stick and its still writing. Any ideas how 4.7GB became 7GB?

Ouch. Yes, I know how. We use hardlinked trees for backups.

You want to use rsync with the -H option to preserve hardlinks, disk
space, and sanity.

cheers,



m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Server-devel mailing list