Disk Enclosures
1745832 Members
4284 Online
108723 Solutions
New Discussion юеВ

Not able to remove the LUN from Disk Array

 
prasathc_1
Frequent Advisor

Not able to remove the LUN from Disk Array

Hi All
I hvae one D Class machine[D370], with 10.20 OS configured "Disk Array 12H".
Now i want to reinstall the OS on that machine so i planned to delete the configured LUN in that Disk Array, when i tryed to delete the LUN from the Diskarray it's giving the following error message

# /opt/hparray/bin/arraycfg -L 0 -d 0000000E915E

Error in command execution, "RMT_ARMERRORSTATUS_MSG"

ARMERR : ERR_COMMAND_FAILED
ARMERR Qual : DELETE_LUN
MODULE_CODE_ID : SUBSYSTEM
OS LAYER ID : HP-UX
COMMAND STATE : An OEM errno was returned
ERROR NUMBER : 16
OEM MESSAGE : "Device busy"

arraycfg: Error in command execution.

Can anybody help me out to solve this problem.

Thanks in Advance.
Prasath C
If u fail to plan, U plan to fail
6 REPLIES 6
Jeff Schussele
Honored Contributor

Re: Not able to remove the LUN from Disk Array

Hi Prasath,

Try

# /opt/hparray/bin/arraycfg -dL 0000000E915E

LUN # should follow the -L.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jeff Schussele
Honored Contributor

Re: Not able to remove the LUN from Disk Array

Sorry....you obviously did that....
If you're trying to delete the LUN containing vg00 - forget it - you'll never be able to. It will *always* be busy.
After rereading your post I'd advise you just install the OS & don't bother deleting the LUN.....just overwrite it.
You are installing/reinstalling an OS, right?
Just run 2 make_recovery tapes in case you might need an org file.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
prasathc_1
Frequent Advisor

Re: Not able to remove the LUN from Disk Array

Hi Jeff

The whole disk array mounted as follows.
/dev/vg101/lvol1 66093384 21243145 41545569 34% /ignite.

3 LUN was created in that disk array.

But we don't want it as a sigle mount point. That's y i want to delete the LUN in that before going for OS installation.

If i install OS in that machine without deleteing LUN then how can i create LUN or over write.

Can you pls tell the procedure.

Thanks in Advance
Prasath C
If u fail to plan, U plan to fail
Eugeny Brychkov
Honored Contributor

Re: Not able to remove the LUN from Disk Array

If you really want to kill the LUN use Autoraid's front panel. It's the simplest way
Eugeny
Steve Labar
Valued Contributor

Re: Not able to remove the LUN from Disk Array

I would definitely recommend a backup before any of this. Try unmounting your mount points, then removing the VG that refers to the 12h LUN. Then you shouldn't have any more problems deleting.

Good Luck.

Steve
Bill McNAMARA_1
Honored Contributor

Re: Not able to remove the LUN from Disk Array

/dev/vg101/lvol1 66093384 21243145 41545569 34% /ignite.

cd /
umount /ignite
vgexport vg101 (note: vg101 now doesn't exist)
(if you want to get it back you can always vgimport)

but, delete the lun now as you have attempted already. If it doesn't work, arraydsp -a, the LUN 0 could just be a "phantom lun"

Later,
Bill
It works for me (tm)