LVM and VxVM
cancel
Showing results for 
Search instead for 
Did you mean: 

could not create volume group 11iv3

 
Highlighted
bitou
Frequent Advisor

could not create volume group 11iv3

hello,

i need to create a volume group for my shared storage:

my steps:

pvcreate /dev/rdsk/c5t0d1

mkdir /dev/vgnew mknod /dev/vgdata/ group c 64 0x010000

vgcreate  /dev/vgdata /dev/dsk/c5t0d1

i received as error the following"

vgcreate: Volume group "/dev/vgdata" could not be created:
Unable to read the physical volume.

i have rp4400 server with 11iv3 OS connected and presented to 4400 EVA.

thanks in advance

hfe


9 REPLIES 9
Highlighted
Stephan.
Honored Contributor

Re: could not create volume group 11iv3

Strings /etc/lvmtab

check if the disk is mentioned.

#mount

check if the disk is mounted as whole disk

# vxdisk list

check if /dev/dsk/c5t0d1 is a vxvm disk

#swapinfo -tam

check if this disk used as swpap

 

If everything is fine do

 

# pvcreate ...

 

check for errors

 

# pvcreate -f ...

 

and try again.

 

*edit*

just saw it ... 

 

mkdir /dev/vgnew

 

mknod /dev/vgdata/ group c 64 0x010000

 

vgcreate  /dev/vgdata

 

This can not work ...

Highlighted
bitou
Frequent Advisor

Re: could not create volume group 11iv3

 

Hello,

thanks for your reply,

the problem is related to the storage, it seems that the physical volume has a problem but until now i didn't know why? and how can we resolve? (as per HP support)

the physical volume is a LUN created on 5000 EVA and presented to rp 4400 server.

from ioscan command i can see two paths to this Vdisk.(it is normal situation)

 

but when i try the command i received the message"unable to read the physical volume"

 

my steps is as follows:

-pvcreate /dev/disk/disk14

-mkdir /dev/vg01

-mknod /dev/vg01/group c 64 0x020000

-vgcreate /dev/vg01 /dev/disk/disk14 ----> error:unable to read the physical volume

any help please?

 

Highlighted
Robert_Jewell
Honored Contributor

Re: could not create volume group 11iv3

Try to read the PV in other ways:

 

# pvdisplay /dev/disk/disk19

 

# ioscan -P health

 

# diskinfo -v /dev/rdisk/disk14

 

# scsimgr inquiry -D /dev/rdisk/disk14

 

# dd if=/dev/rdisk/disk14 of=/dev/null bs=1024k count=1000

   (should take about 10 seconds, give or take)

 

 

-Bob

----------------
Was this helpful? Like this post by giving me a thumbs up below!
Highlighted
bitou
Frequent Advisor

Re: could not create volume group 11iv3

# ioscan -m dsf
Persistent DSF           Legacy DSF(s)
========================================
/dev/rdisk/disk3         /dev/rdsk/c2t0d0
/dev/pt/pt4              /dev/rscsi/c6t0d0
                         /dev/rscsi/c4t0d0
/dev/rdisk/disk4         /dev/rdsk/c2t1d0
/dev/rdisk/disk5         /dev/rdsk/c0t0d0
/dev/rdisk/disk14        /dev/rdsk/c7t0d3
                         /dev/rdsk/c5t0d3
                         /dev/rdsk/c5t0d1
                         /dev/rdsk/c7t0d1
# pvdisplay /dev/disk/disk14
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/disk/disk14" belongs.
pvdisplay: Cannot display physical volume "/dev/disk/disk14".
# ioscan -P health
Class       I  H/W Path       health
======================================
root        0                 N/A
ioa         0  0              N/A
ba          0  0/0            N/A
tty         0  0/0/1/0        N/A
tty         1  0/0/1/1        N/A
OO          0  0/0/2/0        N/A
OO          1  0/0/2/1        N/A
OO          2  0/0/2/2        N/A
sideba      0  0/0/3/0        N/A
ext_bus     0  0/0/3/0.0      online
tgtpath     0  0/0/3/0.0.0x0  online
lunpath     2  0/0/3/0.0.0x0.0x0                                  online
ext_bus     1  0/0/3/0.1      disabled
ba          1  0/1            N/A
ext_bus     2  0/1/1/0        online
tgtpath     1  0/1/1/0.0x0    online
lunpath     0  0/1/1/0.0x0.0x0                                    online
tgtpath     2  0/1/1/0.0x1    online
lunpath     1  0/1/1/0.0x1.0x0                                    online
ext_bus     3  0/1/1/1        online
lan         0  0/1/2/0        online
lan         1  0/1/2/1        offline
ba          2  0/2            N/A
slot        0  0/2/1          N/A
ba          3  0/2/1/0        N/A
lan         2  0/2/1/0/4/0    offline
lan         3  0/2/1/0/4/1    offline
lan         4  0/2/1/0/6/0    offline
lan         5  0/2/1/0/6/1    offline
ba          4  0/4            N/A
slot        1  0/4/1          N/A
slot        2  0/4/2          N/A
lan         6  0/4/2/0        offline
lan         7  0/4/2/1        offline
ba          5  0/5            N/A
slot        3  0/5/1          N/A
lan         8  0/5/1/0        offline
lan         9  0/5/1/1        offline
slot        4  0/5/2          N/A
lan        10  0/5/2/0        online
lan        11  0/5/2/1        offline
ba          6  0/6            N/A
slot        5  0/6/1          N/A
ba          7  0/6/1/0        N/A
fc          0  0/6/1/0/4/0    online
tgtpath     4  0/6/1/0/4/0.0x50001fe100150d18                     online
lunpath     4  0/6/1/0/4/0.0x50001fe100150d18.0x0                 online
lunpath     6  0/6/1/0/4/0.0x50001fe100150d18.0x4001000000000000  online
lunpath    10  0/6/1/0/4/0.0x50001fe100150d18.0x4003000000000000  online
tgtpath     3  0/6/1/0/4/0.0x50001fe100150d1c                     online
lunpath     3  0/6/1/0/4/0.0x50001fe100150d1c.0x0                 online
lunpath     5  0/6/1/0/4/0.0x50001fe100150d1c.0x4001000000000000  online
lunpath     9  0/6/1/0/4/0.0x50001fe100150d1c.0x4003000000000000  online
lan        12  0/6/1/0/6/0    offline
memory      0  8              N/A
ipmi        0  16             N/A
processor   0  128            N/A
processor   1  129            N/A
processor   2  136            N/A
processor   3  137            N/A
esvroot     0  64000/0xfa00   N/A
disk        3  64000/0xfa00/0x0                                   online
disk        4  64000/0xfa00/0x1                                   online
disk        5  64000/0xfa00/0x2                                   online
ctl         4  64000/0xfa00/0x3                                   online
disk       14  64000/0xfa00/0x6                                   online
# diskinfo -v /dev/rdsik/disk14
diskinfo: can't open /dev/rdsik/disk14: No such file or directory
# diskinfo -v /dev/rdisk/disk14
SCSI describe of /dev/rdisk/disk14:
             vendor: HP
         product id: HSV100
               type: direct access
               size: 10485760 Kbytes
   bytes per sector: 512
          rev level: 3110
    blocks per disk: 20971520
        ISO version: 0
       ECMA version: 0
       ANSI version: 2
    removable media: no
    response format: 2
   (Additional inquiry bytes: (32)36 (33)43 (34)35 (35)41 (36)4f (37)51 (38)30 (
39)30 (40)33 (41)36 (42)36 (43)43 (44)35 (45)41 (46)53 (47)31 (48)30 (49)32 (50)
33 (51)0 (52)0 (53)0 (54)0 (55)0 (56)0 (57)0 (58)0 (59)0 (60)0 (61)0 (62)0 (63)0
 (64)0 (65)0 (66)0 (67)0 (68)0 (69)0 (70)0 (71)0 (72)0 (73)0 (74)0 (75)0 (76)0 (
77)0 (78)0 (79)0 (80)0 (81)0 (82)0 (83)0 (84)0 (85)0 (86)0 (87)0 (88)0 (89)0 (90
)0 (91)b0 (92)2 (93)0 (94)0 (95)0 (96)0 (97)0 (98)0 (99)0 (100)0 (101)0 (102)0 (
103)0 (104)0 (105)0 (106)0 (107)0 (108)0 (109)0 (110)0 (111)0 (112)0 (113)0 (114
)0 (115)0 (116)0 (117)0 (118)0 (119)0 (120)0 (121)0 (122)0 (123)0 (124)0 (125)0
(126)0 (127)1 (128)40 (129)0 (130)0 (131)0 (132)0 (133)2 (134)0 (135)0 (136)0 (1
37)0 (138)0 (139)0 (140)0 (141)0 (142)0 (143)0 (144)0 (145)0 (146)0 (147)0 (148)
0 (149)0 (150)0 (151)0 (152)0 (153)0 (154)0 (155)0 (156)0 (157)0 (158)0 (159)0 (
160)a0 (161)0 (162)0 (163)0 (164)0 (165)0 (166)0 (167)0 (168)0 (169)0 (170)0 (17
1)0 (172)0 (173)0 (174)0 (175)0 (176)0 (177)0 (178)0 (179)0 (180)0 (181)0 (182)0
 (183)0 (184)0 (185)0 (186)0 (187)7b (188)3 (189)37 (190)c8 (191)0 (192)0 (193)0
 (194)0 (195)0 (196)0 (197)0 (198)0 (199)0 (200)0 (201)0 (202)0 (203)0 (204)0 (2
05)0 (206)0 (207)0 (208)0 (209)0 (210)0 (211)48 (212)53 (213)56 (214)31 (215)30
(216)30 (217)20 (218)20 (219)20 (220)20 (221)20 (222)20 (223)20 (224)20 (225)20
(226)20 (227)0 (228)0 (229)0 (230)14 (231)0 (232)0 (233)0 (234)0 (235)1 (236)3f
(237)ff (238)ff (239)0 (240)0 (241)0 (242)0 (243)0 (244)0 (245)2 (246)0 )
# dd if=/dev/rdisk/disk14 of=/dev/null bs=1024k count 1000
dd: bad arg count
# dd if=/dev/rdisk/disk14 of=/dev/null bs=1024k count=1000
1000+0 records in
1000+0 records out
#

Highlighted
Aneesh Mohan
Honored Contributor

Re: could not create volume group 11iv3

please confirm you have presented the LUN as rw mode and note in ro mode from EVA..

 

regards,

am

Highlighted
bitou
Frequent Advisor

Re: could not create volume group 11iv3

how can we check this option.

i created a LUN without changing any default value

Highlighted
Robert_Jewell
Honored Contributor

Re: could not create volume group 11iv3

> # pvdisplay /dev/disk/disk14
> pvdisplay: Couldn't find the volume group to which
> physical volume "/dev/disk/disk14" belongs.
> pvdisplay: Cannot display physical volume "/dev/disk/disk14".

 

This is stating that the PV is not configured for LVM.

 

What output do you receive when running the pvcreate command?

 

-Bob

 

 

 

-Bob

----------------
Was this helpful? Like this post by giving me a thumbs up below!
Highlighted
pradeep m
Respected Contributor

Re: could not create volume group 11iv3

Check in syslog if you find any corresponding errors related to that Physical volume.

 

Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details


Torsten.
Acclaimed Contributor

Re: could not create volume group 11iv3

What is the firmware version of your EVA5000???

 

The old active/passice versions are not supported with 11.31!!!


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!