| SSF/Backup Facility 導入手引書 |
目次
索引
![]()
|
| 第4章 シングル構成での導入 |
管理ファイル領域構築について説明します。
“ETERNUS3000/6000,GR series環境構築”において定義したディスク領域に、管理ファイル領域を構築します。
|
|
|
|
|
管理ファイル領域の有無によって、そのETERNUS3000/6000,GR seriesに配置するSP論理ユニットの数が異なります。
必要となるSP論理ユニットの数:管理ファイル領域を持つETERNUS3000/6000,GR seriesは5個
管理ファイル領域を持たないETERNUS3000/6000,GR seriesは4個
マルチパス作成前のパスの数 :1つの論理ユニットが持つ物理パスの数 × SP論理ユニットの数
例:1つの論理ユニットに2つの物理パスを持つ場合
管理ファイル領域を持つETERNUS3000/6000,GR series :10個
管理ファイル領域を持たないETERNUS3000/6000,GR series: 8個 |
管理ファイル領域構築には、以下の作業があります。これらの設定は、スーパユーザで行ってください。
|
|
|
|
|
ETERNUS3000/6000,GR seriesのディスクをSPシリーズに認識させる手順について説明します。
|
|
|
|
|
|
|
|
|
|
# hddvadm -i <Return> |
/kernel/drv/sd.confファイルに、認識させる論理ユニットを追加します。以下に例を示します。
#
# Copyright (c) 1992, by Sun Microsystems, Inc.
#
#ident "@(#)sd.conf 1.9 98/01/11 SMI"
name="sd" class="scsi" class_prop="atapi"
target=0 lun=0;
name="sd" class="scsi" class_prop="atapi" ← ターゲットID=0, LUN=1を認識させる場合は、
target=0 lun=1; このような記述を追加します。必要な分だけ
同様に追加してください。
name="sd" class="scsi" class_prop="atapi"
target=1 lun=0;
name="sd" class="scsi" class_prop="atapi"
target=2 lun=0;
name="sd" class="scsi" class_prop="atapi"
target=3 lun=0;
name="sd" class="scsi"
target=4 lun=0;
... |
|
|
|
|
|
この後、以下の操作を行ってシステムを再起動し、立ち上げ時にカーネルの再構築をさせることで、登録した論理ユニットをOSに認識させます。
# touch /reconfigure <Return> # shutdown -y -g0 -i6 <Return> |
formatコマンドを使用して確認します。必要な論理ユニットが認識されているか、確認してください。論理ユニットの数が足らない場合は、もう一度手順1からやり直してください。
# format <Return>
Searching for disks...done
c6t0d3: configured with capacity of 1008.00MB
c6t0d4: configured with capacity of 1008.00MB
c7t0d3: configured with capacity of 1008.00MB
c7t0d4: configured with capacity of 1008.00MB
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <FUJITSU-MAJ3182MC-3702 cyl 12435 alt 2 hd 5 sec 574>
/pci@17,4000/scsi@3/sd@0,0
1. c6t0d0 <FUJITSU-GR740-0218 cyl 638 alt 2 hd 64 sec 256> 01490007
/pci@17,2000/fibre-channel@1/sd@0,0
2. c6t0d1 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@17,2000/fibre-channel@1/sd@0,1
3. c6t0d2 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@17,2000/fibre-channel@1/sd@0,2
4. c6t0d3 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@17,2000/fibre-channel@1/sd@0,3
5. c6t0d4 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@17,2000/fibre-channel@1/sd@0,4
6. c7t0d0 <FUJITSU-GR740-0218 cyl 638 alt 2 hd 64 sec 256> 01490007
/pci@16,2000/fibre-channel@1/sd@0,0
7. c7t0d1 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@16,2000/fibre-channel@1/sd@0,1
8. c7t0d2 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@16,2000/fibre-channel@1/sd@0,2
9. c7t0d3 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@16,2000/fibre-channel@1/sd@0,3
10. c7t0d4 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@16,2000/fibre-channel@1/sd@0,4
Specify disk (enter its number): |
上記例には、以下のメッセージが出力されています。これはラベルが書き込まれていない論理ユニットがあるためで、"done"の後にラベルが書き込まれていない論理ユニットの論理ユニット名が続いて表示されます。
Searching for disks...done c6t0d3: configured with capacity of 1008.00MB c6t0d4: configured with capacity of 1008.00MB c7t0d3: configured with capacity of 1008.00MB c7t0d4: configured with capacity of 1008.00MB |
上記メッセージが表示されない場合は、ディスクの選択要求に対してCtrl+D(コントロールキーを押しながらDを押す)を入力し、formatコマンドを終了させ、手順3まで進んでください。
上記メッセージが表示された場合は、ラベルが書き込まれていないディスクを選択し、ラベルを書き込むかどうかの要求に対して、“y”を入力し、ディスクにラベルを書き込みます。
ラベルの書き込まれていないディスクが複数ある場合は、最後に“disk”サブコマンドを実行し、ディスクの選択から手順を繰り返します。以下に例を示します。
Specify disk (enter its number): 4 <Return>
selecting c6t0d3
[disk formatted]
Disk not labeled. Label it now? y <Return> ← yを選択して、ラベル付けを行って
ください。
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> disk <Return>
done
c6t0d4: configured with capacity of 1008.00MB
c7t0d4: configured with capacity of 1008.00MB
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <FUJITSU-MAJ3182MC-3702 cyl 12435 alt 2 hd 5 sec 574>
/pci@17,4000/scsi@3/sd@0,0
1. c6t0d0 <FUJITSU-GR740-0218 cyl 638 alt 2 hd 64 sec 256> 01490007
/pci@17,2000/fibre-channel@1/sd@0,0
2. c6t0d1 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@17,2000/fibre-channel@1/sd@0,1
3. c6t0d2 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@17,2000/fibre-channel@1/sd@0,2
4. c6t0d3 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@17,2000/fibre-channel@1/sd@0,3
5. c6t0d4 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@17,2000/fibre-channel@1/sd@0,4
6. c7t0d0 <FUJITSU-GR740-0218 cyl 638 alt 2 hd 64 sec 256> 01490007
/pci@16,2000/fibre-channel@1/sd@0,0
7. c7t0d1 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@16,2000/fibre-channel@1/sd@0,1
8. c7t0d2 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@16,2000/fibre-channel@1/sd@0,2
9. c7t0d3 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@16,2000/fibre-channel@1/sd@0,3
10. c7t0d4 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@16,2000/fibre-channel@1/sd@0,4
Specify disk (enter its number)[4]: |
すべてのディスクにラベルを書き込んだ後で、“quit”を入力してformatコマンドを終了します。
Specify disk (enter its number)[4]: 5 <Return>
selecting c6t0d4
[disk formatted]
Disk not labeled. Label it now? y <Return>
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> quit <Return> |
再度formatコマンドを実行し、エラーメッセージが表示されないことを確認してください。
|
|
|
|
|
formatコマンドの起動した直後にディスクを選択します。
# format <Return> ← formatコマンドを実行します。
Searching for disks...
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <FUJITSU-MAJ3182MC-3702 cyl 12435 alt 2 hd 5 sec 574>
/pci@17,4000/scsi@3/sd@0,0
1. c6t0d0 <FUJITSU-GR740-0218 cyl 638 alt 2 hd 64 sec 256> 01490007
/pci@17,2000/fibre-channel@1/sd@0,0
2. c6t0d1 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@17,2000/fibre-channel@1/sd@0,1
3. c6t0d2 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@17,2000/fibre-channel@1/sd@0,2
4. c6t0d3 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@17,2000/fibre-channel@1/sd@0,3
5. c6t0d4 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@17,2000/fibre-channel@1/sd@0,4
6. c7t0d0 <FUJITSU-GR740-0218 cyl 638 alt 2 hd 64 sec 256> 01490007
/pci@16,2000/fibre-channel@1/sd@0,0
7. c7t0d1 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@16,2000/fibre-channel@1/sd@0,1
8. c7t0d2 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@16,2000/fibre-channel@1/sd@0,2
9. c7t0d3 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@16,2000/fibre-channel@1/sd@0,3
10. c7t0d4 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@16,2000/fibre-channel@1/sd@0,4
Specify disk (enter its number): 1 <Return> ← 対象ディスクを選択します。 |
パーティションを選択して、パーティション情報を設定します。設定方法は通常のディスクの場合と同じです。
formatユーティリティの[FORMAT MENU]の中から[partition]を選択し入力します。そして、設定するpartitionを[PARTITION MENU]の中から選択します。
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> partition <Return> ← partitionを選択
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition> print <Return> ← パーティションの状態を確認します。
Current partition table (unnamed):
Total disk cylinders available: 638 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 7 64.00MB (8/0/0) 131072
1 swap wu 8 - 23 128.00MB (16/0/0) 262144
2 backup wu 0 - 637 4.98GB (638/0/0) 10452992
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 usr wm 24 - 637 4.79GB (614/0/0) 10059776
7 unassigned wm 0 0 (0/0/0) 0
partition> |
partition> 6 <Return>
Part Tag Flag Cylinders Size Blocks
6 usr wm 24 - 637 4.79GB (614/0/0) 10059776
Enter partition id tag[root]: <Return> ←Returnだけ
Enter partition permission flags[wm]: <Return> ←Returnだけ
Enter new starting cyl[0]: 0 <Return> ← ゼロを指定
Enter partition size[10059776b, 614c, 4912.00mb, 4.79gb]: 0 <Return> ←ゼロを指定
partition> print <Return> ← 設定結果を確認します。
Current partition table (unnamed):
Total disk cylinders available: 638 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 7 64.00MB (8/0/0) 131072
1 swap wu 8 - 23 128.00MB (16/0/0) 262144
2 backup wu 0 - 637 4.98GB (638/0/0) 10452992
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
partition> |
以下同様に、他のパーティションについても削除します。(パーティション2は削除しません)
論理ユニット単位にジオメトリ情報の設定・パーティションの設定を行います。『SSF/Backup Facility運用手引書』の「付録B スペース容量見積もりワークシート」から算出したパーティションのサイズをもとにして、パーティションサイズを設定してください。
partition> 0 <Return> ← 設定するパーティションを指定します。
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 0 (0/0/0) 0
Enter partition id tag[unassigned]: <Return>
Enter partition permission flags[wm]: wm <Return>
Enter new starting cyl[0]: 1 <Return> ← 開始シリンダを入力(※1)
Enter partition size[10452992b, 638c, 5104.00mb, 4.98gb]: 1gb <Return>
partition> print <Return> ← 設定結果を確認します。 ↑
Current partition table (unnamed): 容量を入力
Total disk cylinders available: 638 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 1 - 128 1024.00MB (128/0/0) 2097152
1 unassigned wu 0 0 (0/0/0) 0
2 backup wu 0 - 637 4.98GB (638/0/0) 10452992
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
partition> |
以下同様に、パーティション1,パーティション3の順に設定していきます。(パーティション2は設定しません)
※1 : 前のパーティションの最終シリンダ+1を指定してください (パーティション2は外す) 。VTOC分を考慮して、シリンダ1から使用してください。
|
|
|
|
|
パーティションの容量の設定がすべて終わったら、[PARTITION MENU]の中から[label]を選択し、入力します。
partition> label <Return> ← labelを選択 Ready to label disk, continue? y ← yを入力 partition> quit <Return> ← quitを入力 |
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> disk <Return>
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <FUJITSU-MAJ3182MC-3702 cyl 12435 alt 2 hd 5 sec 574>
/pci@17,4000/scsi@3/sd@0,0
1. c6t0d0 <FUJITSU-GR740-0218 cyl 638 alt 2 hd 64 sec 256> 01490007
/pci@17,2000/fibre-channel@1/sd@0,0
2. c6t0d1 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@17,2000/fibre-channel@1/sd@0,1
3. c6t0d2 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@17,2000/fibre-channel@1/sd@0,2
4. c6t0d3 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@17,2000/fibre-channel@1/sd@0,3
5. c6t0d4 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@17,2000/fibre-channel@1/sd@0,4
6. c7t0d0 <FUJITSU-GR740-0218 cyl 638 alt 2 hd 64 sec 256> 01490007
/pci@16,2000/fibre-channel@1/sd@0,0
7. c7t0d1 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@16,2000/fibre-channel@1/sd@0,1
8. c7t0d2 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@16,2000/fibre-channel@1/sd@0,2
9. c7t0d3 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@16,2000/fibre-channel@1/sd@0,3
10. c7t0d4 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@16,2000/fibre-channel@1/sd@0,4
Specify disk (enter its number)[1]: 2 <Return> ← 対象ディスクを選択します。
selecting c6t0d1
[disk formatted]
・
・
・ |
すべての論理ユニットに対する設定が終了したら、[FORMAT MENU]の中から[quit]を選択します。ラベルの設定の確認画面になっている場合には、(CTRL+D)によりformatユーティリティを終了します。
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> quit <Return> ← formatユーティリティを終了します。
# |
なお、同じ論理パスを組む物理パスのうち、1つの物理パスにラベルを書き込めば、他の物理パスは自動的に書き込まれます。
|
|
|
|
|
論理ユニットが正しく認識できているならば、その論理ユニットをhddvドライバで制御するために以下のコマンドを用いてコンフィグ情報を作成します。
# hddvadm -m <Return> # |
hddvadmコマンドが正常終了したら、以下の手順でコンフィグ情報が作成されていることを確認してください。
# ls /kernel/drv/hddv.conf <Return> /kernel/drv/hddv.conf # |
次に、以下の操作でシステムを再起動し、立ち上げ時にカーネルを再構築させます。この操作によって、登録したコンフィグ情報が有効になります。
# touch /reconfigure <Return> # shutdown -y -g0 -i6 <Return> |
システムが立ち上がったら、手順1と同じようにformatコマンドを使用してディスクアレイ装置および論理ユニットが認識されていることを確認します。
# format <Return>
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <FUJITSU-MAJ3182MC-3702 cyl 12435 alt 2 hd 5 sec 574>
/pci@17,4000/scsi@3/sd@0,0
1. c6t0d0 <FUJITSU-GR740-0218 cyl 638 alt 2 hd 64 sec 256> 01490007
/pci@17,2000/fibre-channel@1/hddv@0,0
2. c6t0d1 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@17,2000/fibre-channel@1/hddv@0,1
3. c6t0d2 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@17,2000/fibre-channel@1/hddv@0,2
4. c6t0d3 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@17,2000/fibre-channel@1/hddv@0,3
5. c6t0d4 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@17,2000/fibre-channel@1/hddv@0,4
6. c7t0d0 <FUJITSU-GR740-0218 cyl 638 alt 2 hd 64 sec 256> 01490007
/pci@16,2000/fibre-channel@1/hddv@0,0
7. c7t0d1 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@16,2000/fibre-channel@1/hddv@0,1
8. c7t0d2 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@16,2000/fibre-channel@1/hddv@0,2
9. c7t0d3 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 0087000A
/pci@16,2000/fibre-channel@1/hddv@0,3
10. c7t0d4 <FUJITSU-GR740-0218 cyl 126 alt 2 hd 64 sec 256> 00870007
/pci@16,2000/fibre-channel@1/hddv@0,4
Specify disk (enter its number): |
当初、ディスクアレイ装置の論理ユニットはsdドライバによって制御されていましたが、"手順4 コンフィグ情報の設定" によって、hddvドライバに変更されます。このため、formatコマンドで以下のように表示されていた行が、
/pci@xx,xxxx/fibre-channel@x/sd@x,x |
以下のように変更されることを確認してください。
/pci@xx,xxxx/fibre-channel@x/hddv@x,x |
(CTRL+D)によりformatユーティリティを終了します。
Specify disk (enter its number): ^D ←このような表示が出ます。 # |
マルチパスを作成します。これが作成されると、論理ユニット毎に次の特殊ファイル名が作られます。
ブロック特殊ファイル名 :/dev/FJSVmplb/dsk/mplb[*]s[0-7]
キャラクタ特殊ファイル名:/dev/FJSVmplb/rdsk/mplb[*]s[0-7]
* : インスタンス番号。マルチパスの作成時に決定されます。
以下の手順でマルチパスを作成します。インスタンス番号は、空いている小さい番号から自動的に割り当てられます。
同じディスクへ接続されている物理パスを探し、マルチパスの組合せを表示します。
# mplbconfig -nv <Return> |
上記で表示された内容に問題が無ければ、以下のコマンドを入力し、実際にマルチパスを作成します。初期状態としては、検出した全ての物理パスがactive状態として扱われます。(問題がある場合は、ETERNUS3000/6000,GR series関連の設定およびファイバチャネルスイッチ関連の設定を再確認してください。)
# mplbconfig -av <Return>
*** Phase 1: /dev/rdsk 配下の特殊デバイスファイルのチェック中です ***
*** Phase 1A: マルチパス情報と /dev/rdsk 特殊デバイスの比較中です ***
*** Phase 2: マルチパス情報をチェック中です ***
*** Phase 3: パスの解析中です ***
・
=== マルチパス構成案 ===
既存インスタンス : 0
新規インスタンス : 5
パス追加 : 0 (インスタンス) : 0 (追加パス)
パス削除 : 0 (インスタンス) : 0 (削除パス)
上記の構成案を実行しますか (y/n) ?
y <Return>
*** Phase 4: マルチパスを設定中です ***
・
・
*** Phase 5: 処理は成功しました *** |
![]() |
|
|
|
# cd /usr/opt/FJSViomp/bin <Return>
# ./iompadm info <Return>
IOMP: /dev/FJSVmplb/fiomp/adm0
Element:
/dev/rdsk/c1t4d0s2 online active block "good status with active
[GR7404e4b- 123456-00-01-23]"
/dev/rdsk/c2t0d0s2 online active block "good status with active
[GR7404e4b- 123456-00-00-20]"
Node:
/dev/FJSVmplb/rdsk/mplb0s0
/dev/FJSVmplb/rdsk/mplb0s1
/dev/FJSVmplb/rdsk/mplb0s2
/dev/FJSVmplb/rdsk/mplb0s3
/dev/FJSVmplb/rdsk/mplb0s4
/dev/FJSVmplb/rdsk/mplb0s5
/dev/FJSVmplb/rdsk/mplb0s6
/dev/FJSVmplb/rdsk/mplb0s7
Function:
MPmode=true
AutoPath=true
Block=true
NeedSync=false
IOMP: /dev/FJSVmplb/fiomp/adm1
Element:
/dev/rdsk/c1t4d1s2 online active block "good status with
[GR7404e4b- 123456-00-01-23]"
/dev/rdsk/c2t0d1s2 online active block "good status with active
[GR7404e4b- 123456-00-00-20]"
Node:
/dev/FJSVmplb/rdsk/mplb1s0
/dev/FJSVmplb/rdsk/mplb1s1
/dev/FJSVmplb/rdsk/mplb1s2
/dev/FJSVmplb/rdsk/mplb1s3
/dev/FJSVmplb/rdsk/mplb1s4
/dev/FJSVmplb/rdsk/mplb1s5
/dev/FJSVmplb/rdsk/mplb1s6
/dev/FJSVmplb/rdsk/mplb1s7
Function:
MPmode=true
AutoPath=true
Block=true
NeedSync=false
IOMP: /dev/FJSVmplb/fiomp/adm2
Element:
/dev/rdsk/c1t4d2s2 online active block "good status with active
[GR7404e4b- 123456-00-01-23]"
/dev/rdsk/c2t0d2s2 online active block "good status with active
[GR7404e4b- 123456-00-00-20]"
Node:
/dev/FJSVmplb/rdsk/mplb2s0
/dev/FJSVmplb/rdsk/mplb2s1
/dev/FJSVmplb/rdsk/mplb2s2
/dev/FJSVmplb/rdsk/mplb2s3
/dev/FJSVmplb/rdsk/mplb2s4
/dev/FJSVmplb/rdsk/mplb2s5
/dev/FJSVmplb/rdsk/mplb2s6
/dev/FJSVmplb/rdsk/mplb2s7
Function:
MPmode=true
AutoPath=true
Block=true
NeedSync=false
IOMP: /dev/FJSVmplb/fiomp/adm3
Element:
/dev/rdsk/c1t4d3s2 online active block "good status with active
[GR7404e4b- 123456-00-01-23]"
/dev/rdsk/c2t0d3s2 online active block "good status with active
[GR7404e4b- 123456-00-00-20]"
Node:
/dev/FJSVmplb/rdsk/mplb3s0
/dev/FJSVmplb/rdsk/mplb3s1
/dev/FJSVmplb/rdsk/mplb3s2
/dev/FJSVmplb/rdsk/mplb3s3
/dev/FJSVmplb/rdsk/mplb3s4
/dev/FJSVmplb/rdsk/mplb3s5
/dev/FJSVmplb/rdsk/mplb3s6
/dev/FJSVmplb/rdsk/mplb3s7
Function:
MPmode=true
AutoPath=true
Block=true
NeedSync=false
IOMP: /dev/FJSVmplb/fiomp/adm4
Element:
/dev/rdsk/c1t4d4s2 online active block "good status with active
[GR7404e4b- 123456-00-01-23]"
/dev/rdsk/c2t0d4s2 online active block "good status with active
[GR7404e4b- 123456-00-00-20]"
Node:
/dev/FJSVmplb/rdsk/mplb4s0
/dev/FJSVmplb/rdsk/mplb4s1
/dev/FJSVmplb/rdsk/mplb4s2
/dev/FJSVmplb/rdsk/mplb4s3
/dev/FJSVmplb/rdsk/mplb4s4
/dev/FJSVmplb/rdsk/mplb4s5
/dev/FJSVmplb/rdsk/mplb4s6
/dev/FJSVmplb/rdsk/mplb4s7
Function:
MPmode=true
AutoPath=true
Block=true
NeedSync=false
# |
マルチパスが作成されると論理ユニット毎に次の特殊ファイル名が作られます。
ブロック特殊ファイル名 :/dev/FJSVmplb/dsk/mplb[*]s[0-7]
キャラクタ特殊ファイル名:/dev/FJSVmplb/rdsk/mplb[*]s[0-7]
* : インスタンス番号。マルチパスの作成時に決定されます。
|
|
|
|
|
例の見方を説明します。
IOMP: /dev/FJSVmplb/fiomp/adm0 ← 下線部がインスタンス番号です。
Element:
/dev/rdsk/c1t4d0s2 online active block "good status with active
↑
下線部が直前に表示されたインスタンス番号に対応する
LUNです。
[GR7404e4b- 123456-00-01-23]"
/dev/rdsk/c2t0d0s2 online active block "good status with active
↑
下線部が直前に表示されたインスタンス番号に対応する
LUNです。
[GR7404e4b- 123456-00-00-20]"
Node:
/dev/FJSVmplb/rdsk/mplb0s0 ←LUNが/dev/FJSVmplb/rdsk/mplb0と対応づけられ
たことを示します。 |
この例では、以下のとおりLUNとインスタンス番号が対応付けられていることが確認できます。
|
LUN |
インスタンス番号 |
マルチパスデバイスファイル |
|---|---|---|
|
0 |
0 |
/dev/FJSVmplb/dsk/mplb0 |
|
1 |
1 |
/dev/FJSVmplb/dsk/mplb1 |
|
2 |
2 |
/dev/FJSVmplb/dsk/mplb2 |
|
3 |
3 |
/dev/FJSVmplb/dsk/mplb3 |
|
4 |
4 |
/dev/FJSVmplb/dsk/mplb4 |
管理ファイル領域を構築するETERNUS3000/6000,GR seriesの論理ユニットから、下表に示すスライスに関する設定作業を行います。
|
LUN |
インスタンス番号 |
スライス番号 |
スライスへのパス |
マウントポイント |
|
0 |
0 |
0 |
/dev/FJSVmplb/dsk/mplb0s0 |
/sp/dbu/primary |
|
1 |
/dev/FJSVmplb/dsk/mplb0s1 |
/sp/dbu/log |
||
|
1 |
1 |
0 |
/dev/FJSVmplb/dsk/mplb1s0 |
/sp/dbu/secondary |
|
1 |
/dev/FJSVmplb/dsk/mplb1s1 |
/sp/dbu/adm |
||
|
2 |
2 |
1 |
/dev/FJSVmplb/dsk/mplb2s1 |
Softek AdvancedCopy Managerによって自動作成します(*1)。 |
|
6 |
/dev/FJSVmplb/dsk/mplb2s6 |
/sp/uty |
||
|
7 |
/dev/FJSVmplb/dsk/mplb2s7 |
/sp/sanma (*2) |
|
|
|
|
|
表[マルチパスとマウントポイント]の[スライスへのパス]を、newfsコマンドに指定して実行してください。以下に例を示します。
# newfs /dev/FJSVmplb/rdsk/mplb0s0 <Return> newfs: 新しいファイルシステム /dev/FJSVmplb/rdsk/mplb0s0 を作成しますか: (y/n)? y <return> /dev/FJSVmplb/rdsk/mplb0s0: 全セクター数: ・・・・ # |
表[マルチパスとマウントポイント]にある[スライスへのパス]を[マウントポイント]にマウントします。この操作は、以下の例のように行ってください。
# mkdir -p /sp/dbu/primary <Return> # chgrp sys /sp/dbu/primary <Return> # mount /dev/FJSVmplb/dsk/mplb0s0 /sp/dbu/primary <Return> # |
以下のコマンドを実行し、/sp配下のマウントポイントがマウントされていることを確認してください。
# df -k | more <Return>
ファイルシステム kbytes 使用済み 使用可能 容量 マウント先
/dev/dsk/c0t0d0s0 57481566 2695066 54211685 5% /
/proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
fd 0 0 0 0% /dev/fd
swap 4497528 48 4497480 1% /var/run
swap 4497512 32 4497480 1% /tmp
/dev/dsk/c0t0d0s3 5042282 5018 4986842 1% /var/crash
/dev/FJSVmplb/dsk/mplb0s0
985951 1041 925753 1% /sp/dbu/primary/
dev/FJSVmplb/dsk/mplb0s1
985951 1041 925753 1% /sp/dbu/log
/dev/FJSVmplb/dsk/mplb1s0
985951 1041 925753 1% /sp/dbu/secondary
/dev/FJSVmplb/dsk/mplb1s1
985951 1041 925753 1% /sp/dbu/adm
/dev/FJSVmplb/dsk/mplb2s6
22151 1041 18895 6% /sp/uty
/dev/FJSVmplb/dsk/mplb2s7
484775 9 436289 1% /sp/sanma
# |
手順2で指定した[スライスへのパス]と[マウントポイント]のペアを、以下の形式にしたがって、/etc/vfstab ファイルに追加してください。
|
スライスへのパス(ブロックデバイス) スライスへのパス(ローデバイス) マウントポイント ufs 2 yes - |
追加する行の例として、/dev/FJSVmplb/dsk/mplb0s0 の場合を示します。
|
/dev/FJSVmplb/dsk/mplb0s0 /dev/FJSVmplb/rdsk/mplb0s0 /sp/dbu/primary ufs 2 yes - |
管理ファイルを /sp 配下にコピーします。
# (cd /opt/FJSVfbupp/temp/sp; tar cf - .) | (cd /sp; tar xf -) <Return> |
# /opt/FJSVsputl/bin/cpspainfo <Return> |
# shutdown -y -g0 -i6 <Return> |
目次
索引
![]()
|