- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to create volume group
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 09:33 AM
тАО12-04-2008 09:33 AM
[root@shlodb01 /]# vgcreate -p 8 /dev/vgname /dev/disk/disk16
Increased the number of physical extents per physical volume to 3839.
vgcreate: Volume group "/dev/vgname" could not be created:
Unable to read the physical volume.
I get the following message when I use dd to write to the device file.
[root@shlodb01 /]# dd if=/dev/disk/disk16 of=/dev/null count=1 seek=8 bs=1024
1+0 records in
1+0 records out
[root@shlodb01 /]# dd of=/dev/disk/disk16 if=/dev/null count=1 seek=8 bs=1024
0+0 records in
0+0 records out
diskinfo returns this
[root@shlodb01 /]# diskinfo -v /dev/rdisk/disk16
SCSI describe of /dev/rdisk/disk16:
vendor: DGC
product id: CX3-20fWDR5
type: direct access
size: 15728640 Kbytes
bytes per sector: 512
rev level: HP03
blocks per disk: 31457280
ISO version: 0
ECMA version: 0
ANSI version: 4
removable media: no
response format: 2
(Additional inquiry bytes: (32)68 (33)32 (34)20 (35)43 (36)4f (37)4e (38)54 (39)52 (40)4f (41)4c (42)4c (43)45 (44)52 (45)20 (46)30 (47)30 (48)30 (49)20 (50)20 (51)0 (52)0 (53)0 (54)3c (55)2 (56)60 (57)1 (58)9c (59)8 (60)c0 (61)13 (62)40 (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)2 (92)1 (93)0 (94)0 (95)31 (96)39 (97)30 (98)31 (99)31 (100)30 (101)30 (102)30 (103)39 (104)36 (105)0 (106)0 (107)0 (108)1f (109)30 (110)8f (111)0 (112)1f (113)30 (114)bf (115)0 (116)0 (117)0 (118)0 (119)0 (120)0 (121)0 (122)0 )
According to the documentation I needed to make sure that the EMC LUN is configured to allow write cache. This has been done.
What am I missing? What else do I need to check?
Thanks,
I will award points.
Keith
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 09:34 AM
тАО12-04-2008 09:34 AM
Re: Unable to create volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 09:56 AM
тАО12-04-2008 09:56 AM
Re: Unable to create volume group
what is the output of pvcreate dev/disk/disk16, and pvcreate -f dev/disk/disk16.
Whether the pv is created without any errors.
The dd output gives confirmed result that , the disk is fine.
>According to the documentation I needed to make sure that the EMC LUN is configured to allow write cache. This has been done
better to confirm that.
Thanks,
Analyst.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 11:08 AM
тАО12-04-2008 11:08 AM
Re: Unable to create volume group
[root@shlodb01 /]# dd if=/dev/disk/disk16 of=/dev/null count=1 seek=8 bs=102
dd read error: I/O error
0+0 records in
0+0 records out
pvcreate works fine.
[root@shlodb01 /]# pvcreate /dev/rdisk/disk16
Physical volume "/dev/rdisk/disk16" has been successfully created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 11:22 AM
тАО12-04-2008 11:22 AM
Re: Unable to create volume group
Now pvcreate is working fine .
Then carryon your vgcreation activities , incase of any errors we can solve it.
if not we will look the dd error.
Thanks,
Analyst.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 12:20 PM
тАО12-04-2008 12:20 PM
SolutionYou need to read the manual before trying to create VG.
example of vgcreate command
##vgcreate -V 2.0 -s 16 -S 2t /dev/vg01 /dev/disk/disk16
now vgcreate command takes care of the
mkdir /dev/vgxx and mknod command itself.
do #ioscan -m dsf to check the device file
and man vgcreate on your hp-ux 11.31 box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 12:42 PM
тАО12-04-2008 12:42 PM
Re: Unable to create volume group
Please read the error mesg carefully
root@shlodb01 /]# vgcreate -p 8 /dev/vgname /dev/disk/disk16
Increased the number of physical extents per physical volume to 3839.
vgcreate: Volume group "/dev/vgname" could not be created:
It is complaining abount number of physical extent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 02:28 PM
тАО12-04-2008 02:28 PM
Re: Unable to create volume group
Thanks all who helped.
[root@shlodb01 /]# vgcreate -V 2.0 -s 8 -S 2t /dev/vg01 /dev/disk/disk24 /dev/disk/disk25 /dev/disk/disk26 /dev/disk/disk27
Volume group "/dev/vg01" has been successfully created.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 11:57 PM
тАО12-04-2008 11:57 PM
Re: Unable to create volume group
Try to do the same using the -s parameter:
vgcreate -p 8 -s 16 /dev/vgname /dev/disk/disk16
By default pe_size is 4MB but you can change it to a power of 2 (1, 2, 4, 8, 16, 32....)
Hope it helps.