Skip to content

Josh's IT-Blog

Information Technology, and other interesting things …

  • Home
  • About
  • Contact
  • Links
  • Home
  • About
  • Contact
  • Links

ESXi 4.x: change the blocksize for a partition

  1. Home   »  
  2. ESXi 4.x: change the blocksize for a partition

ESXi 4.x: change the blocksize for a partition

11. May 20111. June 2011 Burkard JoshVMwareTagged ESXi, VMware
The ESXi 4.x installer utilizes the default blocksize of 1MB when creating VMFS volumes, allowing for storage of files 256GB and under. This default VMFS Datastore cannot be easily reformatted with a higher blocksize as it contains the Service Console VMDK file.
But to store files greather than 256 GB (ex. VMDK), you have to use a blocksize greather than 1 MB on your partition. If you use your system-partition for saving VMDK-Files greather than 256 GB, you have to change the blocksize of your system-partition. Unfortunately VMware doesn’t give you the possibilty to do this during the installation. So you have to do this with a trick after the installation:
Install the VMware ESXi 4.x host as always. After the installation follow this steps:
ESXi 4.1 Default-Screen
Press the Funktion-Key F2
ESXi 4.1 Logon-Screen
Logon with your root-account.
Troubleshooting Options
Select Troubleshooting Options.
Select Enable Local Tech Support. After you enabled the local Tech Support, press two times the Key ESC, to exit to the Default Screen.
ESXi 4.1 Default-Screen
Press the Key-Combination ALT+F1 to enter the local Tech Support. You have to logon again on the console screen.
After you loged in, run the follow command:
esxcfg-scsidevs –m
You will receive the informations about all installed Drives:
Now run this command:
vmkfstools –C vmfs3 –b <BLOCKSIZE> datastore <DRIVE-ID>
For <BLOCKSIZE> use the value from the next table. For <DRIVE-ID> use the value received from the last command (marked yellow in example):
block size maximum file-size on vmfs3
1 MB 256 GB
2 MB 512 GB
4 MB 1 TB
8 MB 2 TB
The process did run for around 20 seconds on my 1 TB disk.
After succesfull running, press the Key-combination ALT+F2, to exit to the default window.
Please disable now the Local Tech Support and make a reboot.

Post navigation

Previous: BitLocker in a enterprise environment
Next: Find AD-User from Email-Address

About

Author Image
My name is Josh Burkard.
I'm a DevOps Engineer working with one of Europees largest payroll provider. in my work I have a lot to do with Microsoft server operating systems, System Center, VMware, Microsoft Azure Cloud and other software.
On this site I will write some posts about different technology problems and their solutions.
please note also my tweets and retweets from this area.

Categories

  • General (13)
  • Hardware (9)
    • Network (8)
      • Cisco (2)
    • Storage (2)
  • Hiking (1)
  • Home Assistant (5)
  • Microsoft Azure (1)
    • Automation (1)
  • PowerShell (3)
  • Software (1)
    • Excel (1)
  • System Center (18)
    • SCCM (3)
    • SCDPM (1)
    • SCOM (12)
    • SCSM (1)
    • SMA (1)
  • VMware (8)
  • Windows 2008 R2 (10)
    • Active Directory (7)
  • Windows 2012 R2 (1)
  • Windows 2016 (1)
  • Windows 7 (4)
    • BitLocker (1)
  • WordPress (1)
Proudly powered by WordPress | Theme: goldy-mex by inverstheme.