Error after adding a new Oracle Export Directory Location

Our test oracle server is running out of disk space so we mounted a usb drive on /mnt/usbflash named EXPDIR

I also granted read, write on directory to the user used in the export command line.

We can't get the Oracle Enterprise Manager running so I created the above directory through SQL

When I use
/opt/oracle/product/10.2/db_1/bin/expdp user/password@testsid SCHEMAS=schema1 DIRECTORY=EXPDIR LOGFILE=exp1.log DUMPFILE=exp1.dmp

when run this, I get these errors -
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 536
ORA-29283: invalid file operation

then it stops

I have 5 schemas to export so I want to do a full export but the file size will be around 18G and I only have 2G free space on our test Linux server.

Please help. I need to get this exported ASAP so we can do test on an upgrade.

Also after this test, I will be importing the live database into the same test server.

So I need help going both ways: expdp and impdp.

Thank you in advance!!!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Seth SimmonsSr. Systems AdministratorCommented:
does the user account have access permissions to that device?
if you do ls -lh /mnt who is the owner?
if you are using, say oracle user, try chown oracle /mnt/usbflash as root

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
slightwv (䄆 Netminder) Commented:
It may be possible Oracle sees the USB drive as a NAS.

There are specific mount options needed to allow Oracle to use a NAS.

Check out the following doc (it is a 10gR1 doc but should be the same for 10gR2):
NFS Mount Options
goldieretrieverAuthor Commented:
Thank you for your quick response - this solution worked.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.