VMware Cloud Community
2portant
Contributor
Contributor

cannot format virtual disks on nfs datastore

environment

for my home (test) environment i use a esx4i (installable) setup that connects to a nfs share on a synology DS209 NAS.

symptoms

on local storage everything works as expected. i can mount the nfs datatstore, use the datastore browser, create, modify and delete folders. i can create virtual machines but i cannot format virtual drives

installing windows (I tested 7-64bit or 2008 - x86) i get the next error:

Windows could not format a partition on disk 0. The error occured while preparing the partition selected for installation. Error code: 0x80070057

installing windows on a local datastore works, but using a second harddisk on the NFS datastore fails

when i add a second SCSI or IDE drive on the NFS datastore, formatting it as ntfs or fat32 failes at 99%, showing the error "The format did not complete succesfully.

formatting as FAT 16 works and I can add files on this virtual disk.

a copied ntfs formatted virtual disk on nfs seems accessible (tested read and write small files)

I tried to install ubuntu server (using the next-next-next-finish option). it fails after copying and extracting the files to disk. The disk on the datastore is growed to about 550 MB.

I suspect one of the nfs settings (all default) might be wrong... any ideas?

note: the asus mainboard does not support my 2 2GB kingston memory modules, it reports these as 3 GB; 2 Gb on each single module, 5 GB when 2 2 GB and 2 1 GB modules are added. i will do some memory testing in the meantime.

Tags (2)
Reply
0 Kudos
9 Replies
2portant
Contributor
Contributor

the memtest test was succesful. probably some NFS or networking setting.. maybe somethiong on the synology nas?

Reply
0 Kudos
bascheew
Enthusiast
Enthusiast

Did you ever resolve this? I just ran into the same problem, I can't format partitions on VMDKs that reside on an NFS share.

Reply
0 Kudos
2portant
Contributor
Contributor

unfortunately, i haven not found a resolution. I currently use local storage as a workaround. What setup are you using?

Reply
0 Kudos
bscalan
Contributor
Contributor

Has anyone found a solution to this? I encounted this on a fresh ESXi 4 install and a Windows 2003R2 with SFU 3.5 (Services for Unix). Followed all the guides on setting up NFS mounts on windows boxes and like others have mentioned can connect to the datastore, browse, upload, delete, create VM's - all the files are successfully created vmx's/vmdk's logs the works. NFS trace files and NFS logging show no errors all successful writes/reads. The VM starts so its not a swap file issue. The ISO for windows boots recognizes the partition and when the installation tries to format the disk I get this same error.

Windows could not format a partition on disk 0. The error occured while preparing the partition selected for installation. Error code: 0x80070057

Rather frustrating...

Reply
0 Kudos
continuum
Immortal
Immortal

what filesystem is used on the NFS-shares ?

I would expect something like this with compressed NTFS




___________________________________

VMX-parameters- Workstation FAQ -[ MOA-liveCD|http://sanbarrow.com/moa241.html] - VM-Sickbay


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
bscalan
Contributor
Contributor

NFS Server is hosted on a Win2003R2 sp2 box with a standard NTFS (non compressed) file system

Reply
0 Kudos
systimax
Contributor
Contributor

Same setup with the 2003r2 nfs setup same error

any ideas?

Reply
0 Kudos
WilliamOutsourc
Contributor
Contributor

I simply checked the NFS server permission in the mmc console snap-in, and changed everything to wide open for both the NFS server and the NFS client. After a restart of the NFS services, I was able to finally format my .vmdk file. Hope that helps.

Reply
0 Kudos
Gotzu
Enthusiast
Enthusiast

Can someone help me that how I can convert my local NTFS partition to NFS. This is sata disk and primary partition. I have set up my lab as here http://forum.gotzu.com/showthread.php?tid=45

Any help is greatly appreciated.

Cheers!
Rajeev
Reply
0 Kudos