Thursday, 17 July 2014

To know relation between Physical disk,Lun,Partition,Cell disk and Gird/Flash Disk - Part3


My previous post on storage with exadata 
+ To know alias of a celldisk and their Physical Lun details.
PHYSICAL DISK <-> LUN <-> CELL DISK <-> GRID/flash DISK/flash log
cellcli -e List Celldisk where name = aliascelldiskname detail
+ To know alias name of all celldisk and their Physical Lun details.
cellcli -e list celldisk ATTRIBUTES name,diskType,lun

A small shell script with will help to give all the Cell disk and there Physical lun details.
a=`cellcli -e List Celldisk |awk '{print $1}'`;
for file in $a ;
do
echo "################### - Cell disk $file - #############################"
cellcli -e List Celldisk where name = $file detail ;
echo "################### - END - #############################"
done



No comments: