LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-11-2011, 07:41 PM   #1
shaticus
LQ Newbie
 
Registered: Mar 2011
Posts: 11

Rep: Reputation: 0
Mounting a new drive under an NFS share


I could use some help mounting a new drive under an NFS share on a server.

I've been running an NFS share on a server without issue for about 6 months. I've installed a new hard drive(formatted as ext3) in the server and mounted the drive under the NFS share. On the server, I can create, modify and delete files under the mount point for the drive.

From the clients, I cannot see any files that are stored on the drive. In other words, I can navigate through the NFS share as normal, but when I click on the mount point for the new drive, there are no files visible.

If I un-mount the drive and create a file under the mount point, the clients can see the newly created file.

Does anyone have any thoughts on how to mount the drive and have the files visible through NFS?

Thanks in advance,
Shaticus
 
Old 03-11-2011, 08:18 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
So, for example, you have server1 exporting server1:/export, and now you want to share server1:/export/newdisk too?

Have you exported both /export and /export/newdisk in /etc/exports? You have to.
 
Old 03-12-2011, 10:12 AM   #3
shaticus
LQ Newbie
 
Registered: Mar 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Hi AlucardZero,

I have been exporting server1:/export and want to have the new disk mounted under this existing share.
My setup is this: I have a directory, /export, shared via NFS as server1:/export. Under the /export directory, I've created a sub-directory, archive, and mounted the drive as /export/archive on the server. I'd like to have /export/archive directory available through the NFS share server1:/export. When connecting to server1:/export from the clients, no files are listed in the archive directory.

As suggested, I've added server1:/export/archive to the /etc/exports file and restarted the NFS daemon. On the clients, I can mount server1:/export/archive and see all the files stored on the new drive. If I try to access the archive directory through the server1:/export share, I can see the archive directory, but no files are listed.

Is it possible to allow access to the new drive through a sub-directory of an NFS share?

Thanks for your help,
Shaticus
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem mounting NFS share theillien Linux - Networking 1 09-19-2010 06:38 PM
NFS share not mounting SUSE-OES Linux - Server 3 03-09-2009 07:13 PM
mounting nfs share jon23d Slackware 4 06-25-2006 04:19 AM
nfs client on knoppix 3.9 - problem mounting nfs drive Rod Butcher Linux - Networking 1 09-21-2005 05:18 AM
mounting a NFS share using samba phatboyz Linux - Software 2 03-30-2004 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration