On Thu, 16 Jun 2005 13:11:33 +0800
Ow Mun Heng <[EMAIL PROTECTED]> wrote:


> Actually I would use fdisk/mke2fs and tar rather than rsync since it's
> much faster that way. 
> 


I'd suggest another option - use xfs and xfsdump and xfsrestore.
At the bottom of the xfsdump man page there are examples of
ways to dump out the file system.

The way I moved my /home from a small disk to a larger one was -

fdisk/cfdisk the new drive
mkfs.xfs /dev/sda (it was attached via a USB to ide adapter)
mkdir /d2
mount /dev/sda1 /d2
xfsdump - /home | xfsrestore - /d2/

There is a similar dump/restore for the ext2 filesystem - app-arch/dump.

Bob
- 
-  
-- 
gentoo-user@gentoo.org mailing list

Reply via email to