Operating System - HP-UX
1753679 Members
5662 Online
108799 Solutions
New Discussion юеВ

Is it possible to mirror from 1 - many physical disks?

 
SOLVED
Go to solution
Jason Fedynak
Advisor

Is it possible to mirror from 1 - many physical disks?

We have hpux11i v1 and we are 'looking' to move data using mirrors. The issue is that we want to use smaller size cu:ldevs.

For example we have 1x10GB pv and will add 10x1GB pv's to the volume group. Any way to mirror the 1x10GB to the 10x1GBs?

Thanks,
JasonF
Expert: In asking questions.
8 REPLIES 8
Jason Fedynak
Advisor

Re: Is it possible to mirror from 1 - many physical disks?

Oh and to top it all off we want to strip the 10x1GB disk. Is this at all possible?
Expert: In asking questions.
Torsten.
Acclaimed Contributor
Solution

Re: Is it possible to mirror from 1 - many physical disks?

Hi,

yes, you can mirror 1 disks to a set of other disks.
You can specify the destination disk in your lvextend command
or
you can use PVG (physical volume groups - see http://docs.hp.com/en/B2355-60105/lvmpvg.4.html )

A striped mirror is only supported for 11.31 (11iv3).

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!   
Sundar_7
Honored Contributor

Re: Is it possible to mirror from 1 - many physical disks?

Jason,

Yes, you can add the 10 * 1 GB PVs to the volume group.

You could either use the PVG groups or you could manually specify all the 10 PVs with the lvextend -m command to create the mirrors on the 10 new PVs.

But you cannot stripe the mirror. 11.11 supports only extent based mirrors.

Sundar.
Learn What to do ,How to do and more importantly When to do ?
Jason Fedynak
Advisor

Re: Is it possible to mirror from 1 - many physical disks?

Do you know if striping the mirrors is only available as part of HPUX11.31 OS or could a upgrade of OnlineJFS do.
Expert: In asking questions.
Torsten.
Acclaimed Contributor

Re: Is it possible to mirror from 1 - many physical disks?

As said before, striped mirrors are only in 11.31.
Previous versions can use distributed extends, see

http://docs.hp.com/en/B2355-60105/lvcreate.1M.html

Consider to backup the data and restore to a striped LVOL.

(I'm not sure if this gives you more performance on your XP array, but it depends on your arrays LUN configuration).

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!   
Jason Fedynak
Advisor

Re: Is it possible to mirror from 1 - many physical disks?

Thanks. So I tried the -D(istributed) option but it came back as an invalid argument. I checked the HP-UX revision and it is for 11i v2.
Expert: In asking questions.
Sundar_7
Honored Contributor

Re: Is it possible to mirror from 1 - many physical disks?

Jason,

You cannot use the -D option with lvextend. It should be used at the time of lvcreation with the lvcreate command.

-D is a valid option with 11.11.

Sundar.
Learn What to do ,How to do and more importantly When to do ?
Jason Fedynak
Advisor

Re: Is it possible to mirror from 1 - many physical disks?

Yes, sorry. I just realized that this morning. Since we cannot create the lvol with the -D option (as it has data on it already). I am going to try to create a new lvol to mimic the current env., mirror the lvol, lvchange -a n, lvchange -D y, lvchange -a y, and remount ....

lets see if this works.
Expert: In asking questions.