- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- MirrorDisk/UX
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
05-28-2006 01:44 AM
05-28-2006 01:44 AM
I have installed MirrorDisk/UX on my server but I cannot mirror the LVs. here is the error from lvextend.Please advice.
# swlist | grep Mirror
B2491BA B.11.11 MirrorDisk/UX
# lvextend -m 1 vg01 /dev/dsk/c4t1d0
Usage: lvextend
[-A Autobackup]
{-l LogicalExtentsNumber |
-L LogicalVolumeSize}
LogicalVolumePath [ PhysicalVolumePath... | PhysicalVolumeGroupName... ]
"m": Illegal option.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 02:05 AM
05-28-2006 02:05 AM
Re: MirrorDisk/UX
the ""m": Illegal option" message indicates you have *NOT* installed mirror disk/UX.
You need to purchase and install the software.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 02:08 AM
05-28-2006 02:08 AM
Re: MirrorDisk/UX
Wrong command, correct:
# lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c4t1d0
You need to specify the lvol you like to extend.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 02:15 AM
05-28-2006 02:15 AM
Re: MirrorDisk/UX
Torsten is correct, your 'lvextend' syntax was wrong.
Remember that LVM MirrorDisk does mirroring at the *logical volume* level, not at the volume group nor at a physical volume (disk) level.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 02:22 AM
05-28-2006 02:22 AM
Re: MirrorDisk/UX
cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 02:30 AM
05-28-2006 02:30 AM
Re: MirrorDisk/UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 02:33 AM
05-28-2006 02:33 AM
Re: MirrorDisk/UX
Have you already extended the Volume Group with the disk?
vgextend vg01 /dev/dsk/c4t1d0
Mirror LV:
lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c4t1d0
If you want to mirror more lvol's:
for lvol in lvol1 lvol2 ... lvol8 (specify any LV you need to mirror)
do
lvextend -m 1 /dev/vg01/$lvol /dev/dsk/c4t1d0
done
Goodluck
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 03:33 AM
05-28-2006 03:33 AM
Re: MirrorDisk/UX
As already pointed out the syntax you are using is incorrect. You need to mirror LVs - for that
1. Check if the disk has been added to the VG.
vgdisplay -v /dev/vg01 | grep c4t1d0
If not already added -
strings /etc/lvmtab | grep c4t1d0 (Check that disk not added to any other VG already) if disk is free then add using
pvcreate /dev/rdsk/c4t1d0 (Make it usable by LVM)
vgextend /dev/vg01 /dev/dsk/c4t1d0
2. Then mirror the LVs . As suggested by Darrel you can use the for loop to mirror all the LVs - but first thing to check would be the total LVs size and available disk size .
So first check the total size of LVs you want to mirror.
size=0
for lvol in lvol1 lvol2 ...
do
size=$(echo $(lvdisplay /dev/vg01/$lvol | grep -i size | awk '{print $NF}') + $size | bc)
done
echo $size MB
check disk size using diskinfo /dev/dsk/c4t1d0
compare the 2 sizes and if mirrors of all volumes can be accomodated on the same disk then use the for loop as mentioned by Darrel.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 05:12 AM
05-28-2006 05:12 AM
Re: MirrorDisk/UX
I corrected my command as you said but still get the error. I have just this problem in one of the servers. The other one works correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 05:15 AM
05-28-2006 05:15 AM
Re: MirrorDisk/UX
Can you post the output vgdisplay -v vg01
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 05:35 AM
05-28-2006 05:35 AM
Re: MirrorDisk/UX
What is the state of the installed product B2491BA?
# swlist -l fileset -a state
# swverify \*
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 05:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 06:23 AM
05-28-2006 06:23 AM
Re: MirrorDisk/UX
Have you checked if the software is installed properly as suggested above.
If yes would you paste the outputs of
1. vgdisplay -v | grep c4t1d0
2. strings /etc/lvmtab | grep -c c4t1d0
Also what exact command did you try ?
and what error was displayed
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 05:19 PM
05-28-2006 05:19 PM
Re: MirrorDisk/UX
I removed the software and installed it again.