- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- booting with alternate 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
05-02-2002 12:22 PM
05-02-2002 12:22 PM
I am trying to boot with the alternate root disk which is mirrored to the Root disk.When both the disks are present system boots fine with alternate disk as primary boot disk (setboot -p
"I/O error while reading VGDA"
and it reboots again.
I followed the steps below to mirror the root disk
pvcreate -f -B /dev/rdsk/c0t1d0 vgextend /dev/vg00 /dev/dsk/c0t1d0
mkboot /dev/rdsk/c0t1d0
mkboot -a "hpux -lq (;0)/stand/vmunix)" /dev/rdsk/c0t1d0
lvextend -m 1 /dev/vg00/lvol1
lvextend -m 1 /dev/vg00/lvol2
lvextend -m 1 /dev/vg00/lvol3
.
.
.
lvextend -m 1 /dev/vg00/lvol8
lvlnboot -b /dev/vg00/lvol1
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
lvlnboot -r /dev/vg00/lvol3
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 12:24 PM
05-02-2002 12:24 PM
Re: booting with alternate disk
#setboot -a
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 12:27 PM
05-02-2002 12:27 PM
Re: booting with alternate disk
The setboot with -a option is for specifying the alternate boot disk.
Also check and see if you can interrupt the boot process and boot from ISL> hpux -lq
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 12:30 PM
05-02-2002 12:30 PM
Re: booting with alternate disk
# lifcp /dev/rdsk/
===> Check content of AUTO file.
Also I noticed your syntax ..
mkboot -a "hpux -lq (;0)/stand/vmunix)" /dev/rdsk/c0t1d0
The extra ")", I assume it's typo ..
actually this would suffice..
mkboot -a "hpux -lq" /dev/rdsk/c0t1d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 12:32 PM
05-02-2002 12:32 PM
Re: booting with alternate disk
There are few commands to verify that the mirror disk is ok.
1. lvlnboot
make sure both the disks are shown as bootable.
2. lifls disk
Make sure both the disks show the same output.
3. lifcp disk:auto -
Make sure it lists out the AUTO string properly
4. pvdisplay disk
Make sure lvol1 is the first logical volume. To be on safer side, I specify the alternate disk while creating the mirrors like
lvextend -m 1 /dev/vg00/lvol1 alt_disk
5. There is a syntax error in your mkboot command. There is one unnecessary ")".
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 12:35 PM
05-02-2002 12:35 PM
Re: booting with alternate disk
I tried to boot at ISL prompt using hpux -lq (after searching for boot disk using SEA)even then I received the same error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 12:41 PM
05-02-2002 12:41 PM
Re: booting with alternate disk
I would test the following:
1) As there is an I/O error, check for a disk hardware failure ! Check the disk with 'dd' command.
2) After making mirror copy of boot disk, check it with lvlnboot -v command.
3) Check and see whether I can boot in LVM maintenance mode.
4) Booting with only the primary disk. This way you can clarify the problem is with the disk and not with quorum check
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 12:42 PM
05-02-2002 12:42 PM
Re: booting with alternate disk
the extra ")" was type in the mail.I have verified boot string with lifcp and it was "hpux -lq (;0)/stand/vmunix"
I am trying to boot from ISL prompt so I don't think setboot was necessary.
The main error message is "There is I/O error reading VGDA"
Syetem boots from alternate disk when I make it primary using setboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 12:45 PM
05-02-2002 12:45 PM
Re: booting with alternate disk
What's lvlnboot -v gives you..?
Both the disks must be listed for root , boot and swap definitions.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 12:47 PM
05-02-2002 12:47 PM
Re: booting with alternate disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 12:55 PM
05-02-2002 12:55 PM
SolutionAnother thing: The I/O error reading VGDA will be displayed sometimes by the command 'vgchange' during startup and will fail activating the VG if the mirror lvols are not fully synchronized after a system crash.
In this case, you need to apply the latest LVM cumulative patch to the system. Which OS are you running ? For 11.11 it is - PHKL_25778.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 12:56 PM
05-02-2002 12:56 PM
Re: booting with alternate disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 01:08 PM
05-02-2002 01:08 PM
Re: booting with alternate disk
yes..I am running 11.11.Let me apply this patch then try all this excercise all over again.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 01:12 PM
05-02-2002 01:12 PM
Re: booting with alternate disk
Mirroring Process
-----------------
o Assuming c1t2d0 is primary disk and c2t2d0 is the disk to be mirrored.
o Assuming (lvol1=/stand;lvol2=primary swap;lvol3=2ndary swap;lvol4=/;lvol5=/hfs/d1)
# swlist -l bundle| grep -i mirror
=> Make sure you have MirrorUX installed
# pvcreate -f -B /dev/rdsk/c2t2d0
# mkboot -l /dev/rdsk/c2t2d0
=> Create boot track (place boot utilities in boot area), -l means treat device as LVM disk.
# mkboot -a "hpux -lq" /dev/rdsk/c2t2d0
=> Add AUTO file in boot LIF area, "lq" option is to bypass quorum check.
=> Repeat for primary disk (c1t2d0) as well.
# lifcp /dev/rdsk/c2t2d0:AUTO -
=> Check content of AUTO file. Repeat for primary disk (c1t2d0).
# vgextend /dev/vg00 /dev/dsk/c2t2d0
=> Adding disk to root VG.
# pvdisplay -v /dev/dsk/c2t2d0
=> Note of the order of LVs (assuming it's lvol1,lvol2,lvol3,lvol4 & lvol5)
# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t2d0
=> Repeat for lvol2->lvol5
# lvlnboot -r /dev/vg00/lvol4 /dev/vg00
# lvlnboot -b /dev/vg00/lvol1 /dev/vg00
# lvlnboot -s /dev/vg00/lvol2 /dev/vg00
# lvlnboot -d /dev/vg00/lvol2 /dev/vg00
=> Update BDRA (root, boot, swap and dump)
# lvlnboot -v
=> Check to make sure both disks are listed for root, boot and swap definition.
# setboot
=> Display boot path.
# setboot -a 0/0/2/0.2.0
=> Change alternate boot path to mirrored disk.
# shutdown -r -y 0
=> Interrupt upon bootup and select alt path to boot from in order to test.
Installing ODE (Offline Diagnostics)
------------------------------------
# ll /usr/sbin/diag/lif/updatediaglif
=> Make sure the file exist.
# lifls -l /dev/rdsk/c2t2d0
=> List content of LIF dir (should have ISL,AUTO,HPUX,PAD,LABEL).
# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c2t2d0
=> Install ODE LIF files while "protecting" the existing LIF files.
=> Use updatediaglif2 for 11.0 64-bit.
# lifls -l /dev/rdsk/c2t2d0
=> Should now see the additional LIF files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 01:13 PM
05-02-2002 01:13 PM
Re: booting with alternate disk
One more thing: I have experienced this problem with the alternate disk on 10.20 systems, if the sequence of setting boot,swap and root changed ! Also if you have not properly followed the correct syntax/ sequences.
Check the lvol order in root VG with vgdisplay -v and pvdisplay -v. If there are some problems, then reduce the mirror with lvreduce -m 0.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 08:39 AM
05-03-2002 08:39 AM
Re: booting with alternate disk
Once I applied the PHKL_25778 patch,took out the primary boot disk and booted with the alternate,everything went fine.....Just wondering why this Patch is not integrated with the 11.11 Patch Bundle.
Thanks to all who replied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 09:01 AM
05-03-2002 09:01 AM
Re: booting with alternate disk
I am glad that it worked. I think this patch was included in the March bundle.
HTH,
Shiju
NB: how's life there ? where is Manu ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 09:54 AM
05-03-2002 09:54 AM
Re: booting with alternate disk
Life is cool.U can mail me at "tri_ashu@hotmail.com" OR give me u'rs e-mail.
Ashish