LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-24-2008, 11:31 AM   #1
babel17
LQ Newbie
 
Registered: Nov 2007
Posts: 9

Rep: Reputation: 1
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
 
Old 01-24-2008, 04:09 PM   #2
FragInHell
Member
 
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Ubuntu
Posts: 282

Rep: Reputation: 45
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.
 
Old 01-24-2008, 04:30 PM   #3
FragInHell
Member
 
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Ubuntu
Posts: 282

Rep: Reputation: 45
Try this : vgmknodes
 
Old 01-24-2008, 04:58 PM   #4
babel17
LQ Newbie
 
Registered: Nov 2007
Posts: 9

Original Poster
Rep: Reputation: 1
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.
 
  


Reply

Tags
iscsi, lvm2, rhel5


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing Block Device /dev/hdc1 !?! whishkah Linux - Hardware 2 09-06-2006 09:31 AM
Block device /dev/sda3 is not a valid root device.. rincewind Linux - Hardware 7 06-09-2006 04:47 AM
UL 1.0 GRUB: could not find device for /boot: not found or not a block device cma Linux - General 4 12-12-2005 03:35 AM
LVM and sys/block cantabile Linux - General 0 08-27-2005 10:47 AM
LVM problems, device-mapper missing dworkin Linux - Newbie 3 03-22-2004 04:54 PM


All times are GMT -5. The time now is 10:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration