- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't pvcreate on disk
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-28-2006 05:28 AM
07-28-2006 05:28 AM
I'm trying to mirror vg00 on one of our HP-UX 11.0 systems. Disk c1t2d0 currently holds vg00, and c2t2d0 is unused as far as I can tell. This is an older server whose history I am unfamiliar with.
ioscan -fnc disk shows:
disk 1 0/0/2/0.2.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
# pvdisplay /dev/dsk/c2t2d0
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/c2t2d0" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/c2t2d0".
However, when I try to do a pvcreate -B on it I get:
# pvcreate -B /dev/rdsk/c2t2d0
pvcreate: The physical volume already belongs to a volume group
What am I missing?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2006 05:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2006 05:34 AM
07-28-2006 05:34 AM
Re: Can't pvcreate on disk
# strings /etc/lvmtab | grep c2t2d0
Does c2t2d0 show up?
Also try:
# lvdisplay -v /dev/vgxx/lvolx | head -30
for each logical volume. Does c2t2d0 appear anywhere?
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2006 05:34 AM
07-28-2006 05:34 AM
Re: Can't pvcreate on disk
At one time, the disk was used. Try:
# pvcreate -f -B /dev/rdsk/c2t2d0
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2006 05:39 AM
07-28-2006 05:39 AM
Re: Can't pvcreate on disk
I really just wanted to make sure I wasn't blowing away something actually in use somewhere I couldn't see before I did the pvcreate -fB.
Thanks for the reassurance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2006 05:42 AM
07-28-2006 05:42 AM
Re: Can't pvcreate on disk
# pvcreate -fB /dev/rdsk/c2t2d0
Physical volume "/dev/rdsk/c2t2d0" has been successfully created.
#