- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Regarding 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
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
тАО07-14-2006 11:02 PM
тАО07-14-2006 11:02 PM
One of our boot disk had gone bad for which an hp engineer came at our site...after replacing the hdd he entered ;
pvcreate /dev/rdsk/c0t6d0 without entering the -B option he created the physical volumes for our boot-disk....
What problems could we face in future becoz of this option.??? its a PRODUCTION server......THANKS IN advance........
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2006 11:29 PM
тАО07-14-2006 11:29 PM
Re: Regarding pvcreate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2006 11:34 PM
тАО07-14-2006 11:34 PM
Re: Regarding pvcreate
Don't tell me ..its an producn server.....
HP-UX B.11.11 rp8420 .......
we had used mkboot -l /dev/dsk/c0t6d0....
lifls /dev/dsk/c0t6d0 gives
AUTO PAD HPUX LABEL ISL
We havent booted from that disk yet...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2006 11:40 PM
тАО07-14-2006 11:40 PM
Solution1) Initialize the disk and make it bootable
pvcreate -B /dev/rdsk/c1t6d0
Note: the -B parameter tell pvcreate that this will be a
bootable disk.
2) Add the physical volume to the volume group
vgextend /dev/vg01 /dev/dsk/c1t6d0
3) Use mkboot to place the boot utilities in the boot area and add
the AUTO file.
mkboot /dev/dsk/c1t6d0
mkboot -a "hpux -lq" /dev/rdsk/c1t6d0
4) Use mkboot to update the AUTO file on the primary boot
disk.
mkboot -a "hpux -lq" /dev/rdsk/c0t6d0
5) Mirror the stand, root and swap logical volumes
lvextend -m 1 /dev/vg00/lvol1
lvextend -m 1 /dev/vg00/lvol2
lvextend -m 1 /dev/vg00/lvol3
Note: LVM will resynchronize the new mirror copies. This step will
takes several minutes
Repeat the lvextend for all other logical volumes on the boot
mirror.
6) Modify your alternate boot path to point to the mirror copy of the
boot disk.
setboot -a 8/8.6.0 # Use the Hardware path for your new
boot disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2006 11:47 PM
тАО07-14-2006 11:47 PM
Re: Regarding pvcreate
Actually the mirrored boot disk is c0t6do.
we got an alert from ems to change the boot disk.
We decided to change it.
The commands ran by hp engineer at our site as follows;
1] mv lvmtab lvmtab.bck
2]pvcreate /dev/rdsk/c0t6d0
3]mv lvmtab.bck lvmtab
4]pvchange -a n /dev/dsk/c0t6d0
5]vgcfgrestore -n /dev/vg00 /dev/rdsk/c0t6d0
6]pvchange -a y /dev/dsk/c0t6d0
7]vgchange -a y vg00
8]mkboot -l /dev/dsk/c0t6d0
9]lvlnboot ├в R
10]├п lifls /dev/dsk/c0t6d0
ISL AUTO HPUX PAD LABEL
Help me out;;;;;;;;;;;;;;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2006 11:56 PM
тАО07-14-2006 11:56 PM
Re: Regarding pvcreate
Is boot disk mirrored?
lifls -l (on both disks. It should match)
lifcp /dev/rdsk/cxtxdx:AUTO - (on both disks)
What HP engineer did is correct except that I would have also ran vgsync and would have checked it all mirror copies are ok and that there are no stale PEs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2006 12:08 AM
тАО07-15-2006 12:08 AM
Re: Regarding pvcreate
lifls -l is same on both disks.
while lifcp gives;
hp-ux on one disk while
hpux -lq on the other disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2006 12:15 AM
тАО07-15-2006 12:15 AM
Re: Regarding pvcreate
I would also do
mkboot "hpux -lq" /dev/rdsk/cxtxdx (on disk where quorum is not set)
And when you get time, do check if it boots from both disks or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2006 12:23 AM
тАО07-15-2006 12:23 AM
Re: Regarding pvcreate
Both disks are mirrored....
And lvdisplay -v /dev/vg00/lvol* shows both disk status as current.......only....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2006 12:35 AM
тАО07-15-2006 12:35 AM
Re: Regarding pvcreate
But my first question remains unanswered.....
whether my system will boot or not???
if -B option is not used while creating physical volume....