Bob Sanders wrote: > 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 > - > -
This method looks interesting. I found a quote from Linux Torvalds saying dump can misbehave if there are dirty buffers. Has anyone experienced that? http://www.geoffholden.com/content/presentations/Backups/ How about benchmarks? Has anyone seen benchmarks of dump vs. partimage vs. tar vs. rsync vs. cp? That would be interesting. Zac -- gentoo-user@gentoo.org mailing list