System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

hpacucli: Error while deleting array

 
SOLVED
Go to solution
Highlighted
New Member

hpacucli: Error while deleting array

Hi,


this is my controller config:

=> controller all show config

Smart Array 5i in Slot 0 ()

array A (Parallel SCSI, Unused Space: 0 MB)

logicaldrive 1 (67.8 GB, RAID 1+0, OK)

physicaldrive 2:0 (port 2:id 0 , Parallel SCSI, 72.8 GB, OK)
physicaldrive 2:1 (port 2:id 1 , Parallel SCSI, 72.8 GB, OK)

array B (Parallel SCSI, Unused Space: 0 MB)

logicaldrive 2 (67.8 GB, RAID 0, OK)

physicaldrive 2:5 (port 2:id 5 , Parallel SCSI, 72.8 GB, OK)

I want to delete Array B. So I tried the following commands:

=> controller slot=0 array B delete forced

Warning: Deleting an array can cause other array letters to become renamed.
E.g. Deleting array A from arrays A,B,C will result in two remaining
arrays A,B ... not B,C


Error: Could not delete array B

=> controller slot=0 logicaldrive 2 delete

Warning: Deleting an array can cause other array letters to become renamed.
E.g. Deleting array A from arrays A,B,C will result in two remaining
arrays A,B ... not B,C


Warning: Deleting the specified device(s) will result in data being lost.
Continue? (y/n) y


Error: Could not delete array B


Have somenone has an idea why I can't delete my array?


Thanks,
Danica
7 REPLIES 7
Highlighted
Exalted Contributor
Solution

Re: hpacucli: Error while deleting array

Shalom Danica,

Not sure you gave enough information for an answer. I would surmise that you have a raid configuration that is spread across disk array a and b.

There is interdependency and you may need to delete both disk arrays.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Highlighted
Honored Contributor

Re: hpacucli: Error while deleting array

Logical drives cannot span disk drive arrays.

If the picture is complete, then LD2 is just a simple JBOD (although the SmartArray calls it "RAID 0", sigh).

Danica,
can you try to delete just the logical drive 2?
.
Highlighted
New Member

Re: hpacucli: Error while deleting array

@Steven:
Thanks for your reply. You're probably right. The two arrays are interdependant.
So I tried to delete the whole controller configuration :

=> controller slot=0 delete
Warning: Deleting the specified device(s) will result in data being lost.
Continue? (y/n) y
Error: Could not clear configuration. Please check your configuration for
possible hardware or configuration problems. Use the "show" command on
devices to show additional details about the configuration.

But it doesn't work. If I try to delete only array A, the same error is thrown.
So I tried to set the raid of array A to 1 (for physical drive 2:0 and 2:1):

=> controller slot=0 ld 1 modify raid=1

After changing the value, the config didn't change :-(
=> controller slot=0 array A ld 1 show

Smart Array 5i in Slot 0

array A

Logical Drive: 1
Size: 67.8 GB
Fault Tolerance: RAID 1+0
Heads: 255
Sectors Per Track: 32
Cylinders: 17433
Stripe Size: 128 KB
Status: OK
Array Accelerator: Enabled
Unique Identifier: 600508B1001FFFFFA0000421AE7E0005
Disk Name: /dev/cciss/c0d0
Mount Points: /boot 123 MB, none 2.6 GB, / 4.7 GB, /var 60.4 GB
Logical Drive Label: A0000421AE7E

Have you got any idea, how I can delete my config?
Highlighted
New Member

Re: hpacucli: Error while deleting array


@Uwe:
Thanks for your reply. I already tried to delete the logicaldrive 2, but it doesn't work.
Here the command:
=> controller slot=0 ld 2 delete

Warning: Deleting an array can cause other array letters to become renamed.
E.g. Deleting array A from arrays A,B,C will result in two remaining
arrays A,B ... not B,C


Warning: Deleting the specified device(s) will result in data being lost.
Continue? (y/n) y


Error: Could not delete array B
Highlighted
Honored Contributor

Re: hpacucli: Error while deleting array

Hello,

Looks like a bug/issue with hpacucli. I have seen this at times in the past, the only resolution I know of is to reboot, and enter the ACU on bootup and make the necessary adjustments.
Highlighted
New Member

Re: hpacucli: Error while deleting array

Hi Kevin,


thanks a lot for that tip. It works for me.


Regards,
Danica
Highlighted
New Member

Re: hpacucli: Error while deleting array

It was certainly a bug in hpacucli. While restarting the server, I configured the RAID Controller in the RAID-Setup. There I could delete the unused array.