- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pvcreate: The physical volume "/dev/dsk/c1t6d0...
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
тАО08-24-2007 05:27 AM
тАО08-24-2007 05:27 AM
I used to have 2 root disks mirrored (c1t6d0 primary boot disk and c2t6d0 alternative boot disk) on a HP 9000 N-4000 server running 11.00. Last week I tried to install new OS 11.23 on c1t6d0 but it was failed. Since my users need this server up, so I boot it up from c2t6d0 disk and tried to mirror c1t6d0 disk again. But I got this error:
njuxdb05 # pvcreate -f /dev/rdsk/c1t6d0
pvcreate: The physical volume "/dev/dsk/c1t6d0" is already recorded in the "/etc/lvmtab" file.
How to fix this so I can mirror c1t6d0 disk? Thank you.
Regards,
Jan Shu
system admin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2007 05:31 AM
тАО08-24-2007 05:31 AM
SolutionNow proceed like after a disk replacement.
see
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
(vgcfgrestore, mkboot, vgsync)
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-24-2007 06:17 AM
тАО08-24-2007 06:17 AM
Re: pvcreate: The physical volume "/dev/dsk/c1t6d0" is already recorded in the "/etc/lvmtab" file
I am still having problem to remove this c1t6d0 disk. I tried the steps in "5. Removing the Disk" but the vgreduce failed again:
njuxdb05 # vgreduce /dev/vg00 /dev/dsk/c1t6d0
vgreduce: Couldn't query physical volume "/dev/dsk/c1t6d0":
The specified path does not correspond to physical volume attached to
this volume group
Please help.
regards,
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2007 06:38 AM
тАО08-24-2007 06:38 AM
Re: pvcreate: The physical volume "/dev/dsk/c1t6d0" is already recorded in the "/etc/lvmtab" file
vgcfgrestore -n vg00 /dev/rdsk/c1t6d0
vgchange -a y vg00
mkboot -l /dev/rdsk/c1t6d0
vgsync vg00&
check with
lvlnboot -v
Do all the lvlnboot commands from the manual.
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-24-2007 06:41 AM
тАО08-24-2007 06:41 AM
Re: pvcreate: The physical volume "/dev/dsk/c1t6d0" is already recorded in the "/etc/lvmtab" file
This is a production oracle db server. If I try to build the mirror on-line, would it cause server crash or reboot?
Thanks.
Regards,
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2007 06:45 AM
тАО08-24-2007 06:45 AM
Re: pvcreate: The physical volume "/dev/dsk/c1t6d0" is already recorded in the "/etc/lvmtab" file
No need to reboot.
Just make sure to run the commands against the correct disk. Refer to the manual.
The OS has still the information about the mirror - restore it.
Check with
vgdisplay -v vg00
strings /etc/lvmtab
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-24-2007 06:34 PM
тАО08-24-2007 06:34 PM
Re: pvcreate: The physical volume "/dev/dsk/c1t6d0" is already recorded in the "/etc/lvmtab" file
root [/root] vgcfgrestore -n /dev/vg00 -l
Volume Group Configuration information in "/etc/lvmconf/vg00.conf"
VG Name /dev/vg00
---- Physical volumes : 2 ----
/dev/rdsk/c0t0d0 (Bootable)
/dev/rdsk/c3t0d0 (Bootable)
Pvchange -a n /dev/dsk/c0t0d0
Replace the disk
Ioscan -fnH path #Make sure path is CLAIMED
Diskinfo /dev/rdsk/c0t0d0 #verify disk
pvcreate ├в B /dev/rdsk/c0t0d0
mkboot /dev/rdsk/c0t0d0
mkboot -b /usr/lib/uxbootlf /dev/dsk/c0t0d0 #If -b option is given, boot programs in the pathname specified by boot_file_path are installed on the given device.
vgcfgrestore -F -n vg00 /dev/rdsk/c0t0d0
Pvchange -a y /dev/dsk/c0t0d0
vgchange -a y vg00
vgsync vg00
lvlnboot -R
for lif_comp in `lifls /dev/dsk/c3t0d0`
do
/usr/bin/lifcp /dev/dsk/c3t0d0:${lif_comp} /dev/dsk/c0t0d0:${lif_comp}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2007 02:25 AM
тАО08-25-2007 02:25 AM
Re: pvcreate: The physical volume "/dev/dsk/c1t6d0" is already recorded in the "/etc/lvmtab" file
Regards,
Jan