On Thu, 2005-06-16 at 18:23 -0700, Zac Medico wrote: > 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.
Ah.. So it's filesystem specific. But new thing learned today. > > 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. I guess our best bet is the OP since he/she has that empty hard drive to populate. -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 10:18:31 up 23:37, 7 users, load average: 1.26, 2.04, 2.07 -- gentoo-user@gentoo.org mailing list