Operating System - HP-UX
1757130 Members
3996 Online
108858 Solutions
New Discussion юеВ

Re: Problems to create 1 RAID

 

Problems to create 1 RAID

Hi
Running Hp-Ux 11.11 I have a problem, I can not create RAID/mirror.
I Running the following steps:
pvcreate -f /dev/rdsk/c0t8d0
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgcreate -e 4341 -s 4 /dev/vg01 /dev/dsk/c0t8d0
lvcreate -l 4341 -i 2 -I 64 /dev/vg01
pvcreate -f /dev/rdsk/c0t12d0
vgextend /dev/vg01 /dev/dsk/c0t12d0
lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c0t8d0 /dev/dsk/c0t12d0.

After this commands the following error message appears: Striped mirrors are not supported. To enable mirroring options (-m, -M, -c),
do not specify the striping options (-i, -I) when creating logical volumes.
I need help.

Thank you
5 REPLIES 5
skt_skt
Honored Contributor

Re: Problems to create 1 RAID

You chose either stripe or mirror. Why you need both?? Are those internal disks or protected disks from external arrays?

Re: Problems to create 1 RAID

The disks are external and I believe that from external arrays is not protected.
I need stripe, Are incorrect the commands that I executed?
Torsten.
Acclaimed Contributor

Re: Problems to create 1 RAID

The message says all:

Striped mirrors are not supported.

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!   
Patrick Wallek
Honored Contributor

Re: Problems to create 1 RAID

You can do this:

lvcreate -l 4341 -i 2 -I 64 /dev/vg01

OR you can do this:

lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c0t8d0 /dev/dsk/c0t12d0.

You can NOT do both.

I would do:

pvcreate -f /dev/rdsk/c0t8d0
pvcreate -f /dev/rdsk/c0t12d0
vgcreate -e 4341 -s 4 /dev/vg01 /dev/dsk/c0t8d0 /dev/dsk/c0t12d0
lvcreate -l 4341 /dev/vg01
lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c0t12d0

Now you should have an LV that is mirrored between the 2 disks.

Re: Problems to create 1 RAID

Hi
I have executed the sentences that Patric has told me and it has worked

Thank you