Marc;
Though not a normal contributor along these lines, just dropping that
you need to vgchange -an VG1 and when on secondary promoted finally
vgchange -ay VG1. you can find open files using lsof and my common
mistake is to be in a shell with in the lv hosted by the vg .
see man vgchange and man lsof for syntax-
cheers and happy new year
On 12/28/2015 10:27 PM, Marc Ballat wrote:
Hi,
0. I have two hosts running debian jessie from /dev/sdb.
1. I followed the user guide and created a drbd resource directly on a
partition (/dev/sda1).
2. On top of my resource (/dev/drbd2), I created a LVM volume group
(VG1) and a logical volume (data2). I created an ext4 filesystem on
data2.
Step 1 was done on two hosts (proxmox2, primary and proxmox3, secondary).
Step 2 was replicated by drbd from proxmox2 to proxmox3 with the
exception that the entries under /dev were not (/dev/VG1 and
/dev/mapper/VG1-data2).
While fiddling and trying to find a way to create the entries under
/dev on proxmox3, I tried to demote proxmox2:data2 from primary to
secondary but it complains that
root@proxmox2:# drbdadm secondary data2
data2: State change failed: (-12) Device is held open by someone
Command 'drbdsetup secondary data2' terminated with exit code 11
The user-guide covers the early steps but ignores the complications.
I am new to drbd but I'd be willing to contribute to a more complete
user guide if I manage to finish my configuration ;-)
Cheers.
Marc
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user