Add Storage Space

Jonathan D. Proulx jon at csail.mit.edu
Thu Sep 13 14:57:05 BST 2007


On Thu, Sep 13, 2007 at 09:18:12AM +0200, Stefano Rivera wrote:

:There are several approaches. cp -a might work if theres's nothing
:complex.
:
:I normally use this:
:# cd /home
:# find . -xdev -print0 | cpio -0pdvum --sparse /newhome

I used to use that as well, but I found cpio doesn't properly handle
"large files" (were large is >2G), this may be fixed but not that I'm
aware of.  "tar" does handle large files properly so I now use:

# cd /home
# tar cf - * | ( cd /newhome ; tar xf - )

-jon



More information about the edubuntu-users mailing list