• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Yellow Bricks

by Duncan Epping

  • Home
  • Unexplored Territory Podcast
  • HA Deepdive
  • ESXTOP
  • Stickers/Shirts
  • Privacy Policy
  • About
  • Show Search
Hide Search

Standalone vSphere hosts and the local VMFS

Duncan Epping · Jun 29, 2009 ·

On twitter @lamw just asked a question which triggered me to blog it cause I expect this is something more people will run into sooner or later.

Anyone know if you can change the default VMFS block size in ESX4 during interactive installation?

This is something that I also ran into personally a couple of weeks ago. If you install ESX 4.0 with the defaults a large VMFS volume is created that fills up the disk. This VMFS volume has a default block size of 1MB which means a file size limit of 256GB.

In the setup there’s currently no way of changing the block size. (If I’m wrong please leave a comment.) The only way to avoid this is to create two VMFS volumes. The first one will need to be created during the installation and will be the volume on which the Service Console VMDK resides. The second VMFS volume should be created after the installation and will be hosting the VMs. Although it does sound like an unnecessary step I personally think it is a good approach. This way the chance of filling up(snapshots) your VMFS partition which hosts you Service Console is very slim.

Related

Server Storage, vSphere

Reader Interactions

Comments

  1. bjorn bats says

    29 June, 2009 at 13:22

    i think this is a really smart post.
    i agree on this.

  2. Cody Bunch says

    29 June, 2009 at 16:41

    So while one may not be able to do it directly from the installer, what is to stop you from popping out to a different terminal and running the fdisk command and setting this up by hand?

    -Cody
    http://professionalvmware.com

  3. Arun Raju says

    29 June, 2009 at 17:28

    Duncan,

    Is there an option to specify the Block Size using Scripted Installation method ?

    Some of the users raised this query in
    Experts-Exchange Forum too.

  4. Duncan Epping says

    29 June, 2009 at 17:40

    Not that I know….

  5. NiTRo says

    29 June, 2009 at 19:30

    While reading this post, i’m wondering if it could be possible to snapshot the esxconsole.vmdk ?

  6. Duncan Epping says

    29 June, 2009 at 20:21

    it probably is, I tried but haven’t succeeded yet.

  7. NiTRo says

    29 June, 2009 at 22:15

    it could be really interesting actually 🙂

  8. goingvirtual says

    30 June, 2009 at 10:29

    Hi Duncan. Good article,

    Ive started creating 2 VMFS partitions, one for the console and one for virtual machines as you noted.

    After the install I always delete the second and add it back in using vCenter so the partition is aligned. Looking back on VI3, VMFS partitions created during the install by default are not aligned. I know most people dont bother about this with local VMFS partitions but I like to do what I can to get the best performance.

  9. Duncan says

    30 June, 2009 at 13:07

    I fully agree, creating it from the VIC is definitely the best option.

  10. krisiasty says

    30 June, 2009 at 21:30

    How big should be the first partition for the Service Console?

  11. Duncan says

    1 July, 2009 at 05:39

    It depends on your partitioning scheme, but roughly 20 / 25GB:
    http://www.yellow-bricks.com/2009/05/27/partitioning-your-esx-host-part-ii/

  12. NiTRo says

    2 July, 2009 at 21:47

    8GB i guess (the default vmdk is 7.5GB)

  13. deobfuscate says

    10 July, 2009 at 20:40

    To my knowledge there is no way to change the default block size during the installation. I had this problem when I was trying to setup a client’s ESXi environment and wanted a bigger block size.

    Furthermore I had problems deleting the VMFS volume after installation and recreating the volume with a larger block size.

  14. Willem says

    25 September, 2009 at 11:46

    A reply to an old post.. but after fighting with this a bit on vSphere (running the GUI and Textmode install) I’m wondering what the correct procedure would be to setup two vmfs volumes while installing?

    quoting Cody: ‘So while one may not be able to do it directly from the installer, what is to stop you from popping out to a different terminal and running the fdisk command and setting this up by hand?’

    In what order do you have to do this and is it also necessary to create a vmfs file system?

    Thanks for any extra info, with VI3 this was quite easy, but vSphere does present a (little) new challenge here. 😛

  15. gbrasl says

    12 August, 2010 at 19:05

    Hi Duncan,
    to change blocksize during installation of ESX v4, have a look at this vmware KB article:

    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1012683

    Guido

  16. Duncan Epping says

    12 August, 2010 at 21:25

    Yeah I know, the wrote it after I released this article:
    http://www.yellow-bricks.com/2009/11/11/changing-the-block-size-of-your-local-vmfs-during-the-install/
    🙂

Primary Sidebar

About the Author

Duncan Epping is a Chief Technologist and Distinguished Engineering Architect at Broadcom. Besides writing on Yellow-Bricks, Duncan is the co-author of the vSAN Deep Dive and the vSphere Clustering Deep Dive book series. Duncan is also the host of the Unexplored Territory Podcast.

Follow Us

  • X
  • Spotify
  • RSS Feed
  • LinkedIn

Recommended Book(s)

Advertisements




Copyright Yellow-Bricks.com © 2025 · Log in