[ltp] Re: Cloning a hard disk?

linux-thinkpad@linux-thinkpad.org linux-thinkpad@linux-thinkpad.org
Fri, 19 Aug 2005 16:17:51 +0200 (CEST)


> This is a slight twist on the topic but:
> Has anyone had success with doing a partition copy/restore
> where the restore partition is larger than the one that is copied?


Sure, no pb at all with Linux: just do a
cat oldpartiton > newpartition
(If your disks are not on the same server, you can transit through a
netcat, this does not change anything)
then, you can resize your filesystem (eg resize2fs for ext2/ext3)
and it's done !

You can even use LVM volumes instead of partition...

Best regards,
Antoine