[SOLVED] iSCSI to VM

Marcelo Costa

Member
Jun 27, 2017
17
0
6
50
Hi,

I have created the iSCSI LVM on Proxmox and their is added to a VM (101). I created other VM (103) and I want add the iSCSI volume to thir VM.

Can someone help me?

Thanks

Marcelo Costa
Porto Alegre, Brazil
 
I'm not sure what you try to do.
please post the contents of `/etc/pve/storage.cfg` and the config of the vm(s) (`/etc/pve/qemu-server/101.conf` `/etc/pve/qemu-server/103.conf`)
also try to describe where you run into problems (maybe with a screenshot)
 
Hello,

Does works fine!

I have edit the file: "etc/pve/nodes/pveHOST/qemu-server/103.conf" and add the line corresponding to iSCSI disk: "virtio1: Dados-srvArquivos-iSCSI-LVM:vm-101-disk-1,size=1536G,backup=no"

I did restart the PVE Host and after, on the VM (CentOS 7), I indentify the volume with "blkid command" and mount on /etc/fstab.


Thanks for help!

Marcelo Costa
Porto Alegre, Brazil