Hi Everyone,
I need your help in understanding what is wrong. Your help would be highly appreciated.
I have installed MegaCli utility to create logical drives on my solaris 11.1 machine. When I create any logical drive and try to delete it later, MegaCli complains that the drive is a logical drive.
However, if I use the -force option then the drive is deleted. However, I dont understand why does MegaCli complain that the drive is a OS drive. Is the issue in MegaCli utility, or in Solaris 11.1 or am I doing any thing wrong.
1. Checking for available logical drives(Result shows the logical drive in which OS is installed)
root@solaris:~# format < /dev/null
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c7t0d0 <LSI-MR9261-8i-2.12-557.86GB>
/pci@0,0/pci8086,3c0a@3,2/pci1000,9263@0/sd@0,0
Specify disk (enter its number):
2. Creating a RAID1 logical drive
root@solaris:~# /opt/MegaRAID/CLI/MegaCli -CfgLDAdd -R1[252:2,252:3] -a0
Adapter 0: Created VD 1
Adapter 0: Configured the Adapter!!
Exit Code: 0x00
3. Checking if the drive is created
root@solaris:~# format < /dev/null
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c7t0d0 <LSI-MR9261-8i-2.12-557.86GB>
/pci@0,0/pci8086,3c0a@3,2/pci1000,9263@0/sd@0,0
1. c7t1d0 <LSI-MR9261-8i-2.12 cyl 566 alt 2 hd 255 sec 8064> solaris
/pci@0,0/pci8086,3c0a@3,2/pci1000,9263@0/sd@1,0
Specify disk (enter its number):
4. Trying to delete the created logical drive
root@solaris:~# /opt/MegaRAID/CLI/MegaCli -CfgLDDel -L1 -a0
Virtual Disk 1 is an OS drive - cannot be deleted without force option.
Exit Code: 0x01
5. Using -force option with the above command since it complains that the logical drive just created is OS drive.
root@solaris:~# /opt/MegaRAID/CLI/MegaCli -CfgLDDel -L1 -force -a0
Adapter 0: Deleted Virtual Drive-1(target id-1)
Exit Code: 0x00
6. The drive gets deleted with -force option
root@solaris:~# format < /dev/null
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c7t0d0 <LSI-MR9261-8i-2.12-557.86GB>
/pci@0,0/pci8086,3c0a@3,2/pci1000,9263@0/sd@0,0
Specify disk (enter its number):
Please help me in understanding as to why the logical drive I created is being considered an OS drive.
Thanks,
Anirudh