Can't create LVM

Antonino89

Member
Jul 13, 2017
76
1
6
35
Hi guys,

I configured from the beginning the shared storage iscsi i deleted everything but when i'm going to create an LVM on top of a shared storage i get this:


create storage failed: vgcreate lvm0 /dev/disk/by-id/scsi-1FREEBSD_MYDEVID_0 error: A volume group called lvm0 already exists. (500)

but in my storage.conf there isn't any LVM0. (There was but maybe i need to flush some other config file?)

root@Server1:/etc/pve# more storage.cfg

dir: local

path /var/lib/vz

content iso,vztmpl,backup


lvmthin: local-lvm

thinpool data

vgname pve

content images,rootdir


iscsi: Shared0

portal 192.168.100.14

target iqn.2012-06.com.0:target0

content none


iscsi: Shared1

portal 192.168.100.14

target iqn.2012-06.com.1:target1

content none

root@Server1:/etc/pve# pvesm status

/dev/sdc: open failed: No such device or address

/dev/sdb: open failed: No such device or address

/dev/sdc: open failed: No such device or address

/dev/sdb: open failed: No such device or address

Shared0 iscsi 1 0 0 0 100.00%

Shared1 iscsi 1 0 0 0 100.00%

local dir 1 32638752 12281828 18675928 40.17%

local-lvm lvmthin 1 76677120 0 76677120 0.50%


root@Server1:/etc/pve# pvesm lvmscan


/dev/sdc: open failed: No such device or address

/dev/sdb: open failed: No such device or address

pve

lvm0 <--------

lvm1 <--------



Any suggestions?

Thanks
 

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!