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
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