ZFS で遊んでいたディスクのスライスを分けようかと、format コマンドで見てみる。
--
Part Tag Flag First Sector Size Last Sector
0 usr wm 34 232.88GB 488380750
1 unassigned wm 0 0 0
2 unassigned wm 0 0 0
3 unassigned wm 0 0 0
4 unassigned wm 0 0 0
5 unassigned wm 0 0 0
6 unassigned wm 0 0 0
8 reserved wm 488380751 8.00MB 488397134
--
あれ、backup がありませんよ・・・
ちょっと考える。
つか、ZFS にすると従来の label が EFI label に変わるんだけど、EFI label って backup とかないのね。
これを元に戻すには、format -e (format コマンドの expert mode) で、re-labeling すると
--
format> l
[0] SMI Label
[1] EFI Label
Specify Label type[1]:
--
と、聞かれるので、0 にする。
--
Specify Label type[1]: 0
Warning: This disk has an EFI label. Changing to SMI label will erase all current partitions.
Continue? y
Auto configuration via format.dat[no]?
Auto configuration via generic SCSI-2[no]?
Geometry: 16 heads, 465 sectors 65535 cylinders result in 487580400 out of 488397168 blocks.
Do you want to modify the device geometry[no]?
--
まぁ、いろいろきかれるけど、全部 Enter でおk。
--
partition> p
Current partition table (default):
Total disk cylinders available: 65533 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 35 130.78MB (36/0/0) 267840
1 swap wu 36 - 71 130.78MB (36/0/0) 267840
2 backup wu 0 - 65532 232.49GB (65533/0/0) 487565520
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 72 - 65532 232.23GB (65461/0/0) 487029840
7 unassigned wm 0 0 (0/0/0) 0
partition>
--
元にもどりました。
