- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to pvcreate
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
01-12-2002 07:51 PM
01-12-2002 07:51 PM
I have a new test/training server for my department.
It is quite an old box with 9 2gig disks on there. Previously the disks were populated with data on vg's 00, 01 and 02. I have taken an ignite from our old server and run it on this m/c. I now only have vg00 as expected. If i look at lvmtab it confirms this
s. When i attempt to do a pvcreate -f /dev/rdisk /c0t2d0
I get the message
Couldn't stat physical volume "/dev/rdisk/c0t2d0":
pvcreate: Couldn't open physical volume "/dev/rdisk/c0t2d0":
No such file or directory
If i remove lvmtab and perform a vgscan -a, i get the message
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c0t2d0
/dev/dsk/c0t3d0
I cannot do a pvdisplay , as i get the message
pvdisplay: Couldn't find the volume group to which physical volume "/dev/dsk/c0t2d0" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/c0t2d0".
Anyone?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2002 07:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2002 08:09 PM
01-12-2002 08:09 PM
Re: Unable to pvcreate
Whoops,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2002 08:15 PM
01-12-2002 08:15 PM
Re: Unable to pvcreate
If you had data on those disks and if you want to retrive it, you SHOULD NOT be doing a pvcreate on them.
You need to use vgimport on those disks to get the previous logical volumes back.
#mkdir /dev/vg01
#mknod /dev/vg01/group 0x010000
#vgimport -v vg01 /dev/dsk/c0t2d0 /dev/dsk/c0t3d0
#vgchange -a y vg01
Now you can mount the logical volumes that appear under /dev/vg01 directory.
Repeat the same process for other disks also. You need to know what disks belong to what volume groups.
If you don't need the data and if you want o create *NEW* volume groups and filesystems then you can do a pvcreate -f as suggested by Shiju.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2002 08:26 PM
01-12-2002 08:26 PM
Re: Unable to pvcreate
I have data from our old server that I am going to be recovering onto these disks
Thanks