clone LVM disk to a larger disk



Hi guys,

I'm using two HP Microservers with a Heartbeat1 cluster, drbd and kvm.
On one of these servers the systemdisk is a 160GB disk with LVM configured, on the other node it's a 1TB disk. I'd like to have both nodes with the same disk sizes (easier to configure imo)

Now I've got a 1TB disk which I would like to use instead of the 160GB disk. My question: Can I just clone the small disk to the new large disk and then resize the LV on it ? Does that work ? I would say yes, but I've never done that, so I am not sure... ;)

Is there any advantage to use dd instead of Clonezilla[1], ReDo[2] or whatever ? Maybe dd is slower than the other tools, but other than that
there shouldn't be any issues, correct ?

Thanks
Best Regards
Peter

[1] http://clonezilla.org
[2] http://redobackup.org


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/4DEB8CB2.40601@xxxxxxxxxxxxxxx



Relevant Pages

  • Re: "superblock last write time is in the future" on boot
    ... It has to do with the fact that the local time ... trouble. ... > "One disk to rule them all, ... > with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: disabling of XWindows start on ubunt
    ... No need to chroot to access disk when booted from live image. ... If you boot off the live CD you can mount the disk and remove ... Modify settings or unsubscribe at: ...
    (Ubuntu)
  • Re: Problem booting RAID1/mdadm system when one disk is unplugged
    ... My System has 2x120GB IDE disks with the an up-to-date Sarge install, running kernel 2.6.8-3 and configured for mirroring. ... some friends of mine do not agree that my initrd is the problem because they point out that I can still boot when two disks are present. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ... disk BIOS presents, and partition number 6 on that disk. ...
    (Debian-User)
  • Re: Problem booting RAID1/mdadm system when one disk is unplugged
    ... My System has 2x120GB IDE disks with the an up-to-date Sarge install, running kernel 2.6.8-3 and configured for mirroring. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ... first disk BIOS presents, and partition number 6 on that disk. ... You always want to RAID1 the swap as well. ...
    (Debian-User)
  • Re: how to fix logical bad sectors
    ... SMART test to diagnose any problem from the disk and better if you use ... If both SATA drives pass the tests then open your computer case and reseat/ ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)