OVH Community, your new community space.

MG Hybrid 2011 + ESXI - wrong partition size by default


yonatan
23-05-2011, 16:54
Quote Originally Posted by RichardWnl
When a datastore is created the default block size is 1MB. So the max VHD size would be 256GB. 2MB would be 512GB and 4MB 1TB if I am not wrong, 8MB 2TB.

So you seem so have set that correctly. But what happens when you create a new datastore?
the datastore is a logical configuration over the vmfs partition , the vmfs partition itself comes formatted only with 700GB.
on a " physical " you can create datastores , but it's not formatted to the full size by default.

RichardWnl
22-05-2011, 23:55
When a datastore is created the default block size is 1MB. So the max VHD size would be 256GB. 2MB would be 512GB and 4MB 1TB if I am not wrong, 8MB 2TB.

So you seem so have set that correctly. But what happens when you create a new datastore?

yonatan
21-05-2011, 17:54
Hello,
i got a new range server to add to my esxi cluster ( currently based on 3 mg hybrids from the old range ) ,
after i have added the server , i have noticed, that the partition size is not what i expected to see.

2x3TB , but it came formatted with only 700GB~

to fix this i had to:

Code:
fdisk -l [ see the path here ]

fdisk /dev/ [ path to disk array ]

Command (m for help): p [ see the partition]

Command (m for help): d [ delete the partition ]

Command (m for help): n [ create new ] 
Selected partition  1 [ only one partition ]

click enter with no value for max size.

Command (m for help): p [ see the new partition]

Command (m for help): t [ change partition type to vmfs ]
Selected partition 1
Hex code (type L to list codes): fb

Command (m for help): p [ confirm the change was made ]

Disk /dev/ [ PATH TO PARTITION ] : 2999.9 GB, 2999999004672 bytes
255 heads, 63 sectors/track, 364729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                           Device Boot      Start         End      Blocks  Id System
/dev/ [ PATH TO PARTITION ]          1    267349 2147480811   fb  VMFS

Command (m for help): w  [ commit the change ]
The partition table has been altered!

Calling ioctl() to re-read partition table

~ # reboot [ refresh partition table in kernel ]

then re create data stores according to the new sizes needed ...


Please Please ! make sure the installer will use the whole array size , and not limit by 700GB , also , the default datastore created is only 700GB.

I got a server with 2x3TB, what's the idea with formatting it only at 700GB?

the installation system needs to adept to the new range ...

hope this helps someone else also...