JavaScript is required to for searching.
ナビゲーションリンクをスキップ
印刷ビューの終了
Oracle Solaris 11.1 の管理: デバイスとファイルシステム     Oracle Solaris 11.1 Information Library (日本語)
search filter icon
search icon

ドキュメントの情報

はじめに

1.  リムーバブルメディアの管理 (タスク)

2.  CD および DVD への書き込み (タスク)

3.  デバイスの管理 (タスク)

4.  デバイスの動的構成 (タスク)

5.  USB デバイスの管理 (タスク)

6.  InfiniBand デバイスの使用 (概要/タスク)

7.  ディスクの管理 (概要)

8.  ディスク使用の管理 (タスク)

9.  ディスクの管理 (タスク)

10.  ディスクの設定 (タスク)

SPARC: ディスクの設定 (タスクマップ)

SPARC: ZFS ファイルシステム用のディスクの設定

SPARC: ZFS ルートファイルシステム用のディスクを設定する方法

SPARC: ZFS ルートファイルシステム用のディスクスライスの作成

SPARC: ZFS ルートファイルシステム用のディスクスライスを作成する方法

SPARC: ZFS ルートファイルシステムのブートブロックをインストールする方法

SPARC: ZFS 非ルートファイルシステム用のディスクを設定する方法

x86: ZFS ファイルシステム用のディスクの設定 (タスクマップ)

x86: ZFS ファイルシステム用のディスクの設定

x86: ZFS ルートファイルシステム用のディスクを設定する方法

x86: ZFS ルートファイルシステム用のディスクの準備

ZFS ルートプール (EFI (GPT)) の再作成方法

x86: ZFS ルートファイルシステム (VTOC) 用のディスクスライスを作成する方法

x86: ZFS ルートプールディスク (EFI (GPT)) の交換方法

x86: ZFS ルートプールディスク (VTOC) の交換方法

x86: ZFS ルートファイルシステムのブートブロックをインストールする方法

x86: ZFS 非ルートファイルシステム用のディスクを設定する方法

x86: Solaris fdisk パーティションの作成および変更

x86: fdisk パーティションの作成上のガイドライン

x86: Solaris fdisk パーティションを作成する方法

fdisk パーティション識別子の変更

Solaris fdisk 識別子を変更する方法

11.  COMSTAR を使用したストレージデバイスの構成 (タスク)

12.  Oracle Solaris Internet Storage Name Service (iSNS) の構成と管理

13.  format ユーティリティー (参照情報)

14.  ファイルシステムの管理 (概要)

15.  ファイルシステムの作成およびマウント (タスク)

16.  追加スワップ空間の構成 (タスク)

17.  ファイルとファイルシステムのコピー (タスク)

18.  テープドライブの管理 (タスク)

索引

x86: Solaris fdisk パーティションの作成および変更

Solaris fdisk パーティションの作成または変更に関するガイドラインや例については、次の各セクションを確認してください。

x86: fdisk パーティションの作成上のガイドライン

1 つまたは複数の fdisk パーティションを設定する場合は、次のガイドラインに従います。


x86 のみ - Solaris スライスはパーティションと呼ばれることがあります。インタフェースによっては、「パーティション」の代わりに「スライス」という用語を使用します。

fdisk パーティションは、x86 システムでのみサポートされます。混乱を避けるため、Oracle Solaris のドキュメントでは、fdisk パーティションと Solaris fdisk パーティション内のエンティティーを区別しています。「スライス」または「パーティション」と呼ばれるのは、後者です。


x86: Solaris fdisk パーティションを作成する方法

始める前に

fdisk パーティションについては、「x86: fdisk パーティションの作成上のガイドライン」を参照してください。

  1. 管理者になります。

    詳細は、『Oracle Solaris 11.1 の管理: セキュリティーサービス』の「割り当てられている管理権限を使用する方法」を参照してください。

  2. format ユーティリティーを起動します。
    # format

    番号付きのディスクのリストが表示されます。

    詳細は、format(1M) のマニュアルページを参照してください。

  3. Solaris fdisk パーティションを作成するディスクの番号を入力します。
    Specify disk (enter its number): disk-number

    disk-number は、Solaris fdisk パーティションを作成するディスクの番号です。

  4. fdisk メニューを選択します。
    format> fdisk

    表示される fdisk メニューは、fdisk パーティションがすでにディスク上に存在しているかどうかによって異なります。

  5. ディスク全体にまたがる Solaris fdisk パーティションを作成してそれをアクティブにするには、プロンプトで y を入力します。次に、手順 13 に進みます。
    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
  6. ディスク全体にまたがる Solaris fdisk パーティションを作成しない場合は、プロンプトで n を入力します。
    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: 
  7. 「1. Create a partition」を選択し、fdisk パーティションを作成します。
    Enter Selection: 1
  8. 1(=Solaris2)」を選択して、Solaris fdisk パーティションを作成します。
    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? 
  9. Solaris fdisk パーティション用に割り当てるディスクのパーセントを指定します。このパーセントを計算するときには、既存の fdisk パーティションのサイズを考慮してください。
    Specify the percentage of disk to use for this partition
    (or type "c" to specify the size in cylinders). nn
  10. プロンプトで y を入力して、Solaris fdisk パーティションをアクティブにします。
    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: プロンプトが表示されます。

  11. 別の fdisk パーティションを作成する場合は、「1. Create a partition」を選択します。

    fdisk パーティションの作成方法については、手順 8 - 10 を参照してください。

  12. ディスク構成を更新し、Selection メニューから fdisk メニューを終了します。
    Selection: 6
  13. label コマンドを使用して、ディスクに新しいラベルを付けます。
    format> label
    Ready to label disk, continue? yes
    format> 
  14. 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

fdisk パーティション識別子の変更

x86 システム版 Solaris の fdisk パーティション識別子が、130 (0x82) から 191 (0xbf) に変更されました。Oracle Solaris のすべてのコマンド、ユーティリティー、およびドライバは、どちらの fdisk 識別子を使用しても機能するように更新されました。fdisk の機能に変更はありません。

Solaris fdisk 識別子を変更する方法

fdisk の新しいメニュー項目を使用すると、新しい識別子と古い識別子を切り替えられます。fdisk の識別子は、パーティションに含まれるファイルシステムがマウントされている場合でも変更できます。

fdisk メニューでは、次の 2 つの type の値によって、古い識別子と新しい識別子が示されます。

  1. 管理者になります。
  2. 現在の fdisk 識別子を表示します。

    例:

                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
  3. fdisk メニューのオプション 4 を選択し、fdisk パーティション識別子を 0x82 に変更します。
    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
  4. オプション 6 を選択し、ディスク構成を更新して終了します。
  5. 必要であれば、fdisk メニューのオプション 4 を選択し、fdisk パーティション識別子を 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                 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
  6. オプション 6 を選択し、ディスク構成を更新して終了します。