[DRBD-user] Remove device

Isaac González igonzalez at es.clara.net
Wed Mar 18 15:44:34 CET 2009

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


Hi,

It's possible to remove a device from /dev/drbdXX. We've several devices
and we need a setup where we can delete and activate drbd devices
without confussion?. For example:

xen-domU-1 --> drbd1
xen-domU-2 --> drbd2

If we do:

drbdadm down drbdX and remove the drbdX configuration part and we reload
the drbd service we get this:

3: cs:Unconfigured
4: cs:Unconfigured

and we also have the drbd device in /dev/ directory, we want to delete
de drbd1 from /dev.

brw-rw---- 1 root disk 147, 0 2009-03-18 15:34 /dev/drbd0
brw-rw---- 1 root disk 147, 1 2009-03-18 15:34 /dev/drbd1
brw-rw---- 1 root disk 147, 2 2009-03-18 15:34 /dev/drbd2
brw-rw---- 1 root disk 147, 3 2009-03-18 15:41 /dev/drbd3
brw-rw---- 1 root disk 147, 4 2009-03-18 15:41 /dev/drbd4

Do you know some workaround?

Thanks in advance.




More information about the drbd-user mailing list