ナビゲーションリンクをスキップ | |
印刷ビューの終了 | |
![]() |
Sun Storage Archive Manager 5.3 構成および管理ガイド Sun QFS and Sun Storage Archive Manager 5.3 Information Library (日本語) |
一部のライブラリには、ドライブ情報を表示するパネルがあります。
次の手順は一般的な計画です。実際の手順は具体的なライブラリ製品によって異なるため、ドライブの識別やターゲットの識別についてはベンダーのドキュメントを参照してください。
カートリッジを使用してロードされたときにドライブが動作するかどうかを確認するには、ドライブを目で確認するか、または samu ユーティリティーの r 表示を使用できます。詳細は、『Sun QFS File System 5.3 構成および管理ガイド』を参照してください。
# ls -l /dev/rmt/? lrwxrwxrwx 1 root root 42 Jan 10 2000 /dev/rmt/0 -> ../../devices/pci@1f,4000/scsi@2,1/st@2,0: lrwxrwxrwx 1 root root 42 Jan 10 2000 /dev/rmt/1 -> ../../devices/pci@1f,4000/scsi@4,1/st@5,0: lrwxrwxrwx 1 root root 42 Jan 10 2000 /dev/rmt/2 -> ../../devices/pci@1f,4000/scsi@4,1/st@6,0: lrwxrwxrwx 1 root other 40 Dec 13 2000/dev/rmt/3 -> ../../devices/pci@1f,4000/scsi@4/st@1,0: lrwxrwxrwx 1 root root 40 Jun 20 2001 /dev/rmt/4 -> ../../devices/pci@1f,4000/scsi@4/st@2,0: lrwxrwxrwx 1 root root 40 Jun 20 2001 /dev/rmt/5 -> ../../devices/pci@1f,4000/scsi@4/st@3,0: lrwxrwxrwx 1 root root 40 Jun 20 2001 /dev/rmt/6 -> ../../devices/pci@1f,4000/scsi@4/st@4,0: lrwxrwxrwx 1 root root 40 Sep 14 2001 /dev/rmt/7 -> ../../devices/pci@1f,4000/scsi@2/st@2,0: lrwxrwxrwx 1 root root 40 Sep 14 2001 /dev/rmt/8 -> ../../devices/pci@1f,4000/scsi@2/st@3,0: lrwxrwxrwx 1 root root 40 Sep 14 2001 /dev/rmt/9 -> ../../devices/pci@1f,4000/scsi@2/st@4,0:
samload コマンドを実行して、ほかのドライブが空であることを確認します。
# mt -f /dev/rmt/x status
/dev/rmt/x エントリは、ライブラリのドライブ 1 に対応する情報を返します。次の例は、ドライブにテープがあることを示す mt コマンドの出力を示しています。
# mt -f /dev/rmt/0 status DLT 7000 tape drive tape drive: sense key(0x2)= Not Ready residual= 0 retries= 0 file no= 0 block no= 0
どのライブラリドライブが /dev/rmt/ の各エントリに対応するかを示す表を作成します。
次に例を示します。
drive 1 = /dev/rmt/4 -> ../../devices/pci@1f,4000/scsi@4/st@2,0: drive 2 = /dev/rmt/7 -> ../../devices/pci@1f,4000/scsi@2/st@2,0: ...
この場合、mcf ファイルは次の項目から始まります:
# Equipment Eq Eq Family Device Additional # Identifier Ord Type Set State Parameters #----------- --- ---- ------ ------ ---------- /dev/rmt/4 31 li ibm3580 on /dev/rmt/7 32 li ibm3580 on ...
詳細は、『Sun QFS File System 5.3 構成および管理ガイド』を参照してください。
# ls -l /dev/samst/?
ほかのドライブが空であることを確認します。
# dd if=/dev/samst/x bs=2k iseek=3374 of=/tmp/foo count=10
/dev/samst/ エントリは、ライブラリのドライブ 1 に対応する情報を返します。次の例は、選択したデバイスに光ディスクカートリッジがあることを示すステータスメッセージを示しています。
# dd if=/dev/samst/c0t3u0 bs=2k iseek=3374 of=/tmp/junk count=10 10+0 records in 10+0 records out
どのライブラリドライブが /dev/samst/ の各エントリに対応するかを示す表を作成します:
drive 1 = /dev/samst/4 -> ../../devices/pci@1f,4000/scsi@4/st@2,0: drive 2 = /dev/samst/7 -> ../../devices/pci@1f,4000/scsi@2/st@2,0: ...
この場合、mcf ファイルは次の項目から始まります:
# Equipment Eq Eq Family Device Additional # Identifier Ord Type Set State Parameters #----------- --- ---- ------ ------ ---------- /dev/samst/4 31 li ibm3580 on /dev/samst/7 32 li ibm3580 on ...
。
詳細は、『Sun QFS File System 5.3 構成および管理ガイド』を参照してください。
# ls -l /dev/rmt/*[0-9] | awk '{print $9, $10, $11}' /dev/rmt/0 -> /devices/pci@8,700000/SUNW,qlc@4,1/fp@0,0/st@w500104f0006041f0,0: /dev/rmt/1 -> /devices/pci@8,700000/SUNW,qlc@4,1/fp@0,0/st@w500104f0006041f3,0: /dev/rmt/2 -> /devices/pci@8,700000/SUNW,qlc@4,1/fp@0,0/st@w500104f00043cbb8,0: /dev/rmt/3 -> /devices/pci@8,700000/SUNW,qlc@5,1/fp@0,0/st@w500104f0006041ea,0: /dev/rmt/4 -> /devices/pci@8,700000/SUNW,qlc@5,1/fp@0,0/st@w500104f0006041ed,0: /dev/rmt/5 -> /devices/pci@8,700000/SUNW,qlc@4/fp@0,0/st@w500104f00060420e,0: /dev/rmt/6 -> /devices/pci@8,700000/SUNW,qlc@4/fp@0,0/st@w500104f000604211,0: /dev/rmt/7 -> /devices/pci@8,700000/SUNW,qlc@4/fp@0,0/st@w500104f000604214,0: /dev/rmt/8 -> /devices/pci@8,700000/SUNW,qlc@5/fp@0,0/st@w500104f000604208,0: /dev/rmt/9 -> /devices/pci@8,700000/SUNW,qlc@5/fp@0,0/st@w500104f00060420b,0:
次に、luxadm の出力と ACSLS の display コマンドの出力を使用して、各ドライブのシリアル番号をライブラリ内の物理的な位置に関連付けます。
# luxadm display /dev/rmt/x
ACSSA> display drive * -f serial_num 2007-10-11 10:49:12 Display Drive Acs Lsm Panel Drive Serial_num 0 2 10 12 331000049255 0 2 10 13 331002044567 0 2 10 14 331002057108 0 2 10 15 331002042417 0 2 10 16 331002031352 0 2 10 17 HU92K00200 0 2 10 18 HU92K00208 0 3 10 10 1200019405 0 3 10 11 1200019442 0 3 10 12 1110150718
Device SSN Drive Identifier /dev/rmt/0 -> 331000049255 -> (acs=0, lsm=2, panel=10, drive=12) /dev/rmt/1 -> 331002044567 -> (acs=0, lsm=2, panel=10, drive=13) /dev/rmt/2 -> 331002057108 -> (acs=0, lsm=2, panel=10, drive=14)
詳細は、『Sun QFS File System 5.3 構成および管理ガイド』を参照してください。