Yan Seiner wrote:
I have a drbd device that I want to convert back to the underlying md
device. Is there some way to do that in place? Or do I have to move
all of the data off the device and reformat?
And how do I reformat the device to remove all of the drbd info?
i don't think you have to do anything to be able to use the underlying
md device except stopping drbd and unloading the kernel modules. once
drbd is off, you should be able to mount and use any filesystems you
have on the md device without any changes.
i wouldn't bother trying to remove the drbd metadata because it is using
a small portion of the disk. i haven't done it before and it sounds kind
of risky. iirc, it is only a couple megabytes of space for hundreds of
gigabytes of capacity. this is going to gain so little space back i
wouldn't risk it. i would just stop drbd, remove the disks from
drbd.conf, and use the device normally.
mike
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user