Re: Re: moving CentOS to a larger disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello,
Thanks, i like this method i have used it on bsd systems and am glad it is viable here.
   I'll check out the tldp howto as well.
Thanks.
Dave.

----- Original Message ----- From: "Kenneth Porter" <shiva@xxxxxxxxxxxxxxx>
To: "CentOS mailing list" <centos@xxxxxxxxxx>
Sent: Monday, April 16, 2007 1:58 PM
Subject: Re:  Re: moving CentOS to a larger disk


--On Monday, April 16, 2007 10:40 AM -0700 Scott Silva <ssilva@xxxxxxxxxxxx> wrote:

You can set up the partitioning on the new drive, and use your favorite
poison to copy each partition. You can use rsync, cp -a, or tar,
whichever you are comfortable with. If the drives are close in size, you
can usually get away with dd, or G4L if you want something more visual.

dump/restore in a pipeline would be my choice, at least if you're copying ext2 or 3 filesystems. You can see an example in old copies of the restore man page:

<http://www.daemon-systems.org/man/restore.8.html>

dump 0f - /usr | (cd /mnt; restore xf -)

dump reads through the block device and restore writes through the filesystem. This will preserve holes in sparse files, because the holes can be detected in the raw filesystem format.

When dump is mentioned, someone inevitably mentions that Linus disapproves of dump:

<http://dump.sourceforge.net/isdumpdeprecated.html>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux