- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Boot off mirror
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-19-2000 12:24 PM
тАО08-19-2000 12:24 PM
Boot off mirror
"Can't find default file BOOT_TC".
Strange.
I recreated the mirror. After reducing the root vg, I did a dd to overwrite the LIF area on the mirror disk (I did get and IO error when I did this) and then did the pvcreate -f -B cXtXdX, mkboot, etc.
lifls of AUTO on the mirror shows the correct default file
(hpux -lq (;0)/stand/vmunix). Also tried "hpux -lq"
LIF volume headed is OK (LIF10)
Becauce of the IO error on the dd to the mirror and the weird error on alt disk boot attempt, I believe the disk may have bad sectors in the LIF area.
Thoughts / comments?
Thanks,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2000 05:54 PM
тАО08-19-2000 05:54 PM
Re: Boot off mirror
1. Do you use LVM and mirroring? If yes, run lvlnboot -v.
2.Take a look on the latest LVM patches and hardware/ critical patches for V class machines. Install Diagnostics and run STM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2000 05:32 AM
тАО08-20-2000 05:32 AM
Re: Boot off mirror
unusual that you would use dd to overwrite the lif area, and more unusual to get an i/o error. To check the mirror disk to see if its got any bad blocks etc. do;
dd if=/dev/rdsk/cxxxxx of=/dev/null bs=1024k
If this command works without any errors then the disk looks fine, if not the disk may be bad, try to mediainit first then repeat the dd.
When you create the mirror make sure you do it the correct way, pvcreate -B first, then mkboot then lvextend all of vg00's lvols in order, 1,2,3... then lvlnboot -v should show both disks as bootable and swap/root/dump listed on both disks, then it should boot absolutely fine off the mirror - as long as the primary disk is also present.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2000 04:45 AM
тАО08-21-2000 04:45 AM
Re: Boot off mirror
lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c8t6d0
lvreduce -m 0 /dev/vg00/lvol2 /dev/dsk/c8t6d0
lvreduce -m 0 /dev/vg00/lvol3 /dev/dsk/c8t6d0
lvreduce -m 0 /dev/vg00/lvol4 /dev/dsk/c8t6d0
lvreduce -m 0 /dev/vg00/lvol5 /dev/dsk/c8t6d0
lvreduce -m 0 /dev/vg00/lvol6 /dev/dsk/c8t6d0
lvreduce -m 0 /dev/vg00/lvol7 /dev/dsk/c8t6d0
lvreduce -m 0 /dev/vg00/lvol8 /dev/dsk/c8t6d0
vgreduce /dev/vg00 /dev/dsk/c8t6d0
dd if=/stand/vmunix of=/dev/rdsk/c8t6d0 bs=4096
pvcreate -f -B /dev/rdsk/c8t6d0
vgextend /dev/vg00 /dev/dsk/c8t6d0
mkboot /dev/rdsk/c8t6d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c8t6d0
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c8t6d0
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c8t6d0
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c8t6d0
lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c8t6d0
lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c8t6d0
lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c8t6d0
lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c8t6d0
lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c8t6d0
lvlnboot -r /dev/vg00/lvol3
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R /dev/vg00
lvlnboot -v
setboot
The dd to the mirror was used to make sure that the LIF was recreated; not simply checked/updated. This recommendation came from HP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2000 04:50 AM
тАО08-21-2000 04:50 AM
Re: Boot off mirror
The commands you listed look ok. Did you try doing a dd on the mirror as suggested? did it work or did you get an error ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2000 05:07 AM
тАО08-21-2000 05:07 AM
Re: Boot off mirror
You could also have installed the diagnostic LIF files with the command:-
mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c8t6d0
Are you certain that the 'setboot' path for alternate boot is correct? What is the output from 'setboot'?
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2000 05:14 AM
тАО08-21-2000 05:14 AM
Re: Boot off mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2000 05:28 AM
тАО08-21-2000 05:28 AM
Re: Boot off mirror
Let's take a look on the problem from a different angel.
Is f-code enabled for the slot with your mirrored boot-path? And are the boot-file and argument set right?
These are causes why I saw the boot_tc message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2000 05:57 AM
тАО08-21-2000 05:57 AM
Re: Boot off mirror
4194157+0 records in
4194157+0 records out
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t6d0 (1/1/0.6.0) -- Boot Disk
/dev/dsk/c8t6d0 (6/2/0.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t6d0
/dev/dsk/c8t6d0
Root: lvol3 on: /dev/dsk/c1t6d0
/dev/dsk/c8t6d0
Swap: lvol2 on: /dev/dsk/c1t6d0
/dev/dsk/c8t6d0
Dump: lvol2 on: /dev/dsk/c1t6d0, 0
# setboot
Primary bootpath : 1/1/0.6.0
Alternate bootpath : 6/2/0.6.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2000 06:18 AM
тАО08-21-2000 06:18 AM
Re: Boot off mirror
Primary boot disk:
# lifcp /dev/rdsk/c1t6d0:AUTO -
hpux
Alternate boot disk:
# lifcp /dev/rdsk/c8t6d0:AUTO -
hpux -lq
After first trying "hpux -lq (;0)/stand/vmunix" I then tried "hpux -lq" which is the current AUTO file contents on the alternate disk.
Im not sure all PCI slots are fcode enabled. Can I check this with the system up or only at the boot prompt? Since I know that this machine can boot of of SCSI tape, I suspect that all PCI slots are fcode enabled.
Thanks,
Tom