[Gllug] NFS issue

James Pearson james-p at moving-picture.com
Mon Sep 7 11:05:41 UTC 2009


dudes dudes wrote:
> Hello all, 
> 
> I'm experiencing NFS issues, hoping someone give me some hints...
> 
> I have an external USB drive which I format IT with ext3. The mounting
> point is /media/bk (This is on ubuntu). My /ext/exports file is   
> 
> 
> /media    *(rw,no_root_squash)
> 
> on the Centos client I tried to mount the remote /media directory.. (it
> worked fine ). However; when I "ls" /media/bk/ , I don't see any files
> ( This is the mounted external USB drive). 
> 
> What have I done wrong ?
> 
> any thought will be appreciated..

If you mount the disk (on the NFS server) at /media/bk, then you need to 
export /media/bk

You are exporting /media, so the NFS client will mount the (empty) 
directory /media/bk from the server - not what the server has mounted at 
that point.

You might be able to get it to work if you export /media with the 
'nohide' option - but read the exports man page first.

Also, the external USB drive will need to be mounted on the NFS server 
before you (re-)export the file system

James Pearson
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list