MSA Storage
cancel
Showing results for 
Search instead for 
Did you mean: 

MSA1000 - expanding the array to create more LUNs

 
EU-Admins-UNIX
Regular Advisor

MSA1000 - expanding the array to create more LUNs

Hi

 

I have an MSA1000 attached to an RP8420 running HP-UX 11.31.

 

The MSA1000 has 42 146GB disks (40 data and 2 spare).

 

data

 

disk101 - disk114

disk201 - disk214

disk301 - disk312

 

spare

 

disk313 - disk314

 

We have 3GB space left.

 

Total Space On Array = 1406271 MB
Total Space Used On Array = 1402762 MB
Free Space On Array = 3509 MB
The maximum size of a volume with the specified raid level is 1749MB.
Not enough physical space available for the volume.

 

I have replaced the 12 146GB disks disk301 - disk312 with 300GB disks and they have been recognised in the show disks output, as have the 2 new 300GB spares

 

Disk301 3,01 3,00 300.0 GB 160 MB/s 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22
Disk302 3,02 3,01 300.0 GB 160 MB/s 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22
Disk303 3,03 3,02 300.0 GB 160 MB/s 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22
Disk304 3,04 3,03 300.0 GB 160 MB/s 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22
Disk305 3,05 3,04 300.0 GB 160 MB/s 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22
Disk306 3,06 3,05 300.0 GB 160 MB/s 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22
Disk307 3,07 3,08 300.0 GB 160 MB/s 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22
Disk308 3,08 3,09 300.0 GB 160 MB/s 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22
Disk309 3,09 3,10 300.0 GB 160 MB/s 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22
Disk310 3,10 3,11 300.0 GB 160 MB/s 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22
Disk311 3,11 3,12 300.0 GB 160 MB/s 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22
Disk312 3,12 3,13 300.0 GB 160 MB/s 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22
Disk313 3,13 3,14 300.0 GB 160 MB/s 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22 (spare)
Disk314 3,14 3,15 300.0 GB 160 MB/s 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22 (spare)

 

My question is how do I make these replacement larger disks usable, as mentioned before I only have abuyt 3GB left and would like to create some more LUNs to extend some VG's as, afaik, one cannot extend LUN's on HP-UX dynamically using MSA1000 CLI extend unit command.

 

Regards

 

Tariq

18 REPLIES 18
Torsten.
Acclaimed Contributor

Re: MSA1000 - expanding the array to create more LUNs

Question is, extending the existing LUNs on the array or create new LUNs?

The LVM can work with LUN extension.

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!   
EU-Admins-UNIX
Regular Advisor

Re: MSA1000 - expanding the array to create more LUNs

Basically I want to first of all find out how to introduce the new capacity into the array, then use the space.

I was wondering if it was possible to extend the current LUNs whilst they are used in LVM.  Is this possible? 

Are there any restrictions on dynamic LUN extension?

 

Regards

 

Tariq

Torsten.
Acclaimed Contributor

Re: MSA1000 - expanding the array to create more LUNs

I did this long long time ago with a MSA1000. AFAIR you can use the CLI to either extend the LUNs or create new LUNs. On the HP-UX side you can use "vgmodify" to adjust the growing LUN.

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!   
EU-Admins-UNIX
Regular Advisor

Re: MSA1000 - expanding the array to create more LUNs

Sorry Torsten, maybe I wasn't clear.

 

The initial problem I am having is that I am unable to use the extra capacity put into the array.  Even after putting in the 300GB disks, I am still being told I only have 3GB left avaiable.

 

Hope this helps.

 

Regards

 

 

Tariq

adelgado
Frequent Advisor

Re: MSA1000 - expanding the array to create more LUNs

I've just replaced and expanded 3 146GB disk array with 6 300 GB Disk on a MSA1000.

 

To do so, I first remove the LUN's and Array that was set with two 72GB disk from array B, then, I replace one by one of the 3 146 Gb of Array B. Once replaced those 3 disks, I expanded the array, and recognized me the new capacity. Finally, I add the last 2 300 Gb, and once again expanded array B, to the full capacity.

 

As I was running out of space on file server, and was the one that has assigned the LUN of array B, I extended the LUN for the capacity I desired.

 

Now I still have 700 Gb available to assign.

 

Regards,

Senior Systems Administrator
EU-Admins-UNIX
Regular Advisor

Re: MSA1000 - expanding the array to create more LUNs

Hi All

 

Maybe I've not made this clear, so I apologise if I haven't.

 

One large RAID group was created across all 42 x 146GB disks.  LUNs were created across all the physical disks upon which LV's and FS's were created.  2 x 146GB disks remained spare.

 

I replaced the 14 x 146GB disks in the 3rd tray with 14 x 300GB disks (12 data and 2 spare).  The MSA rebuild onto the new disks, and the 12 x 300GB became part of the 1 big RAID group.

 

Now there is spare capacity, how do I utilise this new capacity?  For example, I have a 500GB LUN with a VG, LV & FS built on it.  Now I have extra space, I would like to create, eg, a 100GB LUN and add it to the above VG etc to increase the LV to 600GB.

 

Is this possible without having to rebuild the array from scratch?

 

Regards

 

Tariq

 

 

Torsten.
Acclaimed Contributor

Re: MSA1000 - expanding the array to create more LUNs

Do you have all the expected new available space now?

As said, you may now create new LUNs or extend the existing LUNs, this is up to you. For the CLI syntax you may need to read the manual - I can't remember it exactly now...

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!   
Torsten.
Acclaimed Contributor

Re: MSA1000 - expanding the array to create more LUNs

This should help:

http://h10032.www1.hp.com/ctg/Manual/c01183955.pdf

HP StorageWorks
1000/1500 Modular Smart Array Command Line
Interface user guide


see "expanding an array" and "extending a LUN"


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!   
EU-Admins-UNIX
Regular Advisor

Re: MSA1000 - expanding the array to create more LUNs

Hi Torsten

 

msa> add unit 21 data="DISK101-DISK114 DISK201-DISK214 DISK301-DISK312" spare="DISK313-DISK314" raid_level=1 stripe_size=128 size=100gb
Total Space On Array = 1406271 MB
Total Space Used On Array = 1402762 MB
Free Space On Array = 3509 MB
The maximum size of a volume with the specified raid level is 1749MB.
Not enough physical space available for the volume.

 

I'm still only showing 3GB available.  Surely I musy have more than that available.

 

Regards

 

Tariq

EU-Admins-UNIX
Regular Advisor

Re: MSA1000 - expanding the array to create more LUNs

I have the manual and have tried extending and expanding, but nothing works.

 

Regards

 

Tariq

Torsten.
Acclaimed Contributor

Re: MSA1000 - expanding the array to create more LUNs

Could you do a "show unit" for the existing LUNs? (try "show units")

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!   
EU-Admins-UNIX
Regular Advisor

Re: MSA1000 - expanding the array to create more LUNs

Attached

Torsten.
Acclaimed Contributor

Re: MSA1000 - expanding the array to create more LUNs

And a show disks, please.

(txt file is ok, please not a word file)

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!   
Torsten.
Acclaimed Contributor

Re: MSA1000 - expanding the array to create more LUNs

>> msa> add unit 21 data="DISK101-DISK114 DISK201-DISK214 DISK301-DISK312" spare="DISK313-DISK314" raid_level=1 stripe_size=128 size=100gb

You can do this on the disks 301 to 312 only, the other disks are likely full.

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!   
EU-Admins-UNIX
Regular Advisor

Re: MSA1000 - expanding the array to create more LUNs

attached

Torsten.
Acclaimed Contributor

Re: MSA1000 - expanding the array to create more LUNs

LUNs 1 to 22 are on all disks (101 - 312), so the smaller disks are now full.

 

You could only try to create another LUN on the remaining bigger drives 301 to 312.


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!   
EU-Admins-UNIX
Regular Advisor

Re: MSA1000 - expanding the array to create more LUNs

server-msa> add unit 23 data="disk301-disk312" spare="disk313-disk314" raid_level=1 stripe_size=128 size=100gb
Unit 23 can NOT be created because of volume overlapping!
Usage: 'add unit <#> raid_level=R
data=diskrange
[spare=diskrange]
[stripe_size=S]
[size=X<GB|MB>]
[max_boot=<enable/disable>]
[cache=<enable/disable>]
#={0-31} / R={0,1,5,ADG} / X={positive integer} / S={8,16,32,64,128,256}
diskrange examples: DISK101
DISK101-DISK105
"DISK101 DISK112-DISK202 DISK314"
DISKxyy: x={1,2,3} (box #) / yy={01-14} (bay #)
ex: DISK111 - disk in box 1, bay 11
max_boot is enabled by default. it can be disabled for OS's that don't
support the creation of bootdrives > 4GB
cache is enabled by default. enables/disables cache for the new unit.
add unit creates a new logical unit using the specified settings

Torsten.
Acclaimed Contributor

Re: MSA1000 - expanding the array to create more LUNs

This is what I expected.

All 40 disks are part of the array, the smallest disk (146GB) sets the limit of size.

In the configuration you currently have, the additional space is just wasted. The only way around is to backup all the data, create an array on the 146GB disks, another array on the 300GB disks, create the LUNs you need and restore the data.

IMHO this is the only way, unless you replace all 146GB disks with 300GB.

 

 

 

From the user guide:

 

Use physical drives of comparable capacity.
ACU uses the same amount of space from each physical drive to build an
array. Because this amount cannot exceed the capacity of the smallest
drive, the extra capacity of any larger drive in the array is unused.

 

From Install Guide:

 

Hard Drive Sizes and Types
Arrays should be composed of hard drives of the same size and type. When drive
types are mixed within a storage enclosure,the usable capacity and the processing
ability of the entire storage sub-system is affected.
Fo r e x a m p l e, when an array is composed of different sized drives, the array
defaults to the smallest individual drive size, and capacity in the larger drives goes
unused. Similarly, when different drive types are included in the same enclosure,
the processing characteristics of the entire enclosure are reduced to that of the
slowest drive.

 

 

 

 

 

Sorry.

 


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!