Hello,
I'm currently using Citrix XenServer 6.5 and considering switching to ProxMox (testing it with another physical server).
I'm using a Synology NAS as the iSCSI server. XenServer created LVM over the raw iSCSI for the VM storage. I have cloned the iSCSI target/LUN on the Synology for the Proxmox test.
I tried through to add the existing VG to the new VM I've created but ProxMox insists on creating a new VG. I've searched quite a bit and it seems that https://forum.proxmox.com/threads/adding-existing-logical-volumes-to-the-list-of-virtual-disks.2413/ are still pretty accurate in regards to having to add the volumes manually.
I've changed the VM to reference the lvm I've imported (called zeus-lvm)
and that's correctly defined in /etc/pve/storage.cfg
but not sure what to do at this point? Should I rename the VG to
and add the tag with
?
Here's the lvdisplay of the VG
I'm currently using Citrix XenServer 6.5 and considering switching to ProxMox (testing it with another physical server).
I'm using a Synology NAS as the iSCSI server. XenServer created LVM over the raw iSCSI for the VM storage. I have cloned the iSCSI target/LUN on the Synology for the Proxmox test.
I tried through to add the existing VG to the new VM I've created but ProxMox insists on creating a new VG. I've searched quite a bit and it seems that https://forum.proxmox.com/threads/adding-existing-logical-volumes-to-the-list-of-virtual-disks.2413/ are still pretty accurate in regards to having to add the volumes manually.
I've changed the VM to reference the lvm I've imported (called zeus-lvm)
Code:
# cat /etc/pve/qemu-server/100.conf
balloon: 16384
bootdisk: virtio0
cores: 1
ide2: none,media=cdrom
memory: 1024
name: Zeus
net0: bridge=vmbr0,e1000=3A:63:64:62:33:65,tag=101
net1: bridge=vmbr0,e1000=66:31:35:63:62:32,tag=102
numa: 0
onboot: 1
ostype: l26
smbios1: uuid=36e9388c-35b8-43ab-9fde-84b06c1aa609
sockets: 1
virtio0: zeus-lvm:vm-100-disk-1,size=1023G
and that's correctly defined in /etc/pve/storage.cfg
Code:
# cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content vztmpl,iso,backup
lvmthin: local-lvm
vgname pve
thinpool data
content images,rootdir
iscsi: zeus
portal 172.25.1.2
target zeus-kvm.nasreddine.com:Apollo
content images
lvm: zeus-lvm
vgname VG_XenStorage-b3429418-c2d3-d65e-110c-aa50af836fee
content images,rootdir
but not sure what to do at this point? Should I rename the VG to
Code:
vm-100-disk-1
Code:
lvchange
Here's the lvdisplay of the VG
Code:
--- Logical volume ---
LV Path /dev/VG_XenStorage-b3429418-c2d3-d65e-110c-aa50af836fee/MGT
LV Name MGT
VG Name VG_XenStorage-b3429418-c2d3-d65e-110c-aa50af836fee
LV UUID 4dyggf-12xJ-awyz-M2w6-QTjU-OGU5-6gXSPS
LV Write Access read/write
LV Creation host, time ,
LV Status NOT available
LV Size 4.00 MiB
Current LE 1
Segments 1
Allocation inherit
Read ahead sectors auto
--- Logical volume ---
LV Path /dev/VG_XenStorage-b3429418-c2d3-d65e-110c-aa50af836fee/VHD-e6969dde-f6ce-458d-bddf-4e28460a559d
LV Name VHD-e6969dde-f6ce-458d-bddf-4e28460a559d
VG Name VG_XenStorage-b3429418-c2d3-d65e-110c-aa50af836fee
LV UUID w0wl6q-6cFm-oLmD-sFNY-17x7-lq83-o9diYX
LV Write Access read/write
LV Creation host, time ,
LV Status NOT available
LV Size 1022.00 GiB
Current LE 261632
Segments 1
Allocation inherit
Read ahead sectors auto
--- Logical volume ---
LV Path /dev/VG_XenStorage-b3429418-c2d3-d65e-110c-aa50af836fee/VHD-08078728-c245-4cea-ae44-7cf07e285148
LV Name VHD-08078728-c245-4cea-ae44-7cf07e285148
VG Name VG_XenStorage-b3429418-c2d3-d65e-110c-aa50af836fee
LV UUID dCvv9A-h07e-ZvPD-9PiN-VjnD-Birq-LyEhc2
LV Write Access read/write
LV Creation host, time ,
LV Status NOT available
LV Size 12.00 MiB
Current LE 3
Segments 1
Allocation inherit
Read ahead sectors auto
--- Logical volume ---
LV Path /dev/VG_XenStorage-b3429418-c2d3-d65e-110c-aa50af836fee/VHD-425d01df-f113-4e2a-83ba-def430344666
LV Name VHD-425d01df-f113-4e2a-83ba-def430344666
VG Name VG_XenStorage-b3429418-c2d3-d65e-110c-aa50af836fee
LV UUID 8ScW6U-X3LL-tDeb-BI4v-ctD4-ejsC-6HYDxt
LV Write Access read/write
LV Creation host, time ,
LV Status NOT available
LV Size 12.00 MiB
Current LE 3
Segments 1
Allocation inherit
Read ahead sectors auto
--- Logical volume ---
LV Path /dev/VG_XenStorage-b3429418-c2d3-d65e-110c-aa50af836fee/VHD-629b24fa-86a8-43af-9d44-de31512402ee
LV Name VHD-629b24fa-86a8-43af-9d44-de31512402ee
VG Name VG_XenStorage-b3429418-c2d3-d65e-110c-aa50af836fee
LV UUID PByDaC-h11N-AvS2-yR8S-ZVic-9NvQ-PTdjl3
LV Write Access read/write
LV Creation host, time ,
LV Status NOT available
LV Size 12.00 MiB
Current LE 3
Segments 1
Allocation inherit
Read ahead sectors auto
--- Logical volume ---
LV Path /dev/VG_XenStorage-b3429418-c2d3-d65e-110c-aa50af836fee/VHD-bf10f2c3-39c2-497c-823f-f28325b2fccb
LV Name VHD-bf10f2c3-39c2-497c-823f-f28325b2fccb
VG Name VG_XenStorage-b3429418-c2d3-d65e-110c-aa50af836fee
LV UUID axgtw8-nPEQ-TY0r-p37N-eI7F-FXpK-iXqct0
LV Write Access read/write
LV Creation host, time ,
LV Status NOT available
LV Size 12.00 MiB
Current LE 3
Segments 1
Allocation inherit
Read ahead sectors auto