Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.