On my HP Proliant server I have hot added 2 extra drives. To expand the current raid 1 array I used the following commands:
hpacucli ctrl slot=0 logicaldrive 1 modify raid=1+0
hpacucli ctrl slot=0 ld 1 add drives=allunassigned
Now the logicaldrive looks like this:
# hpacucli ctrl slot=0 logicaldrive 1 show
Smart Array P410i in Slot 0 (Embedded)
array A
Logical Drive: 1
Size: 136.7 GB
Fault Tolerance: RAID 1+0
Heads: 255
Sectors Per Track: 32
Cylinders: 35132
Strip Size: 256 KB
Status: OK
Array Accelerator: Enabled
Unique Identifier: **************************
Disk Name: /dev/sda
Mount Points: /boot 511 MB
Logical Drive Label: **************************
Mirror Group 0:
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, OK)
Mirror Group 1:
physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB, OK)
physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 300 GB, OK)
Now the size is this 136.7 GB, so I tried the following command, but got a warning:
# hpacucli ctrl slot=0 logicaldrive 1 modify size=max
Warning: Extension may not be supported on certain operating systems.
Performing extension on these operating systems can cause data to
become inaccessible. See ACU documentation for details. Continue?
(y/n)
I'm wondering what could happen if I say yes and if it's save to do this on a running installation.
Details: 64 bit debian squeeze (proxmox VE 2) with kernel 2.6.32-16-pve.