Operating System - Linux
1752774 Members
5224 Online
108789 Solutions
New Discussion

cannot remove mirror using hpacucli

 
Sorin Serban
New Member

cannot remove mirror using hpacucli

Hi!
I'm trying to use hpacucli in order to remove one physical disk from one of the arrays, in order to add it to another array.
I've tried various commands (remove, modify) but I keep getting errors.
Is it possible to do this operation online?
How?

See details below.

I am running 64 bit Oracle Enterprise Linux Server release 5 on HP ProLiant ML350 G5.

hpacucli shows:
HP Array Configuration Utility CLI 8.35-7.0
Smart Array E200i in Slot 0 (Embedded) (sn: QL75MV1555 )

=> ctrl all show config

Smart Array E200i in Slot 0 (Embedded) (sn: QL75MV1555 )

array A (SAS, Unused Space: 0 MB)


logicaldrive 1 (136.7 GB, RAID 1, OK)

physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)
physicaldrive 2I:1:7 (port 2I:box 1:bay 7, SAS, 300 GB, OK)


I'd like to obtain:
array A (SAS, Unused Space: 0 MB)

logicaldrive 1 (136.7 GB, RAID 0, OK)

physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)


unassigned

physicaldrive 2I:1:7 (port 2I:box 1:bay 7, SAS, 300 GB, OK)


The error:

=> ctrl slot=0 array A remove drives=2I:1:7

Error: This operation is not supported with the current configuration. Use the
"show" command on devices to show additional details about the
configuration.

Thank you.
1 REPLY 1
Matti_Kurkela
Honored Contributor

Re: cannot remove mirror using hpacucli

Looks like you cannot do it online.

The "remove" command is for removing spare drives only, and "delete" removes a logical drive, an array or the entire controller configuration. There is no command to remove an existing non-spare physical drive.

What you want to do is to "split" the array, so that it won't automatically start rebuilding.

See:
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c00378986/c00378986.pdf

After splitting the array in two, you can re-configure the other half as a separate object.

MK
MK