Software Development Kit (SDK) and API Discussions


file-create-directory throws EONTAPI_ENOENT after file-get-file-info showed valid info

i've encountered an issue on ontap9, that looks like this:

1. i create dir1 using file-create-directory 

2. i call file-get-file-info for dir1, and get a valid info back (with size and name etc).

3. i try to call file-create-directory for "dir1/child" and get EONTAPI_ENOENT  (meaning dir1 doesn't exit)
4. after a ~30sec i'm able to do a successful file-create-directory for "/dir1/child"


why is this happening and is there an elegant way to be certain when "dir1" actually fully exists as far as netapp is concerned?

Try the NEW Knowledgebase!
NetApp KB Site