You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@node51:~# cat /etc/drbd.d/r0.res
resource "r0" {
device minor 1;
disk "/dev/sdb";
meta-disk /dev/sdc;
on "node51" {
address 192.168.72.51:7789;
}
on "node52" {
address 192.168.72.52:7789;
}
}
It will failed for drbdadm up r0 command,if i mount /dev/sdb to /var/lib/docker
root@node51:~# drbdadm create-md r0
initializing activity log
initializing bitmap (32 KB) to all zero
Writing meta data...
New drbd meta data block successfully created.
success
root@node51:~#
root@node51:~# drbdadm up r0
1: Failure: (104) Can not open backing device.
Command 'drbdsetup-84 attach 1 /dev/sdb /dev/sdc flexible' terminated with exit code 10
root@node51:~#
but if i umount /var/lib/docker,it will success
root@node51:~# umount /var/lib/docker
root@node51:~#
root@node51:~#
root@node51:~# drbdadm up r0
root@node51:~#
The text was updated successfully, but these errors were encountered:
If i have a disk used for a long time, so it have data and mounted.
is it possible setup a drbd replication for /dev/sdb, i have test, but it failed.
version info
disk info
drbd config
It will failed for
drbdadm up r0
command,if i mount /dev/sdb to /var/lib/dockerbut if i umount /var/lib/docker,it will success
The text was updated successfully, but these errors were encountered: