[Server-devel] copying from the /library partition

Sameer Verma sverma at sfsu.edu
Thu Sep 29 20:16:04 EDT 2011


On Wed, Sep 28, 2011 at 4:48 PM, Martin Langhoff
<martin.langhoff at gmail.com> wrote:
> 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.

Thanks! rsync -rH does it.

cheers,
Sameer


More information about the Server-devel mailing list