| SSF/Backup Facility 導入手引書 |
目次
索引
![]()
|
| 第5章 クラスタ構成での導入 |
クラスタの共用ディスクとして使用しない、保守用データ領域のマウント情報の設定を行います。
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
以下のコマンドを実行し、対象ディスクを選択します。
# format /dev/FJSVmplb/rdsk/* <Return> ← formatコマンドを実行します。 AVAILABLE DISK SELECTIONS: 0. /dev/FJSVmplb/rdsk/mplb2051s0 <FUJITSU-E3000-0000 cyl 310 alt 2 hd 64sec 256> 00F00003 /pseudo/mplb@2051 1. /dev/FJSVmplb/rdsk/mplb2052s0 <FUJITSU-E3000-0000 cyl 310 alt 2 hd 64sec 256> 00F00004 /pseudo/mplb@2052 Specify disk (enter its number): 0 <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[usr]: <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> 1 <Return> ← 設定するパーティションを指定します。
Part Tag Flag Cylinders Size Blocks
1 unassigned wu 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> ← 開始シリンダを入力
Enter partition size[10452992b, 638c, 5104.00mb, 4.98gb]: 2gb <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 0 0 (0/0/0) 0
1 unassigned wm 1 - 256 2.00GB (256/0/0) 4194304
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> |
VTOC分を考慮して、シリンダ1から使用します。
|
|
|
|
|
パーティションの容量の設定が終わったら、[PARTITION MENU]の中から[label]を選択し、入力します。
partition> label <Return> ← labelを選択 Ready to label disk, continue? y <Return> ← 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. /dev/FJSVmplb/rdsk/mplb2051s0 <FUJITSU-E3000-0000 cyl 310 alt 2 hd 64sec 256> 00F00003 /pseudo/mplb@2051 1. /dev/FJSVmplb/rdsk/mplb2052s0 <FUJITSU-E3000-0000 cyl 310 alt 2 hd 64sec 256> 00F00004 /pseudo/mplb@2052 Specify disk (enter its number)[1]: 1 <Return> ← 対象ディスクを選択します。 |
すべての論理ユニットに対する設定が終了したら、[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ユーティリティを終了します。
# |
プライマリノードとセカンダリノードにそれぞれ以下の行を追加します。
|
|
|
|
プライマリノードの場合の設定例。 |
|
|
|
|
|
セカンダリノードの場合の設定例。 |
|
エントリのうち、2051と2052の部分はユーザ環境で作成されたインスタンス番号に変更してください。
| # mkdir -p /sp/maintenance/fe0 <Return> # chgrp sys /sp/maintenance/fe0 <Return> # mkdir -p /sp/maintenance/fe1 <Return> # chgrp sys /sp/maintenance/fe1 <Return> |
保守用データ領域で使用するスライスのパスをnewfsコマンド指定して、newfsコマンドを実行します。以下に例を示します。
| # newfs /dev/FJSVmplb/rdsk/mplb2051s1 <Return> newfs: 新しいファイルシステム /dev/FJSVmplb/rdsk/mplb2051s1 を作成しますか: (y/n)? y <return> /dev/FJSVmplb/rdsk/mplb2051s1: 全セクター数: ・・・・ # # newfs /dev/FJSVmplb/rdsk/mplb2052s1 <Return> newfs: 新しいファイルシステム /dev/FJSVmplb/rdsk/mplb2052s1 を作成しますか: (y/n)? y <return> /dev/FJSVmplb/rdsk/mplb2052s1: 全セクター数: ・・・・ # |
|
# mount /dev/FJSVmplb/dsk/mplb2051s1 /sp/maintenance/fe0 <Return> |
|
# touch /sp/maintenance/fe0/messages <Return> |
|
# umount /sp/maintenance/fe0 <Return> |
| # mkdir -p /sp/maintenance/fe0 <Return> # chgrp sys /sp/maintenance/fe0 <Return> # mkdir -p /sp/maintenance/fe1 <Return> # chgrp sys /sp/maintenance/fe1 <Return> |
# shutdown -y -g0 -i6 <Return> |
目次
索引
![]()
|