Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Florian, thanks for reply!
Below commands outputs, logs from kernel and drbd.conf
root at host22446677:~# cat /proc/drbd
version: 8.0.6 (api:86/proto:86)
SVN Revision: 3048 build by root at develsystem, 2007-11-22 09:32:36
1: cs:StandAlone st:Primary/Unknown ds:UpToDate/DUnknown r---
ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0
act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0
root at host22446677:~# drbdadm connect all
root at host22446677:~# cat /proc/drbd
version: 8.0.6 (api:86/proto:86)
SVN Revision: 3048 build by root at develsystem, 2007-11-22 09:32:36
1: cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate C r---
ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0
act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0
dmesg:
drbd1: conn( StandAlone -> Unconnected )
drbd1: receiver (re)started
drbd1: conn( Unconnected -> WFConnection )
drbd1: conn( WFConnection -> WFReportParams )
drbd1: Handshake successful: DRBD Network Protocol version 86
drbd1: peer( Unknown -> Secondary ) conn( WFReportParams -> WFBitMapS )
pdsk( DUnknown -> UpToDate )
drbd1: Writing meta data super block now.
drbd1: conn( WFBitMapS -> SyncSource ) pdsk( UpToDate -> Inconsistent )
drbd1: Began resync as SyncSource (will sync 0 KB [0 bits set]).
drbd1: Resync done (total 1 sec; paused 0 sec; 0 K/sec)
drbd1: conn( SyncSource -> Connected ) pdsk( Inconsistent -> UpToDate )
drbd1: Writing meta data super block now.
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
root at host22446677:~# drbdadm adjust all
root at host22446677:~# cat /proc/drbd
version: 8.0.6 (api:86/proto:86)
SVN Revision: 3048 build by root at develsystem, 2007-11-22 09:32:36
1: cs:SyncTarget st:Primary/Secondary ds:Inconsistent/UpToDate C r---
ns:0 nr:82080 dw:82080 dr:0 al:0 bm:14 lo:1 pe:762 ua:0 ap:0
[>...................] sync'ed: 4.3% (2015072/2097152)K
finish: 0:02:51 speed: 11,724 (11,724) K/sec
resync: used:2/31 hits:5885 misses:7 starving:0 dirty:0 changed:7
act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0
dmesg:
drbd1: disk( UpToDate -> Diskless )
drbd1: disk( Diskless -> Attaching )
drbd1: Found 4 transactions (14 active extents) in activity log.
drbd1: max_segment_size ( = BIO size ) = 32768
drbd1: reading of bitmap took 0 jiffies
drbd1: recounting of set bits took additional 0 jiffies
drbd1: 0 KB marked out-of-sync by on disk bit-map.
drbd1: Marked additional 52 MB as out-of-sync based on AL.
drbd1: disk( Attaching -> Negotiating )
drbd1: Writing meta data super block now.
drbd1: Writing meta data super block now.
drbd1: writing of bitmap took 2 jiffies
drbd1: 2048 MB marked out-of-sync by on disk bit-map.
drbd1: 2097152 KB now marked out-of-sync by on disk bit-map.
drbd1: Writing meta data super block now.
drbd1: conn( Connected -> WFBitMapT )
drbd1: conn( WFBitMapT -> WFSyncUUID )
drbd1: conn( WFSyncUUID -> SyncTarget ) disk( Negotiating -> Inconsistent )
drbd1: Began resync as SyncTarget (will sync 2097152 KB [524288 bits set]).
drbd1: Writing meta data super block now.
/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";
disk "/dev/vg00/lv0001";
address 192.168.243.11:12001;
meta-disk
"/dev/vg00/lv+meta+ukg-HB31-F9Vw-geZ6-ICsB-jG4M-RZtM6Q"[0];
}
on host22446655 {
device
"/dev/aJw-4LLs-dVEi-MjE7-yjRQ-0NVE-prhNvM_drbd";
disk "/dev/vg00/lv0002";
address 192.168.243.1:12001;
meta-disk
"/dev/vg00/lv+meta+aJw-4LLs-dVEi-MjE7-yjRQ-0NVE-prhNvM"[0];
}
syncer {
rate 40M;
}
disk {
on-io-error detach;
}
}
--
View this message in context: http://www.nabble.com/DRBD8-ADJUST-DISCONNECT-tf4860177.html#a13911879
Sent from the DRBD - User mailing list archive at Nabble.com.