- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirrordisk
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
08-31-2005 12:19 PM
08-31-2005 12:19 PM
Mirrordisk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2005 12:46 PM
08-31-2005 12:46 PM
Re: Mirrordisk
1. mirror c1t15d0 to c3t15d0 on 11.11 using LVM
## ioscan -kfnC disk
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
disk 0 0/0/1/1.15.0 sdisk CLAIMED DEVICE SEAGATE ST3146807LC
/dev/dsk/c1t15d0 /dev/rdsk/c1t15d0
disk 2 0/0/2/1.15.0 sdisk CLAIMED DEVICE SEAGATE ST3146807LC
/dev/dsk/c3t15d0 /dev/rdsk/c3t15d0
2. verify the Alternate bootpath:
# setboot
Primary bootpath : 0/0/1/1.15.0
Alternate bootpath : 0/0/2/1.15.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
3. verify the lif area on the primary boot, and can do on the alternate once
the Alternate is mirrored.
# lifcp /dev/dsk/c1t15d0:AUTO -
hpux
#
what does your swap use ?
# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
reserve - 101 -101
memory 3159 103 3056 3%
total 7255 204 7051 3% - 0 -
# mirror'ed disk is: c3t15d0
pvcreate -B /dev/rdsk/c3t15d0
mkboot /dev/rdsk/c3t15d0 # r disk
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c3t15d0
lifcp /dev/dsk/c3t15d0:AUTO - # snd AUTO string to stdout
vgextend /dev/vg00 /dev/dsk/c3t15d0
# for each lvol
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c3t15d0
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c3t15d0
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c3t15d0
lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c3t15d0
lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c3t15d0
lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c3t15d0
lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c3t15d0
lvlnboot -r /dev/vg00/lvol3 # Specifies the root logical volume
lvlnboot -s /dev/vg00/lvol2 # Specifies the swap logical volume
lvlnboot -d /dev/vg00/lvol2 # Specifies the dump logical volume
lvlnboot -b /dev/vg00/lvol1 # Specifies the boot logical volume
lvlnboot -R # Recovers any BDRA info
lvlnboot -v # Verify boot, root, swap and dump settings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2005 01:32 PM
08-31-2005 01:32 PM
Re: Mirrordisk
#mkboot -l /dev/rdsk/c2t0d0
#mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t0d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2005 01:34 PM
08-31-2005 01:34 PM
Re: Mirrordisk
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
Thanks to all that made this doc right.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2005 04:26 PM
08-31-2005 04:26 PM
Re: Mirrordisk
You can check out this doc , its very good explained how you can do the ROOT disk mirror.
Hope this will help,
Cheers,
Raj