ローカルの Oracle Solaris DVD またはネットワークを使用してブートし、ディスクにアクセスします。
システムのブートについては、Oracle Solaris 11.2 システムのブートとシャットダウン を参照してください。
# format
Specify disk (enter its number):
ユーティリティーが選択対象を構成できる場合は、次のメッセージが表示されます。
disk: configured with capacity of size
検証処理には、ディスクのバックアップラベルの検出が含まれています。
Available Drives Type メニューが表示されます。
検証処理には、ディスクのバックアップラベルの検出が含まれています。
ZFS ファイルシステムで zpool scrub コマンドを使用する方法については、zpool(1M) のマニュアルページを参照してください。
この例では、ラベルを復元するディスクをすでに選択していることを想定しています。
format> verify Warning: Could not read primary label. Warning: Check the current partitioning and 'label' the disk or use the 'backup' command. Backup label contents: Volume name = < > ascii name = <FUJITSU-MAP3147N SUN146G-0501> pcyl = 14089 ncyl = 14087 acyl = 2 nhead = 24 nsect = 848 Part Tag Flag Cylinders Size Blocks 0 root wm 0 - 14086 136.71GB (14087/0/0) 286698624 1 swap wu 0 0 (0/0/0) 0 2 backup wu 0 - 14086 136.71GB (14087/0/0) 286698624 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 0 0 (0/0/0) 0 7 unassigned wm 0 0 (0/0/0) 0
バックアップラベルが取得され、内容が適切であることを確認したら、ラベルの適用に進みます。
format> backup Disk has a primary label, still continue? y Searching for backup labels...found. Restoring primary label format> q使用例 6-19 自動構成できないディスクのラベルの復元
この例では、ラベルを復元するディスクをすでに選択していることを想定しています。
format> type Specify disk type (enter its number)[12]: 12 Disk not labeled. Label it now? no format> verify Warning: Could not read primary label. Warning: Check the current partitioning and 'label' the disk or use the 'backup' command. Backup label contents: Volume name = < > ascii name = <FUJITSU-MAP3147N SUN146G-0501> pcyl = 14089 ncyl = 14087 acyl = 2 nhead = 24 nsect = 848 Part Tag Flag Cylinders Size Blocks 0 root wm 0 - 14086 136.71GB (14087/0/0) 286698624 1 swap wu 0 0 (0/0/0) 0 2 backup wu 0 - 14086 136.71GB (14087/0/0) 286698624 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 0 0 (0/0/0) 0 7 unassigned wm 0 0 (0/0/0) 0
バックアップラベルが取得され、内容が適切であることを確認したら、ラベルの適用に進みます。
format> backup Disk has a primary label, still continue? y Searching for backup labels...found. Restoring primary label format> q