- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirror boot disk using LVM
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
Discussions
Discussions
Discussions
Forums
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
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
тАО05-21-2003 08:04 PM
тАО05-21-2003 08:04 PM
Mirror boot disk using LVM
I am trying to mirror a boot disk using two SCSI disks, each one on a different controller.
I go through the necessary steps but when I issue the command
"lvextend -m 1 /dev/vg00/lvol"
I get an error saying that the '-m' is an illegal option. I look at the man pages for "lvextend" and it shows '-m' as a valid option.
I am running HP-UX 11i. I don't know if it would make a difference but I do not have MirrorDisk/UX installed, I'm trying to do this using LVM only.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 08:14 PM
тАО05-21-2003 08:14 PM
Re: Mirror boot disk using LVM
This is a prerequisite product for LVM mirroring.
Only that product can turn on the -m option of lvextend.
You cannot do that without Mirror/UX.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 08:15 PM
тАО05-21-2003 08:15 PM
Re: Mirror boot disk using LVM
See these threads for instruction on how to create a mirrored boot disk without Mirror/UX. It's more difficult to maintain, but it is doable.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xafc36af52b04d5118fef0090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x37204b3ef09fd611abdb0090277a778c,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 08:17 PM
тАО05-21-2003 08:17 PM
Re: Mirror boot disk using LVM
Complete procedure.
Obtain a valid code word from HP. That will cost some bucks.
swinstall
action
add code word
Enter the information provided by HP.
Mirror/UX will become visible and you can install it.
It will require a boot.
Procedure for mirroring now.
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.
Put in real disk invormation and you're done.
Good Luck.
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
тАО05-21-2003 08:17 PM
тАО05-21-2003 08:17 PM
Re: Mirror boot disk using LVM
As you probably realise this is software is not free and must be purchased.
If you wanted to keep a virtual copy you could run a regular 'dd' to a different disk.
Regards
Michael
"When I have trouble spelling, it's called fat finger syndrome"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 08:54 PM
тАО05-21-2003 08:54 PM
Re: Mirror boot disk using LVM
it means you don't have mirror disk UX installed.
get the lic. from HP and install it using swinstall and then use same command it will work.
Enjoy
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 09:21 PM
тАО05-21-2003 09:21 PM
Re: Mirror boot disk using LVM
I will take the MirrorDisk/UX route and purchase the necessary license to mirror disks on our servers.
Also, thanks for the quick response.