[DRBD-user] Fwd: get rid of one volume in resource

Liutauras Adomaitis liutauras.adomaitis at gmail.com
Mon Jun 2 09:48:06 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.


Hi all,

(this is a second attempt to send the message to this list, as 1st one
doesn't appear to be delivered.)

I can't find a correct method to remove a volume from the resource. I have
now:
resource Pirmas {
        volume 0 {
                device    /dev/drbd3;
                disk      /dev/VolGroup1/DRBD-Pirmas-Syst;
                meta-disk internal;
        }
        volume 1 {
                device    /dev/drbd4;
                disk      /dev/VolGroup1/DRBD-Pirmas-Data;
                meta-disk internal;
        }
        volume 2 {
                device    /dev/drbd7;
                disk      /dev/VolGroup1/DRBD-Pirmas-Maildirs;
                meta-disk internal;
        }
        on zirnis.infosaitas.net {
                address   192.168.19.11:7800;
        }
        on hyper02.infosaitas.net {
                address   192.168.19.12:7791;
        }
}

 I want to get rid of volume 1, and, for the sake of aesthetics, rename
volume 2 to volume 1.
drbdadm down and disconnect commands work on whole resource, but not
volumes within them.

Can someone point me to the right direction?

Thanks
Liutauras
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20140602/bb1b6a1d/attachment.htm>


More information about the drbd-user mailing list