- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pvcreate command gives unexpected reply
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
08-17-2007 01:06 AM
08-17-2007 01:06 AM
hot swappable.
We see the disk with ioscan -fnC disk.
and with diskinfo .
But when we do
[root@orasrv1:]/etc<>>> pvcreate -f -B /dev/rdsk/c2t6d0
pvcreate: The physical volume "/dev/dsk/c2t6d0" is already recorded in the "/etc/lvmtab" file.
[root@orasrv1:]/etc<>>>
That is true , it is in the /etc/lvmtab,
why does that stop the command from doing its job. Especially when it is forced -f.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2007 01:12 AM
08-17-2007 01:12 AM
Re: pvcreate command gives unexpected reply
Have you changed a mirrored disk, based on the precious threads?
What is the status of vgdisplay -v vgxx?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2007 01:13 AM
08-17-2007 01:13 AM
Re: pvcreate command gives unexpected reply
You should first vgreduce this disk, then pvcreate it and add it to a VG.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2007 01:15 AM
08-17-2007 01:15 AM
Re: pvcreate command gives unexpected reply
lvreduce -m 0 -f /dev/vg00/lvolx /dev/dsk/c2t6d0
vgremove -f /dev/dsk/c2t6d0
Remirror your volumegroup vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2007 01:16 AM
08-17-2007 01:16 AM
SolutionSince you are attempting to do a pvcreate with the '-B' to create the boot area, I'll assume that this is a root / boot / VG00 disk.
Have a look at this document, specifically chapter 6 for replacing a disk:
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2007 01:19 AM
08-17-2007 01:19 AM
Re: pvcreate command gives unexpected reply
Apparently this /dev/dskc2t6d0 belongs to one of the vgs
Did you try
#strings /etc/lvmtab to check ?
#mv /etc/lvmtab /etc/lvmtab.old
#vgscan -v
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2007 02:01 AM
08-17-2007 02:01 AM
Re: pvcreate command gives unexpected reply
the Step 3 of your doc in chapt 6 with vgcfgrestore and vgchange did the job.
(No need to do the other commands)
vgscan would have f***up my lvmtab.
(try vgscan -p -v first to view what will happen)