Delete EVA LUN

CLI using sssu

array02> ls vdisk

Vdisks available on this Cell:

\Virtual Disks\Database\clust02\db_disk1\ACTIVE
\Virtual Disks\TestSystems\rac\aktest1\ACTIVE
\Virtual Disks\TestSystems\rac\db-disk\ACTIVE
\Virtual Disks\TestSystems\rac\ocr-disk1\ACTIVE
\Virtual Disks\TestSystems\rac\ocr-disk2\ACTIVE
\Virtual Disks\TestSystems\rac\vote-disk1\ACTIVE
\Virtual Disks\TestSystems\rac\vote-disk2\ACTIVE
\Virtual Disks\TestSystems\rac\vote-disk3\ACTIVE
\Virtual Disks\TestSystems\test01\Vdisk001\ACTIVE
\Virtual Disks\test2vdisk\ACTIVE


array02> delete vdisk "\Virtual Disks\TestSystems\test01\Vdisk001"

Error: Cannot delete Vdisks when LUNs are still present.
       Delete all LUNS associated with this STORAGE first

array02> ls lun

LUNs available on this Cell:
  ...edited...
  \Hosts\Test\test-rac01\6
  \Hosts\Test\test-rac02\6
  \Hosts\Test\test01\1
array02> 

In sssu speak on the cli, “deleting a LUN” is the GUI equivalent of “Unpresenting a vdisk”, deleting the vdisk actually does delete the virtual disk.

array02> delete lun \Hosts\Test\test01\1

array02> delete vdisk "\Virtual Disks\TestSystems\test01\Vdisk001"

array02> delete folder "\Virtual Disks\TestSystems\test01"

array02> 

VDISK is now deleted on EVA8000.

GUI Method via Web interface

Process

  1. Log in to management interface.
  2. Select Storage array, Select vdisk.
  3. Check WW LUN id and presentation.
  4. On the presented server (if any), check if LUN is in use or has paths available.
  5. If LUN is not mounted, unpresent disk. This may cause an alert in Nagios if previously available paths disappear.
  6. Delete LUN. Check and agree to multiple levels of warnings. Check again if in doubt.

Details

1

Log in to the management interface on sma01, https://sma01:2372/Login

2

deletelun1.png Select the LUN you wish to delete in the left hand side.
Ensure you select the correct EVA (array01 or array02).
Expand out the “Virtual Disks” link and any contained virtual drive folders.
This will show some tabs, General, Presentation and Data Replication.

3

vdisk Properties Vdisk Properties,
Disk Presentation Check Disk Presentation.
Check the ww LUN name and the host(s) it is presented to, look in /etc/multgipath.conf to see if it is configured, but the LUN may have discovered by multipath, so a multipath -ll may show the LUN as presented. If this is the case, Nagios may detect a path loss when the LUN is unpresented. This is the be expected. The LUN may not mounted as a visible filesystem, check Oracle ASM disks, see View ASM disks.

5

On the Presentation Tab, click Unpresent, this will take you to the following screen:-

Unpresent LUN
Select the hosts to Unpresent to and click Unpresent hosts(s). You will be prompted several times about the severity of making a mistake.

Dire Warning:-

After a successful unpresent, you should see Operation succeeded. Click OK and select the same disk again to continue with the deletion of the LUN.

6

 
rb/evadeletelun.txt · Last modified: 28/08/2019 13:45 by 127.0.0.1