最近公司買了便宜的ASUS TS-300/PS4 SERVER,很怪的是 安裝ESX4.1 到選安裝系統到那個硬碟畫面時,硬碟有抓到 LSI 2.8TB,但是卻是反灰不能選,另外使用USB也是一樣,變成兩個都反灰,已打去原廠反應,但都沒下文………………………可是ESXi4.1免費版本確可以正常安裝,傻眼………

但是遇到了2TB限制問題,外加原廠 LSI 1078 MegaRaid陣列卡配上4顆 1TB 原廠 3.5吋7200轉硬碟做RAID 5,容量有2.8TB左右,可是如果直接安裝系統在 LSI上,因2TB限制,則會有800G空間左右浪費。

我的解決方式如下:

使用USB當開機系統碟。

使用SSH連入

看分割狀況 一個RAID5 一個USB開機

~ # fdisk -l

Disk /dev/disks/naa.600e0180000b5a40143c6d7206ef1a34: 2998.9 GB, 2998960914432 bytes

255 heads, 63 sectors/track, 364602 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/disks/naa.600e0180000b5a40143c6d7206ef1a34p1 1 523 4193280 6 FAT16

Partition 1 does not end on cylinder boundary

/dev/disks/naa.600e0180000b5a40143c6d7206ef1a34p2 523 537 112640 fc VMKcore

Partition 2 does not end on cylinder boundary

/dev/disks/naa.600e0180000b5a40143c6d7206ef1a34p3 537 97254 776882176 fb VMFS

Disk /dev/disks/mpx.vmhba32:C0:T0:L0: 1030 MB, 1030750208 bytes

64 heads, 32 sectors/track, 983 cylinders

Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System

/dev/disks/mpx.vmhba32:C0:T0:L0p1 5 900 917504 5 Extended

/dev/disks/mpx.vmhba32:C0:T0:L0p4 * 1 4 4080 4 FAT16 <32M

/dev/disks/mpx.vmhba32:C0:T0:L0p5 5 254 255984 6 FAT16

/dev/disks/mpx.vmhba32:C0:T0:L0p6 255 504 255984 6 FAT16

/dev/disks/mpx.vmhba32:C0:T0:L0p7 505 614 112624 fc VMKcore

/dev/disks/mpx.vmhba32:C0:T0:L0p8 615 900 292848 6 FAT16

 

分割指定硬碟

~ # fdisk /dev/disks/naa.600e0180000b5a40143c6d7206ef1a34

The number of cylinders for this disk is set to 364602.

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)

按 m 看指令有那些

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

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)

 

刪除所有磁區

Command (m for help): d

Partition number (1-4): 3

列表看看 第三磁區已刪除

Command (m for help): p

Disk /dev/disks/naa.600e0180000b5a40143c6d7206ef1a34: 2998.9 GB, 2998960914432 bytes

255 heads, 63 sectors/track, 364602 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/disks/naa.600e0180000b5a40143c6d7206ef1a34p1 1 523 4193280 6 FAT16

Partition 1 does not end on cylinder boundary

/dev/disks/naa.600e0180000b5a40143c6d7206ef1a34p2 523 537 112640 fc VMKcore

Partition 2 does not end on cylinder boundary

Command (m for help):

 

使用 VMware vSphere Client 連入管理

clip_image001

clip_image002

clip_image003

若刪除分割區後第一次應該會有第三個選項,執行第三個選項一次,即可讓系統自動分割。

clip_image005

clip_image006

clip_image007

clip_image008

再新增一次

clip_image009

clip_image010

clip_image011

剛第三項新增 LOCAL DISK動作系統自己幫我們切割好一個 2TB與一個 744.89 剩餘空間的兩個分割區,選第一項可以把這兩個分割區合併成一個VM內邏輯的分割區。第四個選項可以回到2TB限制原狀,因手動刪除分割區無效,要回復原狀就要使用這方式。

clip_image012

clip_image013

成功破除2TB限制,實際上是兩個分割區合併後的狀況,一個實體分割還是不能超過2TB

clip_image014

No Money No Hone 發表在 痞客邦 PIXNET 留言(0) 人氣()