Software Development Kit (SDK) and API Discussions

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

eladgotfrid1

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?

1 REPLY 1

hmoubara

Hello,

 

You should be able to see the dir created almost instantly. As why you running into this issue, will need to review some logs and maybe have you collect a packet trace to check why the filer is not able to create the file/directory into the newly created one. If you still facing that issue, you can create a case and have support assist in troubleshooting this behaviour.

 

Thanks 

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public