[DRBD-user] drbdadm adjust on primary ?

Felix Frank ff at mpexnet.de
Sat Jan 15 00:54:26 CET 2011

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


On 01/14/2011 07:50 PM, netz-haut - stephan seitz wrote:
> Hi there,
>
> I've got a dumb question ...
>
> If a dryrun shows the following output, I'ld better *NOT* execute it for real with live services on top?
>
> root at filer01:~# drbdadm -d adjust all
> drbdsetup 1 detach
> drbdsetup 1 disk /dev/sdb /dev/sdb internal --set-defaults --create-device --no-disk-barrier --no-disk-flushes --no-disk-drain --on-io-error=detach
> drbdsetup 1 disconnect
> drbdsetup 0 syncer --set-defaults --create-device --rate=120M --al-extents=3389
> drbdsetup 1 syncer --set-defaults --create-device --rate=120M --after=0 --al-extents=3389
> drbdsetup 1 net ipv4:192.168.192.1:7789 ipv4:192.168.192.2:7789 C --set-defaults --create-device --max-buffers=8000 --max-epoch-size=8000 --sndbuf-size=512k

Hi,

on their own, neither detach nor disconnect interrupts operation of your 
DRBD. Just be careful not to let both states overlap - that'll leave you 
without data.

What I'm saying is - this *should* work without trouble as far as I can 
see it. If I'm wrong, please anyone correct me soon.

Regards,
Felix



More information about the drbd-user mailing list