- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Boot disk mirror problem
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
03-29-2004 03:26 AM
03-29-2004 03:26 AM
Boot disk mirror problem
simple question: i have to mirror a boot disk.
No problem with all the procedure but at the setboot command, the hw path is written in an inconsistent way.
I mean that with setboot command i do the folloqing:
spare2:/# setboot -a 2/0/10/0/0/4/1.8.0
spare2:/# setboot
Primary bootpath : 2/0/3/0/0/4/1.8.0
Alternate bootpath : 2/0/10/0/0.4.1.8.0.0.0
the first command refer to an hw path different from the one showed in the second command.
Booting form the alternate disk causes server to crash.
Any idea?
Thanks and regards
RV
Procedure used:
- pvcreate -B mirror_disk
- vgextend vg00 mirror_disk
- mkboot -l mirrir_disk
- mkboot -a "hpux -lq (;0)/stand/vmunix" mirror_disk
- mkboot -a "hpux -lq (;0)/stand/vmunix" primary_disk
lvextend (form 1 to the last LV)
- lvlnboot -Rv /dev/vg00
- setboot -a hw_path_mirror_disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 03:32 AM
03-29-2004 03:32 AM
Re: Boot disk mirror problem
On PDC prompt, can you do sea ipl and get both disks?
What is the output of lvlnboot -v
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 04:02 AM
03-29-2004 04:02 AM
Re: Boot disk mirror problem
spare2:/# lifls -l /dev/dsk/c17t8d0
volume ISL10 data size 7984 directory size 8 02/05/10 16:25:44
filename type start size implement created
===============================================================
ISL -12800 584 306 0 02/05/10 16:25:44
AUTO -12289 896 1 0 02/05/10 16:25:44
HPUX -12928 904 848 0 02/05/10 16:25:44
PAD -12290 1752 1580 0 02/05/10 16:25:45
LABEL BIN 3336 8 0 04/03/25 05:57:01
spare2:/# lifls -l /dev/dsk/c23t8d0
volume ISL10 data size 7984 directory size 8 02/05/10 16:25:44
filename type start size implement created
===============================================================
ISL -12800 584 306 0 02/05/10 16:25:44
AUTO -12289 896 1 0 02/05/10 16:25:44
HPUX -12928 904 848 0 02/05/10 16:25:44
PAD -12290 1752 1580 0 02/05/10 16:25:45
LABEL BIN 3336 8 0 04/03/29 07:04:53
spare2:/# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c17t8d0 (2/0/3/0/0/4/1.8.0) -- Boot Disk
/dev/dsk/c23t8d0 (2/0/10/0/0/4/1.8.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c17t8d0
/dev/dsk/c23t8d0
Root: lvol3 on: /dev/dsk/c17t8d0
/dev/dsk/c23t8d0
Swap: lvol2 on: /dev/dsk/c17t8d0
/dev/dsk/c23t8d0
Dump: lvol2 on: /dev/dsk/c17t8d0, 0
Hope it helps
RV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 04:12 AM
03-29-2004 04:12 AM
Re: Boot disk mirror problem
Can you repaet the procedure? For you ready reference..
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
Then try setboot
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 04:14 AM
03-29-2004 04:14 AM
Re: Boot disk mirror problem
here is your lvlnboot output...
dev/dsk/c23t8d0 (2/0/10/0/0/4/1.8.0) -- Boot Disk
Here is your setboot command:
spare2:/# setboot -a 2/0/10/0/0/4/1.8.0
spare2:/# setboot
Primary bootpath : 2/0/3/0/0/4/1.8.0
Alternate bootpath : 2/0/10/0/0.4.1.8.0.0.0
It looks like a typo of somekind in your setboot command. Your output of the "setboot" command is wonky somehow. b/c your path is messed up, there should be 2 more dashes in the output where there are dots.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 04:23 AM
03-29-2004 04:23 AM
Re: Boot disk mirror problem
it seems a typo problem.
Infact the procedure is right (at least i think); the lvlnboot command shows the expected output, but setboot does not.
In PDC i cannot find the alternate boot: i find a different path that causes the server to crash.
RV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 04:41 AM
03-29-2004 04:41 AM
Re: Boot disk mirror problem
On this alternate disk, can you do:
pvdisplay -v /dev/dsk/cxtxdx
diskinfo -v /dev/dsk/cxtxdx
If not, you might need to remove and add the disk again to correct any errors.
also, you said you cant sea for the device... You may have not defined it properly as a bootable disk.
After you are sure the disk is in vg00...this is on 32bit 11.x
mkboot /dev/rdsk/c4t6d0
mkboot -a "hpux -lq" /dev/rdsk/c4t6d0
lifcp /dev/dsk/c4t6d0:AUTO
mkboot -b updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c4t6d0
mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c4t6d0
vgcfgrestore -n /dev/vg00 /dev/rdsk/c4t6d0
vgchange -a y /dev/vg00
vgsync /dev/vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 10:12 PM
04-01-2004 10:12 PM
Re: Boot disk mirror problem
if u query sea ipl,
what is the output r u getting....
check what is the HARDWARE path of the alternate hdd.
change the PATH - Surely it will solve ur problem.
Could u plz give the output of
*) sea
*) sea ipl
*) ioscan -fnCu disk
expecting ur reply
sure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 10:17 PM
04-01-2004 10:17 PM
Re: Boot disk mirror problem
the problem has been solved.
The real problem was the sub-OS layer (Virtual Partition).
The Virtual partition with the problem had the LBA with the disk assigned, but not the disk.
I had to assign also the disk and thus setboot worked correctly.
Roberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2004 02:22 AM
04-02-2004 02:22 AM
Re: Boot disk mirror problem
You had a good lesson in that... reminds us all to watch what h/w belongs to the proper vpar/npar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2004 11:00 PM
04-04-2004 11:00 PM
Re: Boot disk mirror problem
it is true that you must assign resources to Vpar: i did it assigning the LBA of both primary and alternate boot disk.
When Vpar was up and running both disks were available: i added the alternate boot disk into vg00, i mirrored all the world but settboot command did'nt work properly.
The workaround was assigning the alternate boot disks explicitely to that Vpar (i modified it also in order to be ALTBOOT): this should not be required by Vpar..
anyway it worked!
RV