[DRBD-user] parted to move a partition DRBD uses as a backing device

Digimer lists at alteeve.ca
Thu Jul 31 17:35:14 CEST 2014

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Oh, very good idea. I am somewhat ashamed to admit that I didn't think 
of detaching the backing device. :)

Will try and report!

digimer

On 31/07/14 11:05 AM, Nelson Hicks wrote:
> I haven't done exactly what you're doing, but it seems like you will
> need to at least detach the local backing device in DRBD before moving
> its partition (I think parted will need all access locks cleared from
> the partition before the move step) and reattach it after moving it.
> DRBD cares about the position of its meta-data relative to the partition
> end, so as long as you keep the partition size the same, I think it will
> reattach without complaint. I have used this procedure to move the
> backing device to another partition of the same size.
>
> Be sure to follow the steps in the DRBD guide for resizing resources
> when you get to the part of the process where you're actually extending
> the size of the partitions. DRBD will need to know that the partition
> size has changed so it can move its meta-data (or the meta-data itself
> may need to be moved manually).
>
> http://www.drbd.org/users-guide/s-resizing.html
> http://www.drbd.org/users-guide-8.3/s-resizing.html
>


-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?



More information about the drbd-user mailing list