命令整理:
注:(c代表Controller, e代表Enclosure,s代表Slot或PD,v代表ld)。
1、
显示坏块:
cd /opt/lsi/storcli/ && ./storcli /c0 show
./storcli /c0 show badblocks
cd /opt && ./storcli64 /c0 show badblocks #显示磁盘坏道的信息
esxi显示坏块:
cd /opt/lsi/storcli && ./storcli /c0 show badblocks
xen显示坏块:
cd /opt && ./storcli64 /c0 show badblocks
查看log日志信息:
./storcli /c0 show alilog
./storcli64 /c0 show alilog
查看日志有没有记录坏块:
./storcli /c0 show alilog | grep -i bad
./storcli /c0 show alilog | grep -i "Bad Block Count"
查看控制信息:
./storcli show all #Number of Controllers = 1,代表有一个控制器
先查物理磁盘信息:
./storcli /c0/eall/sall show
简单显示物理磁盘状态:
./storcli /c0 /eall /sall show
再查看物理磁盘和虚拟磁盘对应关系&#x