- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mirror 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
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
03-04-2002 10:40 AM
03-04-2002 10:40 AM
I have a system containing four identical disks. First two disks (c0t6d0 and c0t5d0)
are in use (vg00). My question is can I mirror these two disks (vg00)to the two remaining disks with the MirrorDisk software.
Regards,
Jan K
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 10:48 AM
03-04-2002 10:48 AM
Re: mirror disk
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 10:58 AM
03-04-2002 10:58 AM
SolutionLet's assume that your mirror boot disk is c1t6d0 and that your additional disk is c1t5d0
pvcreate -f -B /dev/rdsk/c1t6d0
vgextend /dev/vg00/ /dev/dsk/c1t6d0
mkboot /dev/rdsk/c1t6d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/c1t6d0
pvcreate -f /dev/rdsk/c1t5d0
vgextend /dev/vg00 /dev/dsk/c1t5d0
You then do an lvextend for EACH lvol and specify the desired destination disk. /stand, primary swap, and / (lvols 1 thru 3 MUST go on the mirror boot disk)
e.g.
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t6d0
...
...
lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c1t5d0
I would also run the same mkboot -a command on your original boot disk so that you can boot off either disk without quorum. NOTE: To get the full benefits of mirroring so that a cable/controller faiure controller can be tolerated, you should mirror your two disks to two drives on another controller.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 11:09 AM
03-04-2002 11:09 AM
Re: mirror disk
Mirroring is done at the Logical Volume (filesystem) level and not at the "disk" level, and you choose what you want mirrored, by using Clay's examples, logical volume by logical volume.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 12:24 PM
03-04-2002 12:24 PM
Re: mirror disk
You can definately do mirroring depending upon the disk availaibility.
As you have free disks available you can do as per Clay's procedure. It will be a good idea to confirm that the disks are not containing any data in it. Then you can proceed with following command.
pvcreate -B -f /dev/rdsk/cxtydz
-f option will not warn you before erasing everything on that disk. So be cautious.
One more thing, while doing mirroring using lvextend -m 1 .......command, do it in a sequence.....stand , root.....etc..
It is best to do pvdisplay -v on your original root disk and not down the sequence of logical volumes and then proceed for mirroring....
Good luck.
-Piyush.