1840091 Members
2982 Online
110161 Solutions
New Discussion

IRM issues

 

IRM issues

Hi, i have 2 logical drives in the disk system, the first logical drive is the production partition, this drive is intouchable, the second logical drive is a raid 1 and is a test partition to the system, i want to delete this logical partition to release this disks to make 1 of them hot spare, but when i try to delete the logical drive said that:

Change Configuration Denied... The logical drive are busy. Terminate all applications using the apdapter and try again...

In my system this is the output of ioscan:

# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=========================================================================
disk 0 0/0/1/1.0.0 sdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
disk 1 0/0/1/1.2.0 sdisk CLAIMED DEVICE HP 36.4GMAM3367MC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 0/0/2/0.0.0 sdisk CLAIMED DEVICE HP 36.4GMAM3367MC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 4 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 5 0/4/2/1.0.0.0 sdisk CLAIMED DEVICE I2O RAID5
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
disk 6 0/4/2/1.0.0.1 sdisk CLAIMED DEVICE I2O RAID1
/dev/dsk/c4t0d1 /dev/rdsk/c4t0d1

The logical volume and volume group has already removed.

So, how can i delete the last logical drive without restart the equipment and not unmount the production filesystem.

thanks


i want to delete the last logical drive in the disk system,
2 REPLIES 2
TTr
Honored Contributor

Re: IRM issues

If I understand you correctly you want to delete the c4t0d1 LUN and irm says it is busy.

You are saying that the volume group and logical volume are already removed. Are they?

What is the output of "strings /etc/lvmtab" Is c4t0d1 in there?

Also what about "vgdisplay -v"? Is c4t0d1 in any of the volume groups?

I have not used a recent version of irm, but the one I have A.02.25 has an option "Delete Last Logical Drive" and based on the LUN numbers the one you want to delete is the last one.

Do you have a newer version that possibly has an option to release the LUN before deleting it?

Re: IRM issues

You are saying that the volume group and logical volume are already removed. Are they?
--> Yes.

What is the output of "strings /etc/lvmtab" Is c4t0d1 in there?
--> This is the output of the command.
# strings /etc/lvmtab
/dev/vg00
d?1[
/dev/dsk/c1t2d0
/dev/vg01
/dev/dsk/c2t0d0
/dev/dsk/c2t2d0
/dev/vg02
/dev/dsk/c1t0d0
/dev/vg03
/dev/dsk/c4t0d0


Also what about "vgdisplay -v"? Is c4t0d1 in any of the volume groups?
-->No.. attach is the output of the command.


I have not used a recent version of irm, but the one I have A.02.25 has an option "Delete Last Logical Drive" and based on the LUN numbers the one you want to delete is the last one.
--> I have the same version A.02.25

Do you have a newer version that possibly has an option to release the LUN before deleting it? i dont know if this version is the last, but i'll search...