iscsi lvm and /dev and bootup
Harry Hoffman
hhoffman at ip-solutions.net
Mon Nov 3 19:24:52 UTC 2008
Hi,
I'm stuck here...
I've got iscsi running here with two drives on a lefthand networks iscsi
box.
I'm able to successfully login and can see the targets.
I'm using lvm to create physical volumes:
pvcreate external_iscsi /dev/sdb /dev/sdc
I then create a logical volume:
lvcreate -l 1310718 external_iscsi -n srv
and finally create a filesystem:
mkfs.ext3 -m 1 /dev/external_iscsi/srv
All of this works well and I can mount the filesystem just fine.
When I reboot it all goes to hell. I see iscsi logging into the lefthand
box and it reports success.
and if I run vgdisplay I get:
vgdisplay external_iscsi
--- Volume group ---
VG Name external_iscsi
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 2
Act PV 2
VG Size 5.00 TB
PE Size 4.00 MB
Total PE 1310718
Alloc PE / Size 1310718 / 5.00 TB
Free PE / Size 0 / 0
VG UUID vLGcVU-cAj0-Z7Ox-EcYF-bx5e-fMWs-9wGh3t
however, there's no /dev/ entry for /dev/external_iscsi
Can someone tell me what I'm missing?
Cheers,
Harry
More information about the devel
mailing list