Re: [DRBD-user] [PATCH] xen-blkback: Switch to closed state after releasing the backing device

2018-09-05 Thread Valentin Vidic
On Wed, Sep 05, 2018 at 12:36:49PM +0200, Roger Pau Monné wrote: > On Wed, Aug 29, 2018 at 08:52:14AM +0200, Valentin Vidic wrote: > > Switching to closed state earlier can cause the block-drbd > > script to fail with 'Device is held open by someone': > > > > root: /etc/xen/scripts/block-drbd: rem

Re: [DRBD-user] [PATCH] xen-blkback: Switch to closed state after releasing the backing device

2018-09-05 Thread Valentin Vidic
On Wed, Sep 05, 2018 at 01:35:15PM +0200, Valentin Vidic wrote: > > AFAICT, this will cause the backend to never switch to 'Closed' state > > until the toolstack sets online to 0, which is not good IMO. > > > > If for example a frontend decides to close a device, the backend will > > stay in state

Re: [DRBD-user] linstor controller vm in HA on proxmox: missing links in /dev/drbd/by-res after boot

2018-09-05 Thread Roberto Resoli
Il 05/09/2018 16:03, Roland Kammerer ha scritto: On Wed, Sep 05, 2018 at 03:35:44PM +0200, Roberto Resoli wrote: Il 05/09/2018 09:58, Roberto Resoli ha scritto: [Unit] After= After=network-online.target drbd.service A correction: according to man 5 systemd.unit : "Note that dependencies (After

Re: [DRBD-user] linstor controller vm in HA on proxmox: missing links in /dev/drbd/by-res after boot

2018-09-05 Thread Roland Kammerer
On Wed, Sep 05, 2018 at 03:35:44PM +0200, Roberto Resoli wrote: > Il 05/09/2018 09:58, Roberto Resoli ha scritto: > > > > [Unit] > > After= > > After=network-online.target drbd.service > > A correction: according to > man 5 systemd.unit : > "Note that dependencies (After=, etc.) cannot be reset t

Re: [DRBD-user] linstor controller vm in HA on proxmox: missing links in /dev/drbd/by-res after boot

2018-09-05 Thread Roberto Resoli
Il 05/09/2018 09:58, Roberto Resoli ha scritto: [Unit] After= After=network-online.target drbd.service A correction: according to man 5 systemd.unit : "Note that dependencies (After=, etc.) cannot be reset to an empty list, so dependencies can only be added in drop-ins. If you want to remove

[DRBD-user] linstor controller vm in HA on proxmox: missing links in /dev/drbd/by-res after boot

2018-09-05 Thread Roberto Resoli
Hello, I am currently testing HA linstor controller vm as explained in: https://docs.linbit.com/docs/users-guide-9.0/#s-proxmox-ls-HA As recommennded, I enabled the drbd service (and set the --keep-res flag in linstor-satellite startup) in in order to have the controller vm storage resource