Re: Need help with a particular use-case for pvmove.

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

 



On 11/13/2010 10:56 PM, Stirling Westrup wrote:
>
>> Then dd_rescue copy the disk image from bad-old to new, including
>> everything (partition table, if any, LVM signature, the full image).
>>
>> Remove bad-old drive, have all other old and the new plugged,
>> reboot normally
> Thanks. I did consider this, but the new drive is twice the size of
> the old one, so I would need to make sure I had created a partition on
> the new drive the exact size of the old one, and had dd-ed everything
> correctly. Even then, I wasn't sure if it would work, because I don't
> know what the metadata records in terms of the drive configurations.
The partition can be bigger.  Just run pvresize on the new partition
when done.  The metadata goes by UUID and doesn't
care what drive it is on (which results in a FAQ when cloning VGs via SAN).

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux