Identifying the replacement drive

来源:互联网 发布:mac 铃声制作 编辑:程序博客网 时间:2024/05/05 03:23

From the bash shell, 'tail /var/adm/messages' to get the name of the new drive.

Oct 28 20:42:47 nexenta01 scsi: [ID 583861 kern.info] sd147 at scsi_vhci0: unit-address g5000c50055bc69cb: f_symOct 28 20:42:47 nexenta01 genunix: [ID 936769 kern.info] sd147 is /scsi_vhci/disk@g5000c50055bc69cbOct 28 20:42:48 nexenta01 genunix: [ID 408114 kern.info] /scsi_vhci/disk@g5000c50055bc69cb (sd147) onlineOct 28 20:42:48 nexenta01 genunix: [ID 483743 kern.info] /scsi_vhci/disk@g5000c50055bc69cb (sd147) multipath status: degraded: path 148 mpt_sas12/disk@w5000c50055bc69ca,0 is onlineOct 28 20:42:48 nexenta01 genunix: [ID 530209 kern.info] /scsi_vhci/disk@g5000c50055bc69cb (sd147) multipath status: optimal: path 149 mpt_sas10/disk@w5000c50055bc69c9,0 is online: Load balancing: logical-block, region-size: 18

the logical disk (ctd) name can then be looked up in format using the device path

echo |format -e |grep -B1 g5000c50055bc69cb55. c0t5000C50055BC69CBd0 <.../pci@77,0/pci8086,340e@7/pci1000,3000@0/iport@f0/disk@w5000c50055bc69cb,0

0 0
原创粉丝点击