- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgcreate not working
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
Forums
Discussions
Discussions
Discussions
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
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
07-19-2004 05:46 AM
07-19-2004 05:46 AM
vgcreate: Physical Volume "/dev/dsk/c20t0d0" contains no LVM information
What is this telling me? What did I do wrong?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 06:03 AM
07-19-2004 06:03 AM
Re: vgcreate not working
Re-check your pvcreate command. Did you specify the right device?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 06:03 AM
07-19-2004 06:03 AM
Re: vgcreate not working
forgot pvcreate on the disk?
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 06:05 AM
07-19-2004 06:05 AM
Solutionmkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgcreate -s 8 /dev/vg01 /dev/dsk/
Make sure you use raw device file with pvcreate.
Double check that you used the correct minor number with mknod.
Do you see the disk when you run "ioscan -fnC disk"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 06:05 AM
07-19-2004 06:05 AM
Re: vgcreate not working
Make sure it's not in a volumegroup:
strings /etc/lvmtab |grep c20t0d0
Anything from:
diskinfo /dev/rdsk/c20t0d0
Create it again:
pvcreate -f /dev/rdsk/c20t0d0
pvdisplay /dev/dsk/c20t0d0
Then try the vgcreate again...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 06:18 AM
07-19-2004 06:18 AM
Re: vgcreate not working
My vgmax on one box is 255 the absolute max, and one is 86 each to the system needs...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 06:28 AM
07-19-2004 06:28 AM
Re: vgcreate not working
What does
diskinfo /dev/rdsk/c20t0d0
return?
Did you use -f on the pvcreate command. If it ever had LVM or even VxVM info on it you have to "force" the pvcreate. It's a safety factor in case you specify the wrong PV in the pvcreate command.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 06:28 AM
07-19-2004 06:28 AM
Re: vgcreate not working
Also, make doubly sure your disk is visible and check for NO_HW in an ioscan...
Use diskinfo
I set mine to 255 as a default... I believe the REAL default is something like 64 vgs...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 02:17 AM
07-20-2004 02:17 AM
Re: vgcreate not working
So lets look at something else....
Run "ls -l /dev/vg*/group"
You get all of the group files. Are any of # in the 0x0#0000 columns the same? They shouldn't be. You probably already know this. But still...I got stuck once because I inadvertantly tried to use the same number for a volume I was importing.
0x030000 Dec 16 2001 /dev/vgssd5/group
steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 02:44 AM
07-20-2004 02:44 AM
Re: vgcreate not working
no idea if the problem is still present or if you are still watching this thread.
Just an addtl. note... if vgcreate reports "contains no LVM information" then this is typically the absolute truth.
So you should have a closer look at your pvcreate command. Take care... I remember situations where pvcreate failed without reporting an error message.
A sucsessful pvcreate always prints the message:
'Physical volume "%s" has been successfully created.'
Otherwise something is wrong... typically the disk has some kind of problem.
Best regards...
Dietmar.