1.スキャンハードウェア
cfgmgr -v
2.チェックディスク
これは、新しいディスクhdisk3ことがわかります
lsdev -Cc disk
hdisk0 Available Virtual SCSI Disk Drive
hdisk1 Available Virtual SCSI Disk Drive
hdisk2 Available Virtual SCSI Disk Drive
hdisk3 Available C5-T1-01 Huawei S5600T FC Disk Drive
3.物理ボリュームをチェック
lspv
hdisk0 000f3c5bda5d50d4 rootvg active
hdisk1 000f3c5bd4136a2d dbvg active
hdisk2 000f3c5b5f3b98ce datavg active
hdisk3 none none none
4. VGを作成します。
smitty mkvg
選択肢はAdd an Original Volume Group
、以下の内容を記入してから入力します
Add an Original Volume Group
Type or select values in entity fields.
Press Enter AFTER making all desired changes.
[Entry fields]
VOLUME GROUP name [data2vg]
Physical partition SIZE in megabytes +
PHYSICAL VOLUME names [hdisk3] +
Force the creation if a volume group? no +
Activate volume group automatically yes +
at sysytem restart?
Volume Group MAJOR NUMBER [] +#
Create VG Concurrent Capable? no +
Infinite Retry Option no +
論理ボリュームが占有されている場合は、あなたがすることができ、問題を作成することはできませんFore the creation if a volume group?
変更yes
リトライが、ディスク上のデータが本当に必要としないかどうかに注意を払う必要があります
5.ファイルシステムを作成します。
mklv -t jfs2 -y lv_oracle data2vg 30G
crfs -v jfs2 -d lv_oracle -m /oracle -A yes
mount /oracle
作成したら、あなたは可能df -g
な状況のビューを作成します
サーバーの再起動の必要性の後mount /oracle
マウントを
ます。https://my.oschina.net/wujizhitan/blog/1842715で再現