hai
i want to adjust the block size of the local hard disk whose block size is 1mb , i want it to 8mb so as to p2v a 600 gb machine in to the esx host it has 800 gb hdd . i know the following command
To change the block size of a vmfs filesystem, you need to use vmkfstools to reformat the partition. The command is:
vmkfstools --createfs vmfs3 --blocksize 8M vmhba0:0:0:5
but this command returns with a error in handle warning i think this command only works for lun not local harddisk of esx hosts tell me how to change the block size of the local harddisk in esx not lun
vamsi
Under ESX / Configuration / Storage you have to remove the datastore with the wrong block size (be sure that you have a backup of your VM ).
Then you can simple choose to add a new datastore (top/right link), you will see the free space (leaved from the old one) and you can choose the block size.
Andre
You must first free your datastore.
Remove VM from inventory, and remove the datatostore from VIC.
The (you can use also VIC) add a new datastore and choose 8MB.
Andre
hai andre
i have a local hard disk of 800 gb now
1)i should remove this from vic client
2) and reattach this hdd from configuration , storage
3) i have a doubt i should choose disk ?? and the vic will detect 800 gb disk and i have to reformat it with 8mb block
are the above steps right
thank you
vamsi
Under ESX / Configuration / Storage you have to remove the datastore with the wrong block size (be sure that you have a backup of your VM ).
Then you can simple choose to add a new datastore (top/right link), you will see the free space (leaved from the old one) and you can choose the block size.
Andre
hai andre
thanks andre i did it :smileygrin:
vamsi
You're welcome.
Andre