HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Root drive mirror question
Operating System - HP-UX
1831622
Members
2286
Online
110027
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
07-20-2004 10:21 AM
07-20-2004 10:21 AM
***************************
HP-UX B.11.11 9000/800/N4000-75
***************************
Hello All,
Just wanted to your opinions on how my "/dev/vg00" primary drive (c1t6d0) has been
mirrored to drive (c2t6d0). Does all look ok?
I noticed the "/stand/bootconf" only has the primary drive (c1t6d0) added, and the "lifcp"
command shows the filename "PAD". I believe the "PAD" came from a "mkboot" command I had in a mirror script. Does all look ok to you?
*********************************************
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t6d0 (0/0/2/0.6.0) -- Boot Disk
/dev/dsk/c2t6d0 (0/0/2/1.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t6d0
/dev/dsk/c2t6d0
Root: lvol3 on: /dev/dsk/c1t6d0
/dev/dsk/c2t6d0
Swap: lvol2 on: /dev/dsk/c1t6d0
/dev/dsk/c2t6d0
Dump: lvol2 on: /dev/dsk/c1t6d0, 0
it-hp36 [/stand]# cat /stand/bootconf
l /dev/dsk/c1t6d0
it-hp36 [/stand]#
it-hp36 [/stand]# lifcp /dev/rdsk/c1t6d0:AUTO -
hpux
it-hp36 [/stand]# lifcp /dev/rdsk/c2t6d0:AUTO -
hpux -lq
it-hp36 [/stand]# lifls -l /dev/dsk/c1t6d0
volume ISL10 data size 7984 directory size 8 02/05/10 16:25:44
filename type start size implement created
===============================================================
ODE -12960 584 880 0 04/05/13 13:12:43
MAPFILE -12277 1464 128 0 04/05/13 13:12:43
SYSLIB -12280 1592 354 0 04/05/13 13:12:43
CONFIGDATA -12278 1952 254 0 04/05/13 13:12:43
SLMOD2 -12276 2208 142 0 04/05/13 13:12:43
SLDEV2 -12276 2352 156 0 04/05/13 13:12:43
SLDRV2 -12276 2512 744 0 04/05/13 13:12:43
SLSCSI2 -12276 3256 121 0 04/05/13 13:12:43
MAPPER2 -12279 3384 146 0 04/05/13 13:12:43
IOTEST2 -12279 3536 880 0 04/05/13 13:12:43
PERFVER2 -12279 4416 126 0 04/05/13 13:12:43
PVCU -12801 4544 64 0 04/05/13 13:12:43
SSINFO -12286 4608 2 0 04/05/13 13:12:43
HPUX -12928 4616 848 0 02/05/10 16:25:44
ISL -12800 5464 306 0 00/11/08 20:49:59
AUTO -12289 5776 1 0 04/05/25 09:19:40
LABEL BIN 5784 8 0 03/12/12 12:05:53
it-hp36 [/stand]# lifls -l /dev/dsk/c2t6d0
volume ISL10 data size 7984 directory size 8 02/05/10 16:25:44
filename type start size implement created
===============================================================
ODE -12960 584 880 0 03/10/15 11:53:05
MAPFILE -12277 1464 128 0 03/10/15 11:53:05
SYSLIB -12280 1592 353 0 03/10/15 11:53:05
CONFIGDATA -12278 1952 250 0 03/10/15 11:53:05
SLMOD2 -12276 2208 141 0 03/10/15 11:53:05
SLDEV2 -12276 2352 157 0 03/10/15 11:53:05
SLDRV2 -12276 2512 689 0 03/10/15 11:53:05
SLSCSI2 -12276 3208 121 0 03/10/15 11:53:05
MAPPER2 -12279 3336 145 0 03/10/15 11:53:05
IOTEST2 -12279 3488 877 0 03/10/15 11:53:05
PERFVER2 -12279 4368 126 0 03/10/15 11:53:05
PVCU -12801 4496 64 0 03/10/15 11:53:05
SSINFO -12286 4560 2 0 03/10/15 11:53:05
ISL -12800 4568 306 0 02/05/10 16:25:44
AUTO -12289 4880 1 0 02/05/10 16:25:44
HPUX -12928 4888 848 0 02/05/10 16:25:44
PAD -12290 5736 1580 0 02/05/10 16:25:45
LABEL BIN 7320 8 0 04/06/08 09:02:44
HP-UX B.11.11 9000/800/N4000-75
***************************
Hello All,
Just wanted to your opinions on how my "/dev/vg00" primary drive (c1t6d0) has been
mirrored to drive (c2t6d0). Does all look ok?
I noticed the "/stand/bootconf" only has the primary drive (c1t6d0) added, and the "lifcp"
command shows the filename "PAD". I believe the "PAD" came from a "mkboot" command I had in a mirror script. Does all look ok to you?
*********************************************
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t6d0 (0/0/2/0.6.0) -- Boot Disk
/dev/dsk/c2t6d0 (0/0/2/1.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t6d0
/dev/dsk/c2t6d0
Root: lvol3 on: /dev/dsk/c1t6d0
/dev/dsk/c2t6d0
Swap: lvol2 on: /dev/dsk/c1t6d0
/dev/dsk/c2t6d0
Dump: lvol2 on: /dev/dsk/c1t6d0, 0
it-hp36 [/stand]# cat /stand/bootconf
l /dev/dsk/c1t6d0
it-hp36 [/stand]#
it-hp36 [/stand]# lifcp /dev/rdsk/c1t6d0:AUTO -
hpux
it-hp36 [/stand]# lifcp /dev/rdsk/c2t6d0:AUTO -
hpux -lq
it-hp36 [/stand]# lifls -l /dev/dsk/c1t6d0
volume ISL10 data size 7984 directory size 8 02/05/10 16:25:44
filename type start size implement created
===============================================================
ODE -12960 584 880 0 04/05/13 13:12:43
MAPFILE -12277 1464 128 0 04/05/13 13:12:43
SYSLIB -12280 1592 354 0 04/05/13 13:12:43
CONFIGDATA -12278 1952 254 0 04/05/13 13:12:43
SLMOD2 -12276 2208 142 0 04/05/13 13:12:43
SLDEV2 -12276 2352 156 0 04/05/13 13:12:43
SLDRV2 -12276 2512 744 0 04/05/13 13:12:43
SLSCSI2 -12276 3256 121 0 04/05/13 13:12:43
MAPPER2 -12279 3384 146 0 04/05/13 13:12:43
IOTEST2 -12279 3536 880 0 04/05/13 13:12:43
PERFVER2 -12279 4416 126 0 04/05/13 13:12:43
PVCU -12801 4544 64 0 04/05/13 13:12:43
SSINFO -12286 4608 2 0 04/05/13 13:12:43
HPUX -12928 4616 848 0 02/05/10 16:25:44
ISL -12800 5464 306 0 00/11/08 20:49:59
AUTO -12289 5776 1 0 04/05/25 09:19:40
LABEL BIN 5784 8 0 03/12/12 12:05:53
it-hp36 [/stand]# lifls -l /dev/dsk/c2t6d0
volume ISL10 data size 7984 directory size 8 02/05/10 16:25:44
filename type start size implement created
===============================================================
ODE -12960 584 880 0 03/10/15 11:53:05
MAPFILE -12277 1464 128 0 03/10/15 11:53:05
SYSLIB -12280 1592 353 0 03/10/15 11:53:05
CONFIGDATA -12278 1952 250 0 03/10/15 11:53:05
SLMOD2 -12276 2208 141 0 03/10/15 11:53:05
SLDEV2 -12276 2352 157 0 03/10/15 11:53:05
SLDRV2 -12276 2512 689 0 03/10/15 11:53:05
SLSCSI2 -12276 3208 121 0 03/10/15 11:53:05
MAPPER2 -12279 3336 145 0 03/10/15 11:53:05
IOTEST2 -12279 3488 877 0 03/10/15 11:53:05
PERFVER2 -12279 4368 126 0 03/10/15 11:53:05
PVCU -12801 4496 64 0 03/10/15 11:53:05
SSINFO -12286 4560 2 0 03/10/15 11:53:05
ISL -12800 4568 306 0 02/05/10 16:25:44
AUTO -12289 4880 1 0 02/05/10 16:25:44
HPUX -12928 4888 848 0 02/05/10 16:25:44
PAD -12290 5736 1580 0 02/05/10 16:25:45
LABEL BIN 7320 8 0 04/06/08 09:02:44
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 10:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 10:35 AM
07-20-2004 10:35 AM
Re: Root drive mirror question
If you just add your mirror disk to /stand/bootconf file, I think you should be good.
PAD is just a space filler. So dont worry about that file missing from the lif volume.
Otherwise, the above output looks OK to me.
PAD is just a space filler. So dont worry about that file missing from the lif volume.
Otherwise, the above output looks OK to me.
Learn What to do ,How to do and more importantly When to do ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 10:38 AM
07-20-2004 10:38 AM
Re: Root drive mirror question
I'm providing a complete guide in case you missed something else.
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
Good Luck
SEP
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
Good Luck
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP