Wednesday, 9 July 2014

CELL-02523 when creating : cellcli -e create cell


When creating cell disk I am getting the CELL-02523.

Error:

[root@localhost raw]# cellcli -e "create cell interconnect1=eth1"
Cell localhost successfully created
Starting CELLSRV services...

The STARTUP of CELLSRV services was successful.
Flash cell disks, FlashCache, and FlashLog will be created...
No cell disks qualified for this create operation
Flash log localhost_FLASHLOG successfully created, but the following cell disks                                                                              were degraded because their statuses are not normal: FD_00_exadata_lab_1, FD_01_exadata_lab_1, FD_02_exadata_lab_1,FD_03_exadata_lab_1,FD_04_exadata_lab_1, FD_05_exadata_lab_1

CELL-02523: Celldisk name is invalid.

Diag:
cellcli -e  list physicaldisk
[root@localhost raw]# cellcli -e  list lun
[root@localhost raw]# cellcli -e  list celldisk
[root@localhost raw]# cellcli -e  list celldisk where
status=importForceRequired

Solution:
This luns are picked from the cloned server of old VM Exadata simulation., So the headers of luns are with old cell disk details.
So I droped all the celldisk with importForceRequired status.
[root@localhost raw]# for i in `cellcli -e  list celldisk where status=importForceRequired|awk '{print $1}'`
do
cellcli -e drop celldisk $i force
done

Then find the list of luns for exadata simulation and clean the header of the lun.
Note: Before executing dd command for formatting the headers of the luns, please be sure. After this you will not be able to get data from the lun.

[root@localhost raw]# for i in /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh /dev/sdi /dev/sdj /dev/sdk /dev/sdl /dev/sdm /dev/sdn /dev/sdo /dev/sdp /dev/sdq /dev/sdr /dev/sds
do
  dd if=/dev/zero of=$i bs=1M count=20
done

2 comments:

Yong Huang said...
This comment has been removed by the author.
Yong Huang said...

Simplify the list to
for i in /dev/sd{b..s};
do