- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: MirrorDisk/UX install, Config.
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
06-25-2001 04:07 AM
06-25-2001 04:07 AM
The system is an N-Class with 2 18GB onboard drives.
Thanks!
John
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2001 04:14 AM
06-25-2001 04:14 AM
Re: MirrorDisk/UX install, Config.
you use lvextend to create a mirror
man lvextend gives you the information
i.e.
Mirror a logical volume onto a particular physical volume.
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c0t3d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2001 04:17 AM
06-25-2001 04:17 AM
SolutionHere's what you need to do:
# pvcreate -B /dev/rdsk/cXtYdZ
# vgextend /dev/vg00 /dev/dsk/cXtYdZ
# mkboot /de/rdsk/cXtYdZ
# mkboot -a "hpux -lq" /stand/vmunix" /dev/rdsk/cXtYdZ
# for N in 1 2 3 4 5 6 7 8
> do
> lvextend -m 1 /dev/vg00/lvol${N} /dev/dsk/cXtYdZ
> done
# lvlnboot -v
Note that some commands use the raw device and some use the block device.
The 'lq' option of 'mkboot' sets the low quorum so that if one of two disks is inoperative you will still boot.
It is very important that at least the first three logical volumes be mirrored in sequence as the first. I always mirror all of them exactly "in sequence".
Substitute your mirror for "cXtYdZ" appropriately.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2001 04:31 AM
06-25-2001 04:31 AM
Re: MirrorDisk/UX install, Config.
MirrorDisk/UX should be called MirrorLvol/UX.
It is up to you to decide what to mirror.
MirrorDisk modifies the following lvmcommands:
lvcreate -m
lvextend -m
It introduces the following:
lvsplit
lvmerge
After creating the mirror, you can split it, get a device file for the split copy. Mount that split copy and backup. Then lvmerge to resynchronise the mirror. (be carefull of merge back syntax!)
Other thing interesting are with pvgs Physical Volume Groups (see vgcreate -p) You can create RAID 1/0 with LVM/Mirrordisk using an lvcreate -D y
In anycase, mirroring a boot disk is the most common usage, remember though that if you rescue with ignite, ignite will be just interested in getting the system back up (recovery) you must recreate your mirrors after an ignite restore... this'd be a disaster situation though. For simple mirrordisk just make sure you can boot up overriding lvm quorum hpux -lq as the auto flag...
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2001 04:40 AM
06-25-2001 04:40 AM
Re: MirrorDisk/UX install, Config.
thanx a lot for the info, i was suppose to do mirroring and was searching for doc's. 10 points from side. can you send the link for more information.
ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2001 04:52 AM
06-25-2001 04:52 AM
Re: MirrorDisk/UX install, Config.
One of the best guides to general LVM tasks is the "HP-UX System Administration Tasks" manual. Interestingly, it appears under the 10.x documents only, or at least I can't find a parallel one elsewhere. With my regards, here it is, Jim.
http://docs.hp.com/hpux/onlinedocs/B2355-90672/B2355-90672.html
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2001 04:52 AM
06-25-2001 04:52 AM
Re: MirrorDisk/UX install, Config.
http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html and read the section:
Managing File Systems
In there is the following sub-section:
Mirroring Root, Boot, and Primary Swap Logical Volumes
explains it all for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2001 04:58 AM
06-25-2001 04:58 AM
Re: MirrorDisk/UX install, Config.
Why thank you! I had wondered where the Administration Tasks had evolved. Now I know. With my regards to you too, Jim.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2001 01:15 PM
06-25-2001 01:15 PM
Re: MirrorDisk/UX install, Config.
Worked like a charm. The volume had at one time been part of another VG, so I had to use the -f option on my pvcreate, but after that it was somooth sailing.
Thanks again,
John