VMware ESX Server が稼働する Intel ホストのストレージ・ユニット・ディスクのパーティション化

このセクションでは、VMware ESX Server が稼働する Intel ホストのストレージ・ユニット・ディスクのパーティション化について説明します。

VMFS ファイル・システムを作成する前に、fdisk ユーティリティーを使用してディスクをパーティション化してください。 fdisk を実行するときは、 パーティション化するディスクの特殊装置ファイルを指定する必要があります。 VMFS が使用するパーティションは fb です (fdisk の t コマンドを使用して設定する必要があります)。

使用する特殊装置ファイルを指定するには、次のコマンドを実行します。vmkfstools -N vmhba<C>:<T>:<D>:0。 ここで、<C> は仮想ホスト・アダプター番号、 <T> はストレージ・ユニットの SCSI ID、<D> はディスクの LUN 番号です。
[root@denethor root]# vmkfstools -N vmhba0:4:60:0
/dev/vsd60

さまざまな fdisk ユーティリティー・オプションの例については 、図 1 を、ディスク /dev/vsd71 上の基本区画の例については、図 2 を参照してください。

図 1. fdisk ユーティリティーのさまざまなオプションの例
[root@denethor root]# fdisk /dev/vsd71

The number of cylinders for this disk is set to 3160.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)
図 2. ディスク /dev/vsd71 の 1 次パーティションの例
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-3160, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-3160, default 3160):
Using default value 3160

Command (m for help): p

Disk /dev/vsd71: 255 heads, 63 sectors, 3160 cylinders
Units = cylinders of 16065 * 512 bytes

      Device Boot    Start       End    Blocks   Id  System
/dev/vsd71p1             1      3160  25382668+  83  Linux

Command (m for help): t
Partition number (1-4): 1
Hex code (type L to list codes): fb
Changed system type of partition 1 to fb (Unknown)

Command (m for help): p

Disk /dev/vsd71: 255 heads, 63 sectors, 3160 cylinders
Units = cylinders of 16065 * 512 bytes

      Device Boot    Start       End    Blocks   Id  System
/dev/vsd71p1             1      3160  25382668+  fb  Unknown
ライブラリー | サポート | ご利用条件 | フィードバック
© Copyright IBM Corporation 2004, 2006. All Rights Reserved.