1825766 Members
2172 Online
109687 Solutions
New Discussion

issue

 
SOLVED
Go to solution

issue

Hi All,

we have a little issue with my smartarray.
we have a rp3410 with a MSA30. this one was configured with 4 hdd's (raid 1+0). now we bought 4 more hdd's and i wanted to extend the logical volume.

when i'm running saconfig /dev/cissX i see that i can add more spare drives (i did that) now i do see the hdd's as participating spare drives.

But how can i bring them into the logical volume ?? do i have to delete the existing one and create a new one (would be kinda awfull) ??

Thanks for any help/ hints... :)

Claudius
6 REPLIES 6
Piergiacomo Perini
Trusted Contributor

Re: issue

Hi Claudius,
as far as i known you have to add pv to volume group that already exist (with comand "vgextend"); then you can extend logical volume according to 0+1 raid structure you have.

hth
regards
pg

Re: issue

Hi Piergiacomo,

yes thats right.
My problem is, that the new hdd's should be included in the logical volume (this should be done somehow with the saconfig command). I did add the hdd's as spare drives and now i want to add theses drives as permanent drives into the logical volume.

Regards,
Claudius
Wouter Jagers
Honored Contributor
Solution

Re: issue

Indeed, that's usually what we want the least ;-)

However, I wouldn't think a 1+0 hardware-raid volume could be 'grown' just like that, without re-creating :/
(I'm not a SmartArray guru, though)

A way around could be to just create a second 1+0 raid volume on the array, so your operating system would be presented a 'new disk' similar to the existing one.

Then you could pvcreate this 'new disk', add it to the volume group and extend your logical volume with this new space.

Let us know what you find.. good luck !

Cheers,
Wout
an engineer's aim in a discussion is not to persuade, but to clarify.

Re: issue

Hi Wout,

this is a pretty good idea, i will do that.

But there is an option to extend the array with physical devices (i have found this here http://www.docs.hp.com/en/J6369-90036/J6369-90036.pdf
) but how it looks like my 'saconfig' seems to be too old... version A.01.15.
So i'm going to look if i find a newer version.

But thanks for this workaround.... :)

Regards,
Claudius
Wouter Jagers
Honored Contributor

Re: issue

No problem at all :-)

And you're right, the document you linked does talk about 'saconfig /dev/ciss5 -E 0 -p 2:4 -p 2:5' (to add physical devices) and 'saconfig /dev/ciss5 -E 0 -c 15' (to extend the logical drive). Thanks for pointing that out :-)

Pity that doesn't work on your box, maybe worth logging a call at HP for ?

Cheers
an engineer's aim in a discussion is not to persuade, but to clarify.
Torsten.
Acclaimed Contributor

Re: issue

Hi,

do not extend the logical drive unless you want to re-create your VG configuration.

Up to HP-UX 11i v2 the OS is not able to handle an increased LUN size.
The size will remain the same from LVM point of view.

This is changed in 11.31.

I would recommend to create a new logical drive and add this to your VG.

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!