Hi

Same thing happens when I try and start the volume group:

vgchange -a y vg_iscsi -v
  WARNING: PV Tj9uTS-m5QT-10el-boNH-Yu2D-OJBe-GdscSs on /dev/vg_drbd/lv_drbd 
was already found on /dev/drbd0.
  WARNING: PV Tj9uTS-m5QT-10el-boNH-Yu2D-OJBe-GdscSs prefers device 
/dev/vg_drbd/lv_drbd because device is in dm subsystem.
    Activating logical volume vg_iscsi/lv_iscsi_lun0.
    activation/volume_list configuration setting not defined: Checking only 
host tags for vg_iscsi/lv_iscsi_lun0.
    Creating vg_iscsi-lv_iscsi_lun0
    Loading table for vg_iscsi-lv_iscsi_lun0 (253:3).
  device-mapper: reload ioctl on  (253:3) failed: Device or resource busy
    Removing vg_iscsi-lv_iscsi_lun0 (253:3)
    Activated 0 logical volumes in volume group vg_iscsi
  0 logical volume(s) in volume group "vg_iscsi" now active


Regards

Jaco van Niekerk

Office:   011 608 2663  E-mail:  [email protected]
[Desktop]
accepts no liability for the content of this email, or for the consequences of 
any actions taken on the basis of the information provided, unless that 
information is subsequently confirmed in writing. If you are not the intended 
recipient, you are notified that disclosing, copying, distributing or taking 
any action in reliance on the contents of this information is strictly 
prohibited.

Disclaimer added by CodeTwo Exchange Rules 2010
www.codetwo.com<http://www.codetwo.com/?sts=1048>
On 27/08/2018 09:19, Jaco van Niekerk wrote:

Hi

I am receiving the following error when Pacemaker tries to start the LVM 
volume/logical groups:

pcs resource debug-start r_lvm
Operation start for r_lvm (ocf:heartbeat:LVM) returned: 'unknown error' (1)
 >  stdout: volume_list=["centos","vg_drbd"]
 >  stderr:   WARNING: PV Tj9uTS-m5QT-10el-boNH-Yu2D-OJBe-GdscSs prefers device 
 > /dev/vg_drbd/lv_drbd because device is in dm subsystem.
 >  stderr: mkdir: cannot create directory 
 > '/run/systemd/system/resource-agents-deps.target.d': File exists
 >  stderr: INFO: Activating volume group vg_iscsi
 >  stderr: INFO: Reading all physical volumes. This may take a while... Found 
 > volume group "vg_iscsi" using metadata type lvm2 Found volume group "centos" 
 > using metadata type lvm2 Found volume group "vg_drbd" using metadata type 
 > lvm2
 >  stderr: WARNING: PV Tj9uTS-m5QT-10el-boNH-Yu2D-OJBe-GdscSs prefers device 
 > /dev/vg_drbd/lv_drbd because device is in dm subsystem. device-mapper: 
 > reload ioctl on (253:3) failed: Device or resource busy 0 logical volume(s) 
 > in volume group "vg_iscsi" now active


Regards

--

Jaco van Niekerk

Office:   011 608 2663  E-mail:  [email protected]
[Desktop]
accepts no liability for the content of this email, or for the consequences of 
any actions taken on the basis of the information provided, unless that 
information is subsequently confirmed in writing. If you are not the intended 
recipient, you are notified that disclosing, copying, distributing or taking 
any action in reliance on the contents of this information is strictly 
prohibited.

Disclaimer added by CodeTwo Exchange Rules 2010
www.codetwo.com<http://www.codetwo.com/?sts=1048>

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Reply via email to