- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- MirrorUX ... how to 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
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-14-2002 01:29 AM
08-14-2002 01:29 AM
I'm struggling to find a procedure to mirror two disks (including the bootable area), on HPUX11.00 and with mirrorUX.
In my case I've both disks under vg00 but just one has the bootable area and all system file-systems. I'd like to mirror this disk to the other.
If anyone has a procedure (or a link to it) or some tips regarding this mirror software please let me know. Thanks
Regards,
Miguel
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 01:35 AM
08-14-2002 01:35 AM
Re: MirrorUX ... how to mirror?
Here are two documents about your problem.
This for file system LVs
http://docs.hp.com/hpux/onlinedocs/B2355-90672/00/00/71-con.html
This for root and swap LVs
http://docs.hp.com/hpux/onlinedocs/B2355-90672/00/00/74-con.html
HTH,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 01:43 AM
08-14-2002 01:43 AM
Re: MirrorUX ... how to mirror?
Ex: disk1 /dev/dsk/c1t0d0
disk2: /dev/dsk/c2t0d0
pvdisplay /dev/dsk/c2t0d0 | grep -i allocated
IF it is 0 , then:
vgreduce /dev/vg00 /dev/dsk/c2t0d0
pvcreate -B /dev/rdsk/c2t0d0
vgextend /dev/vg00 /dev/dsk/c2t0d0
lvextend -m 1 /dev/vg00/lvol1
lvextend -m 1 /dev/vg00/lvol2
lvextend -m 1 /dev/vg00/lvol3
for lv in $( find /dev/vg00 -type b)
do
lvextend -m 1 $lv # 1, 2 and 3 will fail, they are mirrored yet !!
done
mkboot /dev/rdsk/c2t0d0
mkboot -a "hpux -lq" /dev/rdsk/c2t0d0
lvlnboot -R
Thats all folks.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 01:51 AM
08-14-2002 01:51 AM
Re: MirrorUX ... how to mirror?
Assume your new disk is /dev/dsk/c0t1d0:
dd if=/dev/null of=/dev/rdsk/c0t1d0 # make it clean
pvcreate -B -f /dev/rdsk/c0t1d0
vgextend /dev/vg00 /dev/dsk/c0t1d0
for i in 1 2 3 4 5 6 7 8
do
lvextend -m 2 /dev/vg00/lvol$i /dev/dsk/c0t1d0
done
mkboot -l /dev/dsk/c0t1d0
mkboot -a "hpux -lq" /dev/rdsk/c0t1d0
lvlnboot -r /dev/vg00/lvol3
lvlnboot -b /dev/vg00/lvol1
lvlnboot -s /dev/vg00/lovl2
lvlnboot -d /dev/vg00/lvol2
lvlnboot -R
If you would like to see if the results are correct:
lvlnboot -v
and for each lvol:
lvdisplay -v /dev/vg00/lvolX
Regards,
Ceesjan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 01:52 AM
08-14-2002 01:52 AM
Re: MirrorUX ... how to mirror?
XIII section
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 01:54 AM
08-14-2002 01:54 AM
Re: MirrorUX ... how to mirror?
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062650918
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 02:03 AM
08-14-2002 02:03 AM
Re: MirrorUX ... how to mirror?
Creating a Root mirror
You cannot create a root mirror (bootable) using SAM.
You have to use the command line options.
The first command itself is pvcreate -B (to create a bootable disk) and SAM wont use the option "-B".
HP's system Admin tasks manual chapter 7.
1> pvcreate -B /dev/rdsk/xyz
2> vgextend /dev/vg00 /dev/dsk/xyz
3> mkboot /dev/rdsk/xyz
4> mkboot -a "hpux (;0) /stand/vmunix" /dev/rdsk/xyz
-a auto_file_string If the -a option is specified, mkboot
creates an autoexecute file AUTO on
device, if none exists. mkboot deposits
auto_file_string in that file. If this
string contains spaces, it must be quoted
so that it is a single parameter.
or use
4> mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/xyz
5> lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/xyz -do this for all the lvols on root disk.
6> lvlnboot -R
7> lvlnboot -v To check if you see both the disks as boot disk.
HTH
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 02:34 AM
08-14-2002 02:34 AM
SolutionLets assume that You want to create mirror on:c5t6d0
pvcreate -f -B /dev/rdsk/c5t6d0
vgextend /dev/vg00 /dev/dsk/c5t6d0
mkboot /dev/rdsk/c5t6d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c5t6d0
lifls -l /dev/rdsk/c5t6d0
lvlnboot -r /dev/vg00/lvol3
lvlnboot -b /dev/vg00/lvol1
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
lvlnboot -v
mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c5t6d0
lifls /dev/rdsk/c0t6d0
lvlnboot -r /dev/vg00/lvol3
lvlnboot -b /dev/vg00/lvol1
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
lvlnboot -v
for i in $(ls /dev/vg00/lvol*)
do
lvextend -m 1 $i /dev/dsk/c5t6d0
done
regards Seba
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2005 10:27 PM
05-10-2005 10:27 PM