LVM and VxVM
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I add 3 new disks to an existing Raid Set on MSA30 HP UX 11v3?

 
EU-Admins-UNIX
Regular Advisor

Can I add 3 new disks to an existing Raid Set on MSA30 HP UX 11v3?

Hi

 

My saconfig /dev/ciss0 is as below.

 

******************** SmartArray RAID Controller /dev/ciss0 ********************

 

Auto-Fail Missing Disks at Boot     = enabled

Cache Configuration Status          = cache enabled

Cache Ratio                         = 50% Read / 50% Write

 

---------- PHYSICAL DRIVES ----------

 

Location       Ch   ID   Size           Status

 

External       1    0    300.0 GB       OK

External       1    1    300.0 GB       OK

External       1    2    300.0 GB       OK

External       1    3    300.0 GB       OK

External       1    4    300.0 GB       UNASSIGNED

External       1    5    300.0 GB       UNASSIGNED

External       2    2    300.0 GB       UNASSIGNED

External       2    3    300.0 GB       OK

External       2    4    300.0 GB       OK

External       2    5    300.0 GB       OK

External       2    8    300.0 GB       SPARE

 

---------- LOGICAL DRIVE 0 ----------

 

Device File     = c0t0d0

RAID Level      = 5

Size            = 307196 MB

Stripe Size     = 16 KB

Status          = OK

 

Participating Physical Drive(s):

 

Ch   ID

 

1    0

1    1

1    2

1    3

2    3

2    4

2    5

 

Participating Spare Drive(s):

 

Ch   ID

 

2    8

 

---------- LOGICAL DRIVE 1 ----------

 

Device File     = c0t0d1

RAID Level      = 5

Size            = 5119 MB

Stripe Size     = 16 KB

Status          = OK

 

Participating Physical Drive(s):

 

Ch   ID

 

1    0

1    1

1    2

1    3

2    3

2    4

2    5

 

Participating Spare Drive(s):

 

Ch   ID

 

2    8

 

---------- LOGICAL DRIVE 2 ----------

 

Device File     = c0t0d2

RAID Level      = 5

Size            = 81918 MB

Stripe Size     = 16 KB

Status          = OK

 

Participating Physical Drive(s):

 

Ch   ID

 

1    0

1    1

1    2

1    3

2    3

2    4

2    5

 

Participating Spare Drive(s):

 

Ch   ID

 

2    8

 

---------- LOGICAL DRIVE 3 ----------

 

Device File     = c0t0d3

RAID Level      = 5

Size            = 153597 MB

Stripe Size     = 16 KB

Status          = OK

 

Participating Physical Drive(s):

 

Ch   ID

 

1    0

1    1

1    2

1    3

2    3

2    4

2    5

 

Participating Spare Drive(s):

 

Ch   ID

 

2    8

 

---------- LOGICAL DRIVE 4 ----------

 

Device File     = c0t0d4

RAID Level      = 5

Size            = 5119 MB

Stripe Size     = 16 KB

Status          = OK

 

Participating Physical Drive(s):

 

Ch   ID

 

1    0

1    1

1    2

1    3

2    3

2    4

2    5

 

Participating Spare Drive(s):

 

Ch   ID

 

2    8

 

---------- LOGICAL DRIVE 5 ----------

 

Device File     = c0t0d5

RAID Level      = 5

Size            = 81918 MB

Stripe Size     = 16 KB

Status          = OK

 

Participating Physical Drive(s):

 

Ch   ID

 

1    0

1    1

1    2

1    3

2    3

2    4

2    5

 

Participating Spare Drive(s):

 

Ch   ID

 

2    8

 

---------- LOGICAL DRIVE 6 ----------

 

Device File     = c0t0d6

RAID Level      = 5

Size            = 409594 MB

Stripe Size     = 16 KB

Status          = RECOVERING

Recovering      = 99.09% Done

 

Participating Physical Drive(s):

 

Ch   ID

 

1    0

1    1

1    2

1    3

2    3

2    4

2    5

 

Participating Spare Drive(s):

 

Ch   ID

 

2    8

 

---------- LOGICAL DRIVE 7 ----------

 

Device File     = c0t0d7

RAID Level      = 5

Size            = 204796 MB

Stripe Size     = 16 KB

Status          = READY FOR RECOVERY OPERATION

 

Participating Physical Drive(s):

 

Ch   ID

 

1    0

1    1

1    2

1    3

2    3

2    4

2    5

 

Participating Spare Drive(s):

 

Ch   ID

 

2    8

 

---------- LOGICAL DRIVE 8 ----------

 

Device File     = c0t1d0

RAID Level      = 5

Size            = 102398 MB

Stripe Size     = 16 KB

Status          = READY FOR RECOVERY OPERATION

 

Participating Physical Drive(s):

 

Ch   ID

 

1    0

1    1

1    2

1    3

2    3

2    4

2    5

 

Participating Spare Drive(s):

 

Ch   ID

 

2    8

 

I added the 3 new disks (unassigned) yesterday.  I would like to add these 3 disks to the existing RAID 5 group so that all the Logical Drives and the 3 new ones I want to create have all 10 physical drives participating (7 existing and 3 new), and all share the same spare.

 

Is this possible?

 

regards

 

Tariq

3 REPLIES 3
Torsten.
Acclaimed Contributor

Re: Can I add 3 new disks to an existing Raid Set on MSA30 HP UX 11v3?

Here is example about what you can do:

(you need to adjust the disk and drive numbers to your needs!)

 

Create a new RAID5 logical drive on 3 disks with 10 GB size:

 

# saconfig /dev/ciss3 -R 5 -p 1:0 -p 1:1 -p 1:2 -c 10

 Logical drive 1 created

 

Extend this drive from 10 to 20GB:

 

# saconfig /dev/ciss3 -E 1 -c 20

Logical drive 1 extended from 10.0 GB to 20 GB in capacity

 

Try to extend it again:

 

# saconfig /dev/ciss3 -E 1 -c 80

Option -c 80 GB is larger than available space on logical drive 1

 

OK, add a new disk drive:

 

# saconfig /dev/ciss3 -E 1 -p 1:3

Logical drive 1 expanded from 3 to 4 physical drives

 

Now try again to extend:

 

# saconfig /dev/ciss3 -E 1 -c 80      

Logical drive 1 extended from 60.0 GB to 80 GB in capacity

 

 

 

I hope you find the steps you need. You need to expand all logical drives to the new disks that you want to extend later.

 

 

Once the logical drive is larger, you need to use "vgmodify" to make LVM aware of this.


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: Can I add 3 new disks to an existing Raid Set on MSA30 HP UX 11v3?

Hi

 

Been away from the forum for a while.

 

Anyway, thanks for your reply Torsten.

 

My aim is not to extend any LV's, but introduce and utilise 3 new 300GB disks cross all the current LV's, as well as have the extra capacity to create 3 new LV's.

 

Regards

 

Tariq 

Torsten.
Acclaimed Contributor

Re: Can I add 3 new disks to an existing Raid Set on MSA30 HP UX 11v3?

As said, extend the existing logical drives to the new disks like this example:

 

# saconfig /dev/ciss3 -E 1 -p 1:3

Logical drive 1 expanded from 3 to 4 physical drives

 

 

Then you will have space to create new logical drives accross all the drives.


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!