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

Couldn't delete logical drive (saconfig -D)

 
Denis Zhuravlev
Occasional Advisor

Couldn't delete logical drive (saconfig -D)

I had logical drive with (RAID 0) (test system).
One disk fails, and I replaced it.

Now I want delete old logical drive and create new.

============================================
# saconfig /dev/ciss0
******************** SmartArray RAID Controller /dev/ciss0 ********************

Auto-Fail Missing Disks at Boot = enabled
Cache Configuration Status = cache enabled
Cache Ratio = 25% Read / 75% Write
---------- PHYSICAL DRIVES ----------
Location Ct Enc Bay WWID Size Status
Internal 2I 1 4 0x5000c5000f15b669 73.4 GB OK
Internal 2I 1 3 0x5000c5000ed98791 73.4 GB OK
Internal 2I 1 2 0x5000c5000f1668dd 73.4 GB OK
Internal 2I 1 1 0x500000e111b7bdb2 73.4 GB OK

.......

Participating Spare Drive(s):
None
---------- LOGICAL DRIVE 1 ----------
Device File = c0t0d1
RAID Level = 0
Size = 139947 MB
Stripe Size = 16 KB
====>Status = FAILED<====
Participating Physical Drive(s):
Ct Enc Bay WWID
2I 1 2 0x5000c5000f1668dd
2I 1 1 0x500000e111b7bdb2
============================================

# saconfig /dev/ciss0 -D 1
Are you sure you want to delete logical drive 1 on
SmartArray RAID controller /dev/ciss0? (y/[n]): y
Logical drive 1 is in use and can't be deleted
please see /var/adm/cra.log for more details
saconfig (/dev/ciss0): Current driver state is READY
============================================
# tail -25 /var/adm/cra.log
CRA REPORT SUMMARY:
One or more subsystems queried for Critical Resources Analysis(CRA)
reported FAILURE. The usage analysis could not be completed
successfully.

CRA DETAILED REPORT:

ANALYSIS SCOPE: MASS STORAGE
This report provides details of any critical mass storage hardware path usages
in the system.

RESULT: FAILURE error occurred during analysis

DETAILED REPORT: Analyzed the following LUN hardware paths to detect any us
ages in the system:
could not find the token for this lun _CrA_BuF_EnD_
============================================

HP-UX B.11.31
PCIe SAS SmartArray P400 RAID Controller

How delete failed logical drive?
3 REPLIES
Denis Zhuravlev
Occasional Advisor

Re: Couldn't delete logical drive (saconfig -D)

# tail /var/adm/syslog/syslog.log

Nov 16 12:23:05 ... syslog: MSCRA: errno -24
Torsten.
Acclaimed Contributor

Re: Couldn't delete logical drive (saconfig -D)

I would try from ORCA (offline) 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!   
Denis Zhuravlev
Occasional Advisor

Re: Couldn't delete logical drive (saconfig -D)

>I would try from ORCA (offline) now.
I want to understand is possible do it online or not. I can wait for solution.