missing LVM block device on RHEL50
I've created a Logical Volume on an iSCSI disk, but I cannot format it because the block does not appear to have been created. Anyone got any clues? Prior to creating the LV, I was able to directly partition and format /dev/sdb. I know that LVM starts before iscsi, so I'm guessing that the problem is that /dev/sdb isn't present when the block device creation occurs and thus /dev/VGiSCSI doesn't get created.
Here is the relevant output: [tule]cae# pvdisplay --- Physical volume --- PV Name /dev/sdb VG Name VGiSCSI PV Size 1000.00 GB / not usable 1.00 GB Allocatable yes (but full) PE Size (KByte) 1048576 Total PE 999 Free PE 0 Allocated PE 999 PV UUID EM7Kea-p0zJ-ymxU-7fvR-X3R2-g3sv-egSGJM [tule]cae# vgdisplay --- Volume group --- VG Name VGiSCSI System ID Format lvm2 Metadata Areas 1 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 1 Act PV 1 VG Size 999.00 GB PE Size 1.00 GB Total PE 999 Alloc PE / Size 999 / 999.00 GB Free PE / Size 0 / 0 VG UUID IerI8S-ohO4-KH4L-20v0-6YF8-fGnw-2XWOPK [tule]cae# lvdisplay --- Logical volume --- LV Name /dev/VGiSCSI/LV0 VG Name VGiSCSI LV UUID 9PpVZ9-6jWj-H1ds-DiD2-RBWR-QBWh-AgA44v LV Write Access read/write LV Status NOT available LV Size 999.00 GB Current LE 999 Segments 1 Allocation inherit Read ahead sectors 0 [tule]cae# ls /dev/V* ls: /dev/V*: No such file or directory Grazzie Brian |
Dont know if this would help but you could de-activate the volume group and then re-activate it, see vgchange. I think that vgchange creates the /dev entries as it detects the volume groups.
|
Try this : vgmknodes
|
FragInHell gets the bump:
[tule]~# modprobe dm-mod [tule]~# vgchange -ay 1 logical volume(s) in volume group "VGiSCSI" now active [tule]~# ls /dev/V* LV0@ I was following the official RedHat documentation on this, and they've evidently left bits out. |
All times are GMT -5. The time now is 03:11 AM. |