Solaris のシステム管理

SPARC: 例 - システムディスクのディスクスライスとラベルを作成する

次の例では、format ユーティリティを使用して 200M バイトのディスクを 2 つのスライスに分割します。一方のスライスはルート (/) ファイルシステム用で、他方はスワップ領域用です。

# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
       0. c0t2d0 <SUN0207 cyl 1254 alt 2 hd 9 sec 36>
          /sbus@1,f8000000/esp@0,800000/sd@2,0
       1. c0t3d0 <SUN0424 cyl 1151 alt 2 hd 9 sec 80>
          /sbus@1,f8000000/esp@0,800000/sd@3,0
Specify disk (enter its number): 0
selecting c0t2d0
[disk formatted]
format> partition
partition> print
partition> modify
Select partitioning base:
	0. Current partition table (original)
	1. All Free Hog
Choose base (enter number) [0]? 1

Part      Tag    Flag     Cylinders        Size       Blocks
  0       root    wm       0               0         (0/0/0)
  1       swap    wu       0               0         (0/0/0)
  2     backup    wu       0 - 1253      198.39MB    (1254/0/0)
  3 unassigned    wm       0               0         (0/0/0)
  4 unassigned    wm       0               0         (0/0/0)
  5 unassigned    wm       0               0         (0/0/0)
  6        usr    wm       0               0         (0/0/0)
  7 unassigned    wm       0               0         (0/0/0)