Creating backup jobs going to USB external Hard Drive is failing with this error
Error Message: 2712 Can't create the directory
Unable to touch test from ESX host to USB external Seagate Hard drive, gettting this error:
mount error 12 = Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Customer changed the value to 15 from an earlier article, seems like that wasn't enough so I had now changed this to 18 and seems to be working so far for the IRPstacksize.
The Solution!
---------------------------------------------------------------------
Check the Event Log on the Windows machine that fails to allow it's share
to be mounted under System. Look for a red X, and the word Error. The
Source is Srv. The error will be:
The server's configuration parameter "irpstacksize" is too small for the
server to use a local device. Please increase the value of this
parameter.
If you have this error on the Windows machine that fails to have it's
share mounted, then do the following...
This key in the system registry must be modifed or created:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer
\Parameters\IRPStackSize
If the key is there, increase it a bit to say 15 or 18. If the key does
not exist, as in my case, create a new DWORD Valute. Name it
IRPStackSize. Double click on it to edit the value, put a check on the
Decimal radio button for the Base so that you can see the parameter value
as a decimal value and not a hexidecimal value. Give the new key a value
of 15 and reboot. If that is not enough, raise it a litte to let's say 18
and then reboot again. The problem is solved. Go mount your samba shares.