[DRBD-user] DRBD8 ADJUST&DISCONNECT

Florian Haas florian.haas at linbit.com
Fri Nov 23 14:46:41 CET 2007

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


On Friday 23 November 2007 13:59:14 yataman wrote:
> root at host22446677:~# drbdadm adjust all -d
> drbdsetup /dev/ukg-HB31-F9Vw-geZ6-ICsB-jG4M-RZtM6Q_drbd detach
> drbdsetup /dev/ukg-HB31-F9Vw-geZ6-ICsB-jG4M-RZtM6Q_drbd disk
> /dev/vg00/lv0001 /dev/vg00/lv+meta+ukg-HB31-F9Vw-geZ6-ICsB-jG4M-RZtM6Q 0
> --set-defaults --create-device --on-io-error=detach

Now wait a minute. Did you just change your backing disk? 

>
> /etc/drbd.conf
>
> global {
>         disable-ip-verification;
>         usage-count no;
> }
>
> resource "ukg-HB31-F9Vw-geZ6-ICsB-jG4M-RZtM6Q" {
>         protocol                C;
>
>         on host22446677 {
>                 device
> "/dev/ukg-HB31-F9Vw-geZ6-ICsB-jG4M-RZtM6Q_drbd";

I am assuming that path does point to a block device with a major number of 
147. Or is a symlink to one. Otherwise, you'd be in real deep trouble. :-)

Cheers,
Florian

-- 
: Florian G. Haas
: LINBIT Information Technologies GmbH
: Vivenotgasse 48, A-1120 Vienna, Austria



More information about the drbd-user mailing list