We help IT Professionals succeed at work.

Windows 2003 R2 on ESXi 4, Cannot create or replace (file/folder name) Cannot find specified file.

Nikolaj77
Nikolaj77 asked
on
Hi,

I have a virtual server running on VMware ESXi 4, free version, OS is Windows 2003R2 SP2.

The server has three disks:

C: 20GB NTFS
E: 100GB NTFS
F: 700GB NTFS

I am trying to copy a large amount of data from E: to F: and I am getting the above error.

The F drive is just allocated in VMware, located in a datastore with block size 4MB and VMFS 3.33. The datastore size is 1,89TB.

The C and E Drives are also VMware disks.

Any help is appreciated.

Thanks.
Comment
Watch Question

Mike ThomasConsultant
Top Expert 2010

Commented:
How much data are you moving from E:\  (i.e. how full is it?)

Author

Commented:
Around 4GB
Mike ThomasConsultant
Top Expert 2010

Commented:
Mm, I wonder if you have maybe an issue with long file names etc? I can't see anything wrong with your set up do you have lots of sub folders etc? Try drilling down through some sub folders and copy some of the sub folders out of the parent as a test, or maybe shorten the folder names.

Author

Commented:
What is the maximum file or folder length allowed ?

Thanks.
Mike ThomasConsultant
Top Expert 2010

Commented:
255 for the complete path (although figures of 256 and 260 are commonly mentioned as it's a bit complicated) My rule of thumbs is keep them as short as possible.

http://msdn.microsoft.com/en-us/library/aa365247.aspx

If you do have issues as I have done before now it has usualy comes down to one user creating very descriptive directory names, to resolve it you can try renaming folders at the highest level and working your way down.
With a 4MB Block size, the maximum datastore capacity is 1TB.
May I know how are you able to get 1.89 TB of disk space ?

Author

Commented:
Hi Arunraju,

A datastore can be up to 2TB in size, and you can format it with 1MB, 2MB, 4MB or 8MB block size.

If you format it with 1MB Block size the largest drive you can allocate to a VM is 256GB
If you format it with 2MB Block size the largest drive you can allocate to a VM is 512GB
If you format it with 4MB Block size the largest drive you can allocate to a VM is 1024GB
If you format it with 8MB Block size the largest drive you can allocate to a VM is 2048GB

Since this datastore is formatted with 4MB blocksize the largest drive I can create for at VM is 1024GB, and since the drive is 700GB I am within limits.

BTW vSphere client does not let you create a drive for a VM that is larger than the blocksize if the datastore permits.

But thanks for your reply.

@MojoTech: The length of the folder with the problem is around 70 characters.

Regards,
Nikolaj

Author

Commented:
Anyone has other suggestions?

Thanks.
Mike ThomasConsultant
Top Expert 2010

Commented:
Are you able to create any directory on the destination drive?
Mike ThomasConsultant
Top Expert 2010

Commented:
Are you able to create any directory on the destination drive? I think you need to get back to basics, is the destination drive formatted correctly look at permissions on the source and destination etc
Mike ThomasConsultant
Top Expert 2010

Commented:
Are you able to create any directory on the destination drive? I think you need to get back to basics, is the destination drive formatted correctly look at permissions on the source and destination etc
Mike ThomasConsultant
Top Expert 2010

Commented:
Download a tool called "fileboss" use that it will tell you what is wrong the 30 day trial version is fully functional.

Author

Commented:
Hi,

I am logged in to the server as Domain Admin trying to copy the files/folders.

I can create files on the target drive.

When trying to copy the files, some files and folders get copied, but the copying stalls with the error:

"Cannot create or replace <Folder Name> : Cannot find the file specified. Make sure you specify the correct path and file name."

I think that the target drive is formatted correctly. I formatted it from disk administrator as I always do.

Author

Commented:
I just found that this has nothing to do with the new large drive.

Because I tried to do the same copy to another small drive on another server.

The error is the same.

Could it be that some service or process is locking the source folders?

If yes, how do I see that?

Thanks.
Consultant
Top Expert 2010
Commented:
I thinking that there is still something up with the source files try copying folders out one at a time, you may just have 1 corrupt file stalling the copy.
The F drive is just allocated in VMware, located in a datastore with block size 4MB and VMFS 3.33. The datastore size is 1,89TB.The F drive is just  allocated in VMware, located in a datastore with block size 4MB and  VMFS 3.33. The datastore size is 1,89TB.

I had my doubts as you have posted a 4MB Block size with a VMFS datastore of 1.89TB in size.

I am aware of the Block size and datastore limitations of VMware vSphere.

Author

Commented:
Hi arunraju,

Thanks for your reply. :-)

Yes, you can allocate a LUN from your storage of e.g. 2TB and format it with e.g. 1MB block size and this will mean that the maximum drive size you can allocate to a VM is 256GB (because of the 1MB blocksize).