Operating System - HP-UX
1753797 Members
7230 Online
108799 Solutions
New Discussion юеВ

Need create Mirror Disk using two Hard Disk

 
SOLVED
Go to solution
Aungshuman Paul
Regular Advisor

Need create Mirror Disk using two Hard Disk

Hi,

Can anyone help regarding the following requirement :

Customer has 6 HDD in their system. And they dont any additional RAID Controller like P400 for create Hardware RAID. Already they have 2 IR Volume and want to create a Mirror Disk ( non bootable disk) using the remaining 2 HDD.

I search for step by step document but did not find anything that exactly match my requirement.

Highly apppreciate if anyone help me in details.

Aunsghu
8 REPLIES 8
Prasanth V Aravind
Trusted Contributor

Re: Need create Mirror Disk using two Hard Disk

Hope the VG having 2disks currently & you want to mirror the lvs in this vg with two new disks.


1. pvcreate newdisks
2. add new disks to existing vg with vgextend command.
3. mirror lvs using lvextend command
4. verify the mirroring using lvdisplay + vgdisply.

Gudluck
Prasanth
Aungshuman Paul
Regular Advisor

Re: Need create Mirror Disk using two Hard Disk

What is the exact command that I need to execute for create LVm with mirroring option. Please give me a example.

stephen peng
Valued Contributor
Solution

Re: Need create Mirror Disk using two Hard Disk

you could use lvexend -m 1 , but, before you try to mirror a volume, make sure you've got MirrorDisk installed on your system.
SoorajCleris
Honored Contributor

Re: Need create Mirror Disk using two Hard Disk

If you are using Itanium server,please find the procedure

http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801?ciid=00089099cee021109099cee02110275d6e10RCRD

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
SoorajCleris
Honored Contributor

Re: Need create Mirror Disk using two Hard Disk

"Volume and want to create a Mirror Disk ( non bootable disk)"

Ok , I am sorry , if its not vg00, avoid above procedure.

==> Pvcreate /dev/rdsk/cxtxdx
==> vgextend vgxx disk
==> lvextend -m1 lv disk


Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Torsten.
Acclaimed Contributor

Re: Need create Mirror Disk using two Hard Disk

You asked this before!

Why again?

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1428707

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!   
Aungshuman Paul
Regular Advisor

Re: Need create Mirror Disk using two Hard Disk

No, I asked about RAID using RAID controller. Not HPUX mirroiring.
Aungshuman Paul
Regular Advisor

Re: Need create Mirror Disk using two Hard Disk

Thanks My problem solved using "lvextend -m1 lv disk" command.

Thanks for help.