VMware Cloud Community
russellfortune
Contributor
Contributor

Best practices for ESXi storage?

I'm very, very new to ESXi, so forgive me if this is a simple question, but I'm a bit stuck trying to decide the best way to configure my storage. I'm using a cheap HP tower server, which is going to do nothing more complicated than file sharing. It has a hardware RAID controller and local SATA disks which is presenting itself to ESXi as one 2TB volume. That's fine, however the VMs will only need a tiny amount of storage, less than 20GB most probably and I want to use the rest of the space available for the file server's storage.

My question is, what's the best way to do that? By default, ESXi is only allowing me to connect a 256GB virtual disk to a VM. I know I can re-format the datastore to allow bigger virtual disks, but my knowledge ends about there. Is there a way I could partition the array and present the partition as a 'raw drive' to one of the VMs and use the smaller partition to store my VMs on? I know there's an option to present a raw disk when adding a new virtual disk, but this is always greyed out. I have a feeling this has something to do with paths, but that's beyond me for the moment.

If somebody could suggest a best practise for this scenario and point me in the right direction to do my research, it would be really appreciated.

0 Kudos
4 Replies
AndreTheGiant
Immortal
Immortal

By default the block size is 1M.

http://itknowledgeexchange.techtarget.com/virtualization-pro/choosing-a-block-size-when-creating-vmf...

To change it during the installation:

http://kb.vmware.com/kb/1012683

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
russellfortune
Contributor
Contributor

Thanks for your reply Andre. I've gone ahead and done that for this box and set up a very large (1.5TB) virtual disk to connect to my file server VM, which seems to have me up and running for the moment.

Out of curiosity though, I noticed that the maximum file size is 2048GB? That's fine if I've only got a 2TB array, but what if I had say a 4TB array and wanted to use all the free space for the file server's storage? Is there a way I can make a partition for the VM files and then connect whatever is left to the guest OS to format natively as if it were a normal drive? I noticed when creating the datastore with vSphere Client that it doesn't care how you've partitioned a drive, it just bulldozes it and makes one large VMFS volume.

I'm also concerned about using a virtual disk file for the file server's storage, is there a noticeable performance hit, or is this a pretty normal way to do it?

Thanks

0 Kudos
AndreTheGiant
Immortal
Immortal

The 2 TB limit is related to SCSI 2 compatibility of ESX/ESXi.

To handle more space you have to create on your storage side more disks/LUNs each smaller than 2 TB.

Do not use a bigger disk with more partition cause the limit is on the disk size!

PS: if you found some posts helpful then please leave some points Smiley Wink

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
0 Kudos
depping
Leadership
Leadership

forget about the performance hit, there virtually isn't any: http://www.vmware.com/resources/techresources/1040

The benefits of a virtual harddisk outweigh the couple of percentages in most cases and I would always recommend it. if >2TB disks are needed in guest iSCSI / NFS clients is currently the only way to go unfortunately.



Duncan

VMware Communities User Moderator | VCP | VCDX

-


Now available: <a href="http://www.amazon.com/gp/product/1439263450?ie=UTF8&tag=yellowbricks-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=1439263450">Paper - vSphere 4.0 Quick Start Guide (via amazon.com)</a> | <a href="http://www.lulu.com/product/download/vsphere-40-quick-start-guide/6169778">PDF (via lulu.com)</a>

Blogging: http://www.yellow-bricks.com | Twitter: http://www.twitter.com/DuncanYB

0 Kudos