ESXi 5.x ストレージ追加時のエラー対処
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
目次~
#contents
*概要 [#saddd416]
ESXi5.xにおけるストレージ関連のトラブル対処
**vSphere Clientで内部エラーが発生しました。詳細:入力文...
-原因~
vSphere Client 日本語版のバグ。~
-対処方法~
vSphere Client 英語版、もしくはWeb版を使用する。~
-対処手順~
vSphere Clientは起動時に引数を与えることで英語版として起...
以下のようなバッチファイルを作成し、英語版で使用したい時...
~
@echo off
cd /d "C:\Program Files\VMware\Infrastructure\Virtual In...
VpxClient.exe -locale en_US
**(ケース1) Call "HostDatastoreSystem.QueryVmfsDatastor...
-原因~
ストレージ上にパーティションが作成されている場合に発生す...
-対処方法~
ESXiに付属するfdiskまたはpartedUtilコマンドにてパーティシ...
-対処手順(fdisk)~
ESXiのfdiskにてパーティションを削除するには、ESXi上でのデ...
[構成]→[ストレージアダプタ]を開き、ディスクが接続されてい...
~
固有IDを把握できたら、以下のコマンドを実行する。~
~
# fdisk -u /vmfs/devices/disks/[固有ID]
~
パーティションテーブルを確認し、削除する。~
fdiskの操作はLinuxと同じであるため割愛。~
~
-例~
# fdisk -u /vmfs/devices/disks/t10.AMCC____A13L2C3C9DFD9...
The number of cylinders for this disk is set to 3889.
There is nothing wrong with that, but this is larger tha...
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions o...
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk t10.AMCC____A13L2C3C9DFD9F00D6E2: 31.9 GB, 31988908...
255 heads, 63 sectors/track, 3889 cylinders, total 62478...
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
t10.AMCC____A13L2C3C9DFD9F00D6E2p1 * 63 10281...
t10.AMCC____A13L2C3C9DFD9F00D6E2p2 1028160 178160...
t10.AMCC____A13L2C3C9DFD9F00D6E2p3 17816085 625249...
Command (m for help): d
Partition number (1-4): 1
【以下、繰り返し削除】
Command (m for help): p
Disk t10.AMCC____A13L2C3C9DFD9F00D6E2: 31.9 GB, 31988908...
255 heads, 63 sectors/track, 3889 cylinders, total 62478...
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table
~
以上の処理の上、改めてvCenterよりストレージの追加を試みる...
-対処手順(partedUtil)~
fdiskではパーティションを破棄できない場合があり、このよう...
fdiskと同様にディスク固有のIDを指定して処理内容を引数で渡...
~
引数なしで実行すると、以下の様なヘルプが表示される。~
~
Usage:
Get Partitions : get <diskName>
Set Partitions : set <diskName> ["partNum startSector en...
Delete Partition : delete <diskName> <partNum>
Resize Partition : resize <diskName> <partNum> <start> <...
Get Partitions : getptbl <diskName>
Set Partitions : setptbl <diskName> <label> ["partNum st...
Fix Partition Table : fix <diskName>
Create New Label (all existing data will be lost): mklab...
Show commonly used partition type guids : showGuids
Get usable first and last sectors : getUsableSectors <di...
Fix GPT Table interactively : fixGpt <diskName>
~
パーティションテーブルを表示する場合には以下の様なコマン...
~
# partedUtil get /vmfs/devices/disks/[ディスクID]
~
パーティションを削除する場合は以下となる。~
~
# partedUtil delete /vmfs/devices/disks/[ディスクID] [パ...
~
-実行例~
# partedUtil get /vmfs/devices/disks/vml.010000000038344...
182361 255 63 2929643520
1 63 2929643519 131 0
# partedUtil delete /vmfs/devices/disks/vml.010000000038...
182361 255 63 2929643520
**(ケース2) Call "HostDatastoreSystem.QueryVmfsDatastor...
-原因~
別の用途で使用していたディスクを初期化せずに使用した際に...
ディスクが保持している情報が影響を与えるRAID1では発生し、...
~
-対処~
パーティションテーブルを上書きすることで解消することがで...
fdiskにて新たなパーティションを作成し、partedUtilにて作成...
-実行例~
以下、対処の実行例~
~
--partedUtilにてパーティション情報を確認(エラーが発生)
# partedUtil get /dev/disks/naa.600050e049886e007354000...
Error: The primary GPT table states that the backup GPT ...
Warning: The available space to /dev/disks/naa.600050e04...
Error: Can't have a partition outside the disk!
Unable to read partition table for device /dev/disks/naa...
~
--fdiskにてパーティションを作成
# fdisk -u /dev/disks/naa.600050e049886e0073540000d2c30000
***
*** The fdisk command is deprecated: fdisk does not hand...
***
Device contains neither a valid DOS partition table, nor...
Building a new DOS disklabel. Changes will remain in mem...
until you decide to write them. After that the previous ...
won't be recoverable.
The number of cylinders for this disk is set to 91180.
There is nothing wrong with that, but this is larger tha...
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions o...
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
~
Command (m for help): p
Disk /dev/disks/naa.600050e049886e0073540000d2c30000: 74...
255 heads, 63 sectors/track, 91180 cylinders, total 1464...
Units = sectors of 1 * 512 = 512 bytes
Device Boot ...
~
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First sector (63-1464821759, default 63): Using default ...
Last sector or +size or +sizeM or +sizeK (63-1464821759,...
~
Command (m for help): p
Disk /dev/disks/naa.600050e049886e0073540000d2c30000: 74...
255 heads, 63 sectors/track, 91180 cylinders, total 1464...
Units = sectors of 1 * 512 = 512 bytes
Device Boot ...
/dev/disks/naa.600050e049886e0073540000d2c30000p1 ...
~
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table
~
--partedUtilにてパーティション情報を確認
# partedUtil get /dev/disks/naa.600050e049886e007354000...
91180 255 63 1464821760
1 63 1464821759 131 0
~
--partedUtilにてパーティションを削除
# partedUtil delete /dev/disks/naa.600050e049886e0073540...
1
91180 255 63 1464821760
~
--データストアとして登録~
vShpere Clientからデータストアを登録する。~
**SSDが非SSDとして認識される場合の対処 [#s92f8f3d]
SSDが非SSD(non-SSD)として認識される場合の対処。~
-手順
CLI上から以下の操作を行うことでSSDとして認識させることが...
~
以下のコマンドで対象となるデバイスの固有IDを確認~
#esxcli storage nmp device list
~
確認したデバイスの固有IDを元に以下のコマンドを実行する。~
# esxcli storage nmp satp rule add -s 【Storage Array Ty...
# esxcli storage core claiming unclaim --type device --d...
# esxcli storage core claimrule load
# esxcli storage core claimrule run
~
以上の処理の上、vSphere Clientよりデータストアとして登録...
終了行:
目次~
#contents
*概要 [#saddd416]
ESXi5.xにおけるストレージ関連のトラブル対処
**vSphere Clientで内部エラーが発生しました。詳細:入力文...
-原因~
vSphere Client 日本語版のバグ。~
-対処方法~
vSphere Client 英語版、もしくはWeb版を使用する。~
-対処手順~
vSphere Clientは起動時に引数を与えることで英語版として起...
以下のようなバッチファイルを作成し、英語版で使用したい時...
~
@echo off
cd /d "C:\Program Files\VMware\Infrastructure\Virtual In...
VpxClient.exe -locale en_US
**(ケース1) Call "HostDatastoreSystem.QueryVmfsDatastor...
-原因~
ストレージ上にパーティションが作成されている場合に発生す...
-対処方法~
ESXiに付属するfdiskまたはpartedUtilコマンドにてパーティシ...
-対処手順(fdisk)~
ESXiのfdiskにてパーティションを削除するには、ESXi上でのデ...
[構成]→[ストレージアダプタ]を開き、ディスクが接続されてい...
~
固有IDを把握できたら、以下のコマンドを実行する。~
~
# fdisk -u /vmfs/devices/disks/[固有ID]
~
パーティションテーブルを確認し、削除する。~
fdiskの操作はLinuxと同じであるため割愛。~
~
-例~
# fdisk -u /vmfs/devices/disks/t10.AMCC____A13L2C3C9DFD9...
The number of cylinders for this disk is set to 3889.
There is nothing wrong with that, but this is larger tha...
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions o...
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk t10.AMCC____A13L2C3C9DFD9F00D6E2: 31.9 GB, 31988908...
255 heads, 63 sectors/track, 3889 cylinders, total 62478...
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
t10.AMCC____A13L2C3C9DFD9F00D6E2p1 * 63 10281...
t10.AMCC____A13L2C3C9DFD9F00D6E2p2 1028160 178160...
t10.AMCC____A13L2C3C9DFD9F00D6E2p3 17816085 625249...
Command (m for help): d
Partition number (1-4): 1
【以下、繰り返し削除】
Command (m for help): p
Disk t10.AMCC____A13L2C3C9DFD9F00D6E2: 31.9 GB, 31988908...
255 heads, 63 sectors/track, 3889 cylinders, total 62478...
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table
~
以上の処理の上、改めてvCenterよりストレージの追加を試みる...
-対処手順(partedUtil)~
fdiskではパーティションを破棄できない場合があり、このよう...
fdiskと同様にディスク固有のIDを指定して処理内容を引数で渡...
~
引数なしで実行すると、以下の様なヘルプが表示される。~
~
Usage:
Get Partitions : get <diskName>
Set Partitions : set <diskName> ["partNum startSector en...
Delete Partition : delete <diskName> <partNum>
Resize Partition : resize <diskName> <partNum> <start> <...
Get Partitions : getptbl <diskName>
Set Partitions : setptbl <diskName> <label> ["partNum st...
Fix Partition Table : fix <diskName>
Create New Label (all existing data will be lost): mklab...
Show commonly used partition type guids : showGuids
Get usable first and last sectors : getUsableSectors <di...
Fix GPT Table interactively : fixGpt <diskName>
~
パーティションテーブルを表示する場合には以下の様なコマン...
~
# partedUtil get /vmfs/devices/disks/[ディスクID]
~
パーティションを削除する場合は以下となる。~
~
# partedUtil delete /vmfs/devices/disks/[ディスクID] [パ...
~
-実行例~
# partedUtil get /vmfs/devices/disks/vml.010000000038344...
182361 255 63 2929643520
1 63 2929643519 131 0
# partedUtil delete /vmfs/devices/disks/vml.010000000038...
182361 255 63 2929643520
**(ケース2) Call "HostDatastoreSystem.QueryVmfsDatastor...
-原因~
別の用途で使用していたディスクを初期化せずに使用した際に...
ディスクが保持している情報が影響を与えるRAID1では発生し、...
~
-対処~
パーティションテーブルを上書きすることで解消することがで...
fdiskにて新たなパーティションを作成し、partedUtilにて作成...
-実行例~
以下、対処の実行例~
~
--partedUtilにてパーティション情報を確認(エラーが発生)
# partedUtil get /dev/disks/naa.600050e049886e007354000...
Error: The primary GPT table states that the backup GPT ...
Warning: The available space to /dev/disks/naa.600050e04...
Error: Can't have a partition outside the disk!
Unable to read partition table for device /dev/disks/naa...
~
--fdiskにてパーティションを作成
# fdisk -u /dev/disks/naa.600050e049886e0073540000d2c30000
***
*** The fdisk command is deprecated: fdisk does not hand...
***
Device contains neither a valid DOS partition table, nor...
Building a new DOS disklabel. Changes will remain in mem...
until you decide to write them. After that the previous ...
won't be recoverable.
The number of cylinders for this disk is set to 91180.
There is nothing wrong with that, but this is larger tha...
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions o...
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
~
Command (m for help): p
Disk /dev/disks/naa.600050e049886e0073540000d2c30000: 74...
255 heads, 63 sectors/track, 91180 cylinders, total 1464...
Units = sectors of 1 * 512 = 512 bytes
Device Boot ...
~
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First sector (63-1464821759, default 63): Using default ...
Last sector or +size or +sizeM or +sizeK (63-1464821759,...
~
Command (m for help): p
Disk /dev/disks/naa.600050e049886e0073540000d2c30000: 74...
255 heads, 63 sectors/track, 91180 cylinders, total 1464...
Units = sectors of 1 * 512 = 512 bytes
Device Boot ...
/dev/disks/naa.600050e049886e0073540000d2c30000p1 ...
~
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table
~
--partedUtilにてパーティション情報を確認
# partedUtil get /dev/disks/naa.600050e049886e007354000...
91180 255 63 1464821760
1 63 1464821759 131 0
~
--partedUtilにてパーティションを削除
# partedUtil delete /dev/disks/naa.600050e049886e0073540...
1
91180 255 63 1464821760
~
--データストアとして登録~
vShpere Clientからデータストアを登録する。~
**SSDが非SSDとして認識される場合の対処 [#s92f8f3d]
SSDが非SSD(non-SSD)として認識される場合の対処。~
-手順
CLI上から以下の操作を行うことでSSDとして認識させることが...
~
以下のコマンドで対象となるデバイスの固有IDを確認~
#esxcli storage nmp device list
~
確認したデバイスの固有IDを元に以下のコマンドを実行する。~
# esxcli storage nmp satp rule add -s 【Storage Array Ty...
# esxcli storage core claiming unclaim --type device --d...
# esxcli storage core claimrule load
# esxcli storage core claimrule run
~
以上の処理の上、vSphere Clientよりデータストアとして登録...
ページ名: