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.
Log in to the management interface on sma01, https://sma01:2372/Login
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.
Vdisk Properties,
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.
On the Presentation Tab, click Unpresent
, this will take you to the following screen:-
Select the hosts to Unpresent to and click Unpresent hosts(s)
. You will be prompted several times about the severity of making a mistake.
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.