- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- AUTO file missing on mirrored 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
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
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-21-2001 01:12 AM
тАО08-21-2001 01:12 AM
Outputs from lifls, lifcp and setboot:
#lifls /dev/rdsk/c1t2d0
ODE MAPFILE SYSLIB CONFIGDATA SLMOD2
SLDEV2 SLDRV2 SLSCSI2 MAPPER2 IOTEST2
PERFVER2 PVCU SSINFO HPUX ISL
AUTO LABEL
#lifls /dev/rdsk/c2t2d0
LABEL
#setboot
Primary bootpath : 0/0/1/1.2.0
Alternate bootpath : 0/0/2/0.2.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
#lifcp /dev/dsk/c1t2d0:AUTO -
hpux
#lifcp /dev/dsk/c2t2d0:AUTO -
lifcp: AUTO does not exist.
####
What happens if I make mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t2d0
on a running system? (I can't take it down).
Is this the correct thing to do?
regards
Anna
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2001 01:20 AM
тАО08-21-2001 01:20 AM
Re: AUTO file missing on mirrored disk
hpux -lq when you end up at the ISL prompt.
The AUTO file just says what ISL command to issue automatically.
I'm 99.999% sure you don't have to reboot.
I never did it though.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2001 01:22 AM
тАО08-21-2001 01:22 AM
Re: AUTO file missing on mirrored disk
If you have AUTO on the second disk (mirror), I would suggest to copy AUTO to the firs disk using:
mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p
area_to_preserve - ale the other LIF areas you want to remain unchanged (ODE, HPUX .....)
Later,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2001 01:27 AM
тАО08-21-2001 01:27 AM
Re: AUTO file missing on mirrored disk
The correct way to mirror a disk is as follows:
# pvcreate -f -B /dev/rdsk/cXtXdX
# vgextend /dev/vg00 /dev/rdsk/cXtXdX
# mkboot /dev/rdsk/cXtXdX
# mkboot -a "hpux -lq(;0)/stand/vmunix" /dev/rdsk/cXtXdX
# lvlnboot -R
# for LVOL in /dev/vg00/lv*
> do
> echo $LVOL
> lvextend -m 1 $LVOL
> done
#
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2001 01:47 AM
тАО08-21-2001 01:47 AM
Re: AUTO file missing on mirrored disk
You can do it on a running system if you missed only steps starting with "mkboot".
# mkboot /dev/rdsk/...
# mkboot "hpux -lq" /dev/rdsk/...
# mkboot -b updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/...
After doing this, you can check out the state by running "lifls".
Hope this helps,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2001 02:01 AM
тАО08-21-2001 02:01 AM
Re: AUTO file missing on mirrored disk
What is the output of 'lvlnboot -v'
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2001 02:07 AM
тАО08-21-2001 02:07 AM
Re: AUTO file missing on mirrored disk
Output from lvlnboot
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
/dev/dsk/c2t2d0 (0/0/2/0.2.0)
Boot: lvol1 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Root: lvol3 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Swap: lvol2 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Dump: lvol2 on: /dev/dsk/c1t2d0, 0
Current path "/dev/dsk/c6t9d0" is an alternate link, skip.
Current path "/dev/dsk/c4t9d1" is an alternate link, skip.
Current path "/dev/dsk/c6t9d2" is an alternate link, skip.
###
I also now tried the following 2 commands:
# mkboot -i AUTO -p LABEL /dev/rdsk/c2t2d0
# mkboot -b /usr/sbin/diag/lif/updatediaglif -p LABEL /dev/rdsk/c2t2d0
.. but got the same answer to both:
There appear to be non-boot logical volumes on this device.
Overwriting them could destroy all the data on this device
Should the logical volumes be overwritten [y/n]? n
Is this referring to the 8 vxfs logical volumes in vg00, or only the hfs (lvol1) ? What is it going to destroy?
regards,
Anna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2001 02:39 AM
тАО08-21-2001 02:39 AM
Solution1. If you have Ignite/UX installed make a recovery tape RIGHT NOW.
2. Un-mirror all the logical volumes off the second boot disk:
for lvol in /dev/vg00/lv*
do
lvreduce -m 0 ${lvol) /dev/dsk/c2t2d0
done
3. vgreduce the second boot disk out of the volume group:
vgreduce vg00 /dev/dsk/c2t2d0
4. Follow Michaels notes above for mirroring the disk.
You should be able to do thsi without any down-time, but I'd do it at a quiet time if you can.
Hope this helps,
Duncan
I am an HPE Employee
