1753727 Members
4713 Online
108799 Solutions
New Discussion юеВ

Re: vgcreate problems

 
jamshed
Frequent Advisor

vgcreate problems

How can i fix this problem?
# vgcreate vgu23 /dev/dsk/c14t3d1
Increased the number of physical extents per physical volume to 51199.
vgcreate: Volume group "/dev/vgu23" could not be created:
VGRA for the disk is too big for the specified parameters. Increase the
extent size or decrease max_PVs/max_LVs and try again.
4 REPLIES 4
Ramesh S
Esteemed Contributor

Re: vgcreate problems

Hi

You may need to increase the PE size while creating VG. By default PE size is 4MB.

# vgcreate -s <4/8/16/32/64>

Thanks & Regards

Ramesh
Torsten.
Acclaimed Contributor

Re: vgcreate problems

If you don't specify the values for max_PV and/or max_LV the system will use the default.

You can see, these defaults are too large.

Consider to reduce at least one of them or increase the PE size.

see

http://docs.hp.com/en/B2355-60105/vgcreate.1M.html




If you tell us the output of

diskinfo -v /dev/rdsk/c14t3d1

this will give us more info about the disk size - easier to suggest something.

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!   
jamshed
Frequent Advisor

Re: vgcreate problems

# diskinfo -v /dev/rdsk/c14t3d1
SCSI describe of /dev/rdsk/c14t3d1:
vendor: COMPAQ
product id: HSV110 (C)COMPAQ
type: direct access
size: 209715200 Kbytes
bytes per sector: 512
rev level: 3020
blocks per disk: 419430400
ISO version: 0
ECMA version: 0
ANSI version: 2
removable media: no
response format: 2
(Additional inquiry bytes: (32)38 (33)34 (34)39 (35)41 (36)52 (37)32 (38)30 (
39)30 (40)53 (41)35 (42)38 (43)34 (44)39 (45)41 (46)52 (47)32 (48)30 (49)30 (50)
4a (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)0 (93)0 (94)0 (95)1 (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)19 (124)0 (125)0
(126)0 (127)0 (128)0 (129)2 (130)0 (131)77 (132)fd (133)d0 (134)40 (135)77 (136
)ff (137)4 (138)cc (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)48 (152)53 (153)56 (154)31 (155)31 (156)30 (157)20 (
158)28 (159)43 (160)29 (161)43 (162)4f (163)4d (164)50 (165)41 (166)51 (167)0 (1
68)0 (169)0 (170)14 (171)18 (172)ff (173)ff (174)ff (175)0 (176)0 (177)2 (178)0
(179)0 (180)0 (181)0 (182)0 (183)0 (184)0 (185)0 (186)0 (187)0 (188)0 (189)0 (19
0)0 (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)77 (204)fc (205)c0 (206)28 (207)0 (208)0 (209)0 (210)4 (211)0 (212)
0 (213)0 (214)0 (215)0 (216)0 (217)0 (218)0 (219)0 (220)0 (221)0 (222)dd (223)40
(224)0 (225)18 (226)90 (227)77 (228)fd (229)67 (230)94 (231)0 (232)0 (233)0 (23
4)0 (235)0 (236)0 (237)3a (238)9f (239)c0 (240)20 (241)1a (242)ab (243)0 (244)0
(245)0 (246)0 )
#
Torsten.
Acclaimed Contributor

Re: vgcreate problems

I'm not sure about how much do you already know about LVM, but there are some basics.
If know about them you will understand the problem.

See also

http://docs.hp.com/en/B2355-90950/ch06s01.html#bficdcif


The first physical extends (PE) will hold VG specific data - no user data.
This includes information about the extend and LVOL layout etc. LVM will calculate and reserve space for future added disks too.
This special area (VGRA) is limited to 1 PE.

If the disk is large and the maximum of disks for this VG is large too, 1 PE is just too small to hold all information.

This is the reason of the error you get.

If you specify now a larger size of the PE's, you (your system) will get more space to save this information.

So you should specify the "new" PE size in your command:

# vgcreate -s 8 vgu23 /dev/dsk/c14t3d1


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!