- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mirror root 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
02-25-2004 01:42 AM
02-25-2004 01:42 AM
Logical volume "/dev/vg00/lvol3" has been successfully extended.
lvlnboot: LIF information corrupt or not present on "/dev/dsk/c2t6d0".
Use the "mkboot" command to initialize the LIF area.
lvlnboot: LIF information corrupt or not present on "/dev/dsk/c2t6d0".
Use the "mkboot" command to initialize the LIF area.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
peartree::rbhounsc[37] >
I have done the mkboot command and it was successsful. What am I doing wrong?
Thanks,
Rebecca
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 01:47 AM
02-25-2004 01:47 AM
Re: mirror root disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 01:47 AM
02-25-2004 01:47 AM
Re: mirror root disk
Looks like the PV was not created as bootable using "pvcreate -B /dev/rdsk/cxtydz". Try it. Search the forums for exact procedure. There are quite a few threads on root's mirroring.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 01:54 AM
02-25-2004 01:54 AM
Re: mirror root disk
A complete cookbook:
pvcreate -B /dev/rdsk/c1t0d0 #use real disk
mkboot -l /dev/rdsk/c1t0d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk
# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?
If you are running 64-bit OS:
# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?
vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0
# real disk. repeat for other lvols
lvlnboot -r /dev/vg00/lvol3 # root fs /
lvlnboot -s /dev/vg00/lvol2 #swap
lvlnboot -d /dev/vg00/lvol2 #swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
setboot
setboot -a 52.1.0 # second disk
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 02:12 AM
02-25-2004 02:12 AM
Re: mirror root disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 02:17 AM
02-25-2004 02:17 AM
Re: mirror root disk
# dd if=/dev/rdsk/c2t6d0 of=/dev/null bs=2048k
If it errors out at any point, you got a bad disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 02:22 AM
02-25-2004 02:22 AM
Re: mirror root disk
It could be a bad disk as mentioned by Patrick.
What order are you trying to mirror?. Are you getting this error only if you are mirroring lvol3?. You should have already completed mirroring lvol1 and lvol2. Remember lvol1 should be the first logical volume on the boot disk though this error doesn't necessarily correspond to it.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 04:24 AM
02-25-2004 04:24 AM
Re: mirror root disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 04:25 AM
02-25-2004 04:25 AM
Re: mirror root disk
peartree::rbhounsc[39] > sudo dd if=/dev/rdsk/c2t6d0 of=/dev/null bs=2048k
4339+1 records in
4339+1 records out
peartree::rbhounsc[40] >
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 04:30 AM
02-25-2004 04:30 AM
Re: mirror root disk
If your dd is successful, then I would suggest you to run this step by step. Take out the disk from vg00 after reducing the mirrors on the lvols that got extended already.
Execute all the steps until 'vgextend vg00 /dev/dsk/c2t6d0'. Before extending the logical volumes, do
'lvlnboot -v' and make sure /dev/dsk/c2t6d0 appears as the boot disk. If not, then post the commands you ran.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 04:33 AM
02-25-2004 04:33 AM
Re: mirror root disk
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 04:44 AM
02-25-2004 04:44 AM
Re: mirror root disk
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 04:51 AM
02-25-2004 04:51 AM
SolutionYou might have already run the command "vgextend vg00 /dev/dsk/c2t6d0" to add the disk to vg00. I meant to take it out and start from the scratch. If your intended_to_be_mirror_disk is c2t6d0, then
#pvdisplay -v /dev/dsk/c2t6d0
Note all the logical volumes
#lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c2t6d0
(repeat the above for all the lvs)
#vgreduce vg00 /dev/dsk/c2t6d0
Now run the commands
#pvcreate -f -B /dev/rdsk/c2t6d0
#mkboot -l /dev/rdsk/c2t6d0
#vgextend vg00 /dev/dsk/c2t6d0
#lvlnboot -v
See if it is recognized as a boot disk. If so, then
#mkboot -a "hpux -lq(;0)/stand/vmunix" /dev/rdsk/c2t6d0
And follow the procedure as outlined in SEP's message.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 05:20 AM
02-25-2004 05:20 AM
Re: mirror root disk
Thanks again,
Rebecca
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 05:23 AM
02-25-2004 05:23 AM
Re: mirror root disk
Another tip is to make sure your boot paths are set correctly. 'setboot' will help you.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 05:40 AM
02-25-2004 05:40 AM
Re: mirror root disk
My responses 2,3,4 and 6 do not deserve more than 3 points.
-Sri
PS: 0 points will be appreciated for this. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 11:41 PM
02-25-2004 11:41 PM
Re: mirror root disk
Thanks,
Rebecca