Operating System - Linux
1828412 Members
3831 Online
109977 Solutions
New Discussion

Can't export mounted path

 
SOLVED
Go to solution
juno2
Super Advisor

Can't export mounted path

I have modified the /etc/exports , then run the command " exportfs -a " , but it pop up the error "EDP:/dev/st0: Not a directory" ( I have export the path /dev/st0 previously, but I have already deleted this entry in the file /etc/exports and make sure no such entry in the file ) , can suggest why the error exist ? thx
3 REPLIES 3
Stuart Browne
Honored Contributor
Solution

Re: Can't export mounted path

Try 'exportfs -r'.

According to the man page, this re-exports the exported directories, and makes the internal structures that NFSd uses the same as /etc/exports.

(internal structures being /var/lib/nfs/xtab).
One long-haired git at your service...
Balaji N
Honored Contributor

Re: Can't export mounted path

hi,

u might need to unexport the file system and then re-export it again.

do a exportfs -ua and then an exportfs -a.

also, by any chance can i know what is /dev/st0? if i am correct it is a tape drive?

can we export this?
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
juno2
Super Advisor

Re: Can't export mounted path

thx all,
it is Ok now .