系統管理
取消
顯示結果 
搜尋替代 
您的意思是: 

怎樣才能知道我的tape driver 的wwid

怎樣才能知道我的tape driver 的wwid

ioscan -funCtape只能看到device name

但是磁帶機實際位置與device name要怎樣才能對上呢?

我想透過wwid去判斷,但是要怎樣才能知道這台tape driver的wwid呢?
1 回覆

怎樣才能知道我的tape driver 的wwid

Hi Joey,

1. mstm->slect device name->run info

大部分的infomation(如WWN)可由此log看到.

2.一般tape(DLT)Library drive並不是FC Device 而是SCSI Device加上一個FC Bridge所組成,Tape Drive本身並無WWN,而是一組 Lun mapping,

以下用 MSL FC Lib為例,可先從Lib Front panel 看出內部Configuration:

Map: FCP Port 0: Name 'Indexed'

+------+-----+----+----+----+-----------------------------+

|FC LUN| Prtl|Port|TYPE|STAT|Protocol Specific Information|

+------+-----+----+----+----+-----------------------------+

| 0 | SCSI| 0 |CHGR| UP |Bus= 0 Target= 0 Lun= 0 |

| - | - | - | - | - | HP ESL9000 Series 3.48 |

| 1 | SCSI| 1 |TAPE| UP |Bus= 1 Target= 1 Lun= 0 |

| - | - | - | - | - | HP Ultrium 2-SCSI F43W |

| 2 | SCSI| 2 |TAPE| UP |Bus= 2 Target= 2 Lun= 0 |

| - | - | - | - | - | HP Ultrium 2-SCSI F43W |

| 3 | SCSI| 3 |TAPE| UP |Bus= 3 Target= 3 Lun= 0 |

| - | - | - | - | - | HP Ultrium 2-SCSI F43W |

| 4 | AF | 0 |CTLR| UP | un= 0 |

| - | - | - | - | - | HP NS E2400-160 |

+------+-----+----+----+----+-----------------------------+

checking by ioscan

tape 13 0/5/0/0.5.10.255.0.0.1 stape CLAIMED DEVICE

/dev/rmt/13m /dev/rmt/c45t0d1BEST

/dev/rmt/13mb /dev/rmt/c45t0d1BESTb

/dev/rmt/13mn /dev/rmt/c45t0d1BESTn

/dev/rmt/13mnb /dev/rmt/c45t0d1BESTnb

tape 15 0/5/0/0.5.10.255.0.0.2 stape CLAIMED DEVICE

/dev/rmt/15m /dev/rmt/c45t0d2BEST

/dev/rmt/15mb /dev/rmt/c45t0d2BESTb

/dev/rmt/15mn /dev/rmt/c45t0d2BESTn

/dev/rmt/15mnb /dev/rmt/c45t0d2BESTnb

tape 12 0/5/0/0.5.10.255.0.0.3 stape CLAIMED DEVICE

/dev/rmt/16m /dev/rmt/c45t0d3BEST

/dev/rmt/16mb /dev/rmt/c45t0d3BESTb

/dev/rmt/16mn /dev/rmt/c45t0d3BESTn

/dev/rmt/16mnb /dev/rmt/c45t0d3BE