ナビゲーションリンクをスキップ | |
印刷ビューの終了 | |
Oracle Solaris 11.1 の管理: デバイスとファイルシステム Oracle Solaris 11.1 Information Library (日本語) |
6. InfiniBand デバイスの使用 (概要/タスク)
SPARC: ZFS ルートファイルシステム用のディスクを設定する方法
SPARC: ZFS ルートファイルシステム用のディスクスライスの作成
SPARC: ZFS ルートファイルシステム用のディスクスライスを作成する方法
SPARC: ZFS ルートファイルシステムのブートブロックをインストールする方法
SPARC: ZFS 非ルートファイルシステム用のディスクを設定する方法
x86: ZFS ファイルシステム用のディスクの設定 (タスクマップ)
x86: ZFS ルートファイルシステム用のディスクを設定する方法
x86: ZFS ルートファイルシステム (VTOC) 用のディスクスライスを作成する方法
x86: ZFS ルートプールディスク (EFI (GPT)) の交換方法
x86: ZFS ルートプールディスク (VTOC) の交換方法
x86: ZFS ルートファイルシステムのブートブロックをインストールする方法
x86: ZFS 非ルートファイルシステム用のディスクを設定する方法
11. COMSTAR を使用したストレージデバイスの構成 (タスク)
12. Oracle Solaris Internet Storage Name Service (iSNS) の構成と管理
Solaris fdisk パーティションの作成または変更に関するガイドラインや例については、次の各セクションを確認してください。
1 つまたは複数の fdisk パーティションを設定する場合は、次のガイドラインに従います。
ディスクは最大 4 つの fdisk パーティションに分割できます。いずれか 1 つのパーティションを Solaris パーティションにする必要があります。
Solaris パーティションをディスク上でアクティブなパーティションにする必要があります。アクティブなパーティションとは、システム起動時にデフォルトでオペレーティングシステムがブートされるパーティションのことです。
Solaris の fdisk パーティションは、シリンダ境界から開始する必要があります。
最初のディスクの先頭のセクターには、ブート情報 (マスターブートレコードを含む) が書き込まれるので、最初のディスクの 1 番目の fdisk パーティションとして、Solaris の fdisk パーティションを作成する場合は、ディスクのシリンダ 0 ではなくシリンダ 1 から開始しなければなりません。
ディスク全体を Solaris fdisk パーティションにすることもできます。または、もっと小さいサイズにして、DOS パーティションに多くの容量を割り当てることもできます。十分な空き容量がある場合は、既存のパーティションに影響を与えずに、ディスク上に新しい fdisk パーティションを作成することもできます。
x86 のみ - Solaris スライスはパーティションと呼ばれることがあります。インタフェースによっては、「パーティション」の代わりに「スライス」という用語を使用します。
fdisk パーティションは、x86 システムでのみサポートされます。混乱を避けるため、Oracle Solaris のドキュメントでは、fdisk パーティションと Solaris fdisk パーティション内のエンティティーを区別しています。「スライス」または「パーティション」と呼ばれるのは、後者です。
始める前に
fdisk パーティションについては、「x86: fdisk パーティションの作成上のガイドライン」を参照してください。
詳細は、『Oracle Solaris 11.1 の管理: セキュリティーサービス』の「割り当てられている管理権限を使用する方法」を参照してください。
# format
番号付きのディスクのリストが表示されます。
詳細は、format(1M) のマニュアルページを参照してください。
Specify disk (enter its number): disk-number
disk-number は、Solaris fdisk パーティションを作成するディスクの番号です。
format> fdisk
表示される fdisk メニューは、fdisk パーティションがすでにディスク上に存在しているかどうかによって異なります。
No fdisk table exists. The default partition for the disk is: a 100% "SOLARIS System" partition Type "y" to accept the default partition, otherwise type "n" to edit the partition table. y
Type "y" to accept the default partition, otherwise type "n" to edit the partition table. n Total disk size is 17848 cylinders Cylinder size is 16065 (512 byte) blocks Cylinders Partition Status Type Start End Length % ========= ====== ============ ===== === ====== === SELECT ONE OF THE FOLLOWING: 1. Create a partition 2. Specify the active partition 3. Delete a partition 4. Change between Solaris and Solaris2 Partition IDs 5. Edit/View extended partitions 6. Exit (update disk configuration and exit) 7. Cancel (exit without updating disk configuration) Enter Selection:
Enter Selection: 1
Select the partition type to create: 1=SOLARIS2 2=UNIX 3=PCIXOS 4=Other 5=DOS12 6=DOS16 7=DOSEXT 8=DOSBIG 9=DOS16LBA A=x86 Boot B=Diagnostic C=FAT32 D=FAT32LBA E=DOSEXTLBA F=EFI (Protective) G=EFI_SYS 0=Exit?
Specify the percentage of disk to use for this partition (or type "c" to specify the size in cylinders). nn
Should this become the active partition? If yes, it will be activated each time the computer is reset or turned on. Please type "y" or "n". y
fdisk パーティションがアクティブになったあと、Enter Selection: プロンプトが表示されます。
fdisk パーティションの作成方法については、手順 8 - 10 を参照してください。
Selection: 6
format> label Ready to label disk, continue? yes format>
format> quit
例 10-2 x86: ディスク全体を占有する Solaris fdisk パーティションを作成する
次の例は、format ユーティリティーの fdisk オプションを使用して、ディスク全体にまたがる Solaris fdisk パーティションを作成する方法を説明しています。
# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c8t0d0 <SEAGATE-ST973401LSUN72G-0556 cyl 8921 alt 2 hd 255 sec 63> /pci@0,0/pci1022,7458@11/pci1000,3060@4/sd@0,0 /dev/chassis/SYS/HD0/disk 1. c8t1d0 <SEAGATE-ST973401LSUN72G-0556 cyl 8921 alt 2 hd 255 sec 63> /pci@0,0/pci1022,7458@11/pci1000,3060@4/sd@1,0 /dev/chassis/SYS/HD1/disk 2. c8t2d0 <SEAGATE-ST973401LSUN72G-0556-68.37GB> /pci@0,0/pci1022,7458@11/pci1000,3060@4/sd@2,0 /dev/chassis/SYS/HD2/disk 3. c8t3d0 <SEAGATE-ST973401LSUN72G-0556 cyl 14087 alt 2 hd 24 sec 424> /pci@0,0/pci1022,7458@11/pci1000,3060@4/sd@3,0 /dev/chassis/SYS/HD3/disk Specify disk (enter its number): 3 selecting c8t3d0 [disk formatted] No Solaris fdisk partition found. format> fdisk No fdisk table exists. The default partitioning for your disk is: a 100% "SOLARIS System" partition. Type "y" to accept the default partition, otherwise type "n" to edit the partition table. y format> label Ready to label disk, continue? yes format> quit
x86 システム版 Solaris の fdisk パーティション識別子が、130 (0x82) から 191 (0xbf) に変更されました。Oracle Solaris のすべてのコマンド、ユーティリティー、およびドライバは、どちらの fdisk 識別子を使用しても機能するように更新されました。fdisk の機能に変更はありません。
fdisk の新しいメニュー項目を使用すると、新しい識別子と古い識別子を切り替えられます。fdisk の識別子は、パーティションに含まれるファイルシステムがマウントされている場合でも変更できます。
fdisk メニューでは、次の 2 つの type の値によって、古い識別子と新しい識別子が示されます。
Solaris は 0x82 を示します
Solaris2 は 0xbf を示します
例:
Total disk size is 39890 cylinders Cylinder size is 4032 (512 byte) blocks Cylinders Partition Status Type Start End Length % ========= ====== ============ ===== === ====== === 1 Active x86 Boot 1 6 6 0 2 Solaris2 7 39889 39883 100
SELECT ONE OF THE FOLLOWING: 1. Create a partition 2. Specify the active partition 3. Delete a partition 4. Change between Solaris and Solaris2 Partition IDs 5. Exit (update disk configuration and exit) 6. Cancel (exit without updating disk configuration) Enter Selection: 4
例:
Total disk size is 39890 cylinders Cylinder size is 4032 (512 byte) blocks Cylinders Partition Status Type Start End Length % ========= ====== ============ ===== === ====== === 1 Active x86 Boot 1 6 6 0 2 Solaris 7 39889 39883 100 SELECT ONE OF THE FOLLOWING: 1. Create a partition 2. Specify the active partition 3. Delete a partition 4. Change between Solaris and Solaris2 Partition IDs 5. Exit (update disk configuration and exit) 6. Cancel (exit without updating disk configuration) Enter Selection: 4