[SOLVED] Cannot create LVM on iSCSI

pizza

Renowned Member
Nov 7, 2015
96
8
73
I'm using Freenas and Proxmox 5.1 and try to setup iSCSI with LVM, but got stuck at creating LVM-Group on iSCSI (guide: https://proxmox.weebly.com/blog/iscsi-share-on-proxmox-with-freenas-as-storage-solution)

After creating LVM I get this error:

create storage failed: error with cfs lock 'file-storage_cfg': vgcreate vm-storage /dev/disk/by-id/scsi-36589cfc000000f18346a77a5c532ea5c error: Device /dev/disk/by-id/scsi-36589cfc000000f18346a77a5c532ea5c not found (or ignored by filtering). (500)

lsblk shows sde and sdf for iSCI??

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdc 8:32 0 465.8G 0 disk
├─sdc1 8:33 0 1M 0 part
├─sdc2 8:34 0 256M 0 part
└─sdc3 8:35 0 465.5G 0 part
├─pve-swap 253:0 0 8G 0 lvm [SWAP]
├─pve-root 253:1 0 10G 0 lvm /
└─pve-data 253:2 0 447.5G 0 lvm /var/lib/vz
sde 8:64 0 100G 0 disk
sdf 8:80 0 100G 0 disk
sr0 11:0 1 1024M 0 rom
sr1 11:1 1 1024M 0 rom

vgcreate vm-storage /dev/disk/by-id/scsi-36589cfc000000f18346a77a5c532ea5c
WARNING: PV gdw8jW-GOEj-jfFt-3l3O-3WS6-hhwd-KWSJDQ on /dev/sdf was already found on /dev/sde.
WARNING: PV gdw8jW-GOEj-jfFt-3l3O-3WS6-hhwd-KWSJDQ prefers device /dev/sde because device was seen first.
WARNING: PV gdw8jW-GOEj-jfFt-3l3O-3WS6-hhwd-KWSJDQ on /dev/sdf was already found on /dev/sde.
WARNING: PV gdw8jW-GOEj-jfFt-3l3O-3WS6-hhwd-KWSJDQ prefers device /dev/sde because of previous preference.
WARNING: PV gdw8jW-GOEj-jfFt-3l3O-3WS6-hhwd-KWSJDQ on /dev/sdf was already found on /dev/sde.
WARNING: PV gdw8jW-GOEj-jfFt-3l3O-3WS6-hhwd-KWSJDQ prefers device /dev/sde because of previous preference.
Device /dev/disk/by-id/scsi-36589cfc000000f18346a77a5c532ea5c not found (or ignored by filtering).
 
It seems old iSCSI connections where still active after iSCSI storage settings in the GUI where removed.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!