Solved

How do I change vmfs block size

Posted on 2010-09-01
17
628 Views
Last Modified: 2012-05-10
I'm trying to create a 400g Vm session on my ESXI datastore but it says I'm limited to 256G because of the block size. I found that I need to change that to 4M block size but haven't been able to find out how. Some say to delete and recreate the datastore and that is one of the setup options but when I try and delete the datastore I get 'the resource is in use'
0
Comment
Question by:Axis52401
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
  • 5
17 Comments
 
LVL 42

Expert Comment

by:paulsolov
ID: 33578677
You can't change it on the fly.  You will need to move the VMs off to another location such as another datastore and reformat datastore.
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 33578848
Yep...you can only do so by removing (deleting) the datastore, then re-adding with the desired block size; follow Paul's guidance since removing the DS deletes all data on the DS.
0
 
LVL 2

Author Comment

by:Axis52401
ID: 33579282
How do I remove it, I already make a copy of the one VM I had on there so I'm fine with reformatting it I just haven't been able to find out how.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 40

Expert Comment

by:coolsport00
ID: 33579312
Right-click the datastore & select remove/delete.
0
 
LVL 2

Author Comment

by:Axis52401
ID: 33579361
I get this error when doing that (screen shot) May have to zoom in to read but basically is looks like something is using the datastore and preventing deletion.
esxierror.doc
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 33579446
Let's backtrack.

How many datastores do you have?  If your ESXi install is on the same datastore then you will not be able to do this.  You would need to wipe the sytem, create 2 partitions (a small one for ESXi installable or install on a USB) and a second datastore for the VMs.
0
 
LVL 2

Author Comment

by:Axis52401
ID: 33579465
OK, but in that case how do I make sure this datastore I create will have the 4M block size I need. I don't recall that being an option when we installed it the first time.
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 33579564
You cant change during inastall, but there is a way; I'm mobile @ the moment and dont have the link...Paul may have it?
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 33579640
You can't change it during install, this is why you should create either two arrays or two partitions.  On the first install just the OS.  Once installed create a datastore with the block size you want.
0
 
LVL 2

Author Comment

by:Axis52401
ID: 33579672
Ist there a recommended size for the ESXI system partition?
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 33579708
I keep in under 20GB, it can be as small as 6GB
0
 
LVL 2

Author Comment

by:Axis52401
ID: 33579728
I'm just trying the ESXI install from CD and it gives me only the option to install it to datastore 1 856G it doesnt have an option like in Windowas where I can create a partition of a given size and install to that partition.
0
 
LVL 40

Accepted Solution

by:
coolsport00 earned 500 total points
ID: 33579738
Another option is to install ESXi on USB. You dont have RAID protection, but is doable.
0
 
LVL 2

Author Comment

by:Axis52401
ID: 33579745
Yes I've done the USB option at one of our other office but would like to avoid that here is possible.
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 33580290
YOu could create the array use a cd with a runtime linux on it.  Create two physial partitions so that when you load ESXi it will see them and this will allow you to create the OS on the smaller partition
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 33583779
Here is the VMware KB on the issue:
http://kb.vmware.com/kb/1012683 and
http://kb.vmware.com/kb/1013210

It seems you can do so in earlier version of ESX/i (3.x). You can reinstall ESXi with legacy version and config the proper block size, then upgrade to 4.x. Or, there is a vmkfstools cmd you can run, but I can't vouch for its accuracy as I've not done the cmd before. Since you have no data on the install any longer, it won't hurt you to test it out. At the very least you can just reinstall ESXi.

Hope that helps.

~coolsport00
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 33583788
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question