Hi,
I have a freenas storage with iSCSI share. I want migrate from xenserver.
In the Proxmox, I have create the iSCSI storage and when I try create the LVM Storage based on the iSCSI, the following message show: "create storage failed: error with cfs lock 'file-storage_cfg': device '/dev/disk/by-id/scsi-36589cfc000000d58f5e3d475d6ad70dc' is already used by volume group 'VG_XenStorage-49faa339-76d0-c8c6-7fdd-2114703b73fe' (500) "
How solve this issue?
help me, please!
Thanks,
Marcelo Costa
I have a freenas storage with iSCSI share. I want migrate from xenserver.
In the Proxmox, I have create the iSCSI storage and when I try create the LVM Storage based on the iSCSI, the following message show: "create storage failed: error with cfs lock 'file-storage_cfg': device '/dev/disk/by-id/scsi-36589cfc000000d58f5e3d475d6ad70dc' is already used by volume group 'VG_XenStorage-49faa339-76d0-c8c6-7fdd-2114703b73fe' (500) "
Code:
root@vmobc-pve01:/mnt# vgdisplay
WARNING: Not using device /dev/sdd for PV 955tEr-0dJG-mLrK-yaGU-0odD-La0N-2fBM8D.
WARNING: PV 955tEr-0dJG-mLrK-yaGU-0odD-La0N-2fBM8D prefers device /dev/sdc because device is used by LV.
--- Volume group ---
VG Name VG_XenStorage-49faa339-76d0-c8c6-7fdd-2114703b73fe
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 6
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size <2.00 TiB
PE Size 4.00 MiB
Total PE 524285
Alloc PE / Size 262659 / 1.00 TiB
Free PE / Size 261626 / <1021.98 GiB
VG UUID pNg1PJ-muSV-A29X-uQoN-maky-MwGN-EqzkQg
Code:
root@vmobc-pve01:~# pvdisplay
WARNING: Not using device /dev/sdd for PV 955tEr-0dJG-mLrK-yaGU-0odD-La0N-2fBM8D.
WARNING: PV 955tEr-0dJG-mLrK-yaGU-0odD-La0N-2fBM8D prefers device /dev/sdc because device is used by LV.
--- Physical volume ---
PV Name /dev/sdc
VG Name VG_XenStorage-49faa339-76d0-c8c6-7fdd-2114703b73fe
PV Size 2.00 TiB / not usable 12.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 524285
Free PE 261626
Allocated PE 262659
PV UUID 955tEr-0dJG-mLrK-yaGU-0odD-La0N-2fBM8D
Code:
root@vmobc-pve01:~# lvdisplay
WARNING: Not using device /dev/sdd for PV 955tEr-0dJG-mLrK-yaGU-0odD-La0N-2fBM8D.
WARNING: PV 955tEr-0dJG-mLrK-yaGU-0odD-La0N-2fBM8D prefers device /dev/sdc because device is used by LV.
--- Logical volume ---
LV Path /dev/VG_XenStorage-49faa339-76d0-c8c6-7fdd-2114703b73fe/MGT
LV Name MGT
VG Name VG_XenStorage-49faa339-76d0-c8c6-7fdd-2114703b73fe
LV UUID 94SCE1-6Cwd-mSkH-3fwN-Ik6c-gRaR-jH1D58
LV Write Access read/write
LV Creation host, time vmobcxenserver01.vmobc.local, 2017-09-11 18:23:18 -0300
LV Status available
# open 0
LV Size 4.00 MiB
Current LE 1
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Path /dev/VG_XenStorage-49faa339-76d0-c8c6-7fdd-2114703b73fe/VHD-bb176be7-e580-4722-afdd-5d9dbe53415b
LV Name VHD-bb176be7-e580-4722-afdd-5d9dbe53415b
VG Name VG_XenStorage-49faa339-76d0-c8c6-7fdd-2114703b73fe
LV UUID 3hwn1F-jF6t-wkXS-QSS0-E8fs-FjRB-dldR35
LV Write Access read/write
LV Creation host, time vmobcxenserver01.vmobc.local, 2017-09-11 18:25:48 -0300
LV Status available
# open 0
LV Size 1.00 TiB
Current LE 262658
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
How solve this issue?
help me, please!
Thanks,
Marcelo Costa
Last edited: