Mailinglist Archive: opensuse (1390 mails)

< Previous Next >
Re: [opensuse] Copy LVM
  • From: James Knott <james.knott@xxxxxxxxxx>
  • Date: Mon, 01 Mar 2010 08:23:45 -0500
  • Message-id: <4B8BBFE1.5020808@xxxxxxxxxx>
Dave Howorth wrote:
James Knott wrote:
Now, to duplicate the disk, I have to copy over an NTFS partition, which
should be easy enough, along with the ext2 partition that contains
/boot. However, the rest of the Linux system is on LVM, so I'll have to
see if that pvmove works. I guess after all that stuff is copied over,
the next step will be getting grub working again.
If you're trying to duplicate the disk, why are you copying partitions?
Just use dd to copy the entire disk.

Cheers, Dave

PS Personally, I wouldn't use pvmove for this purpose. Since it is a
move rather than a copy it leaves you more vulnerable. If you do need to
look inside partitions etc then I'd copy the contents of the filesystems
inside the LVM.
I also plan to increase the size of the NTFS partition. If I copy over the entire drive, then there won't be any room to expand it. Or am I missing something here?

So far, I can create a larger NTFS partition, but only the original amount of space is usable when I use dd to copy from the saved file. Parted doesn't seem to want to work with NTFS.

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >