LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-18-2005, 03:26 PM   #1
nifflerX
Member
 
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94

Rep: Reputation: 16
export a mounted Samba share w/NFS


Hi,

I'm running Redhat Enterprise Linux WS v4. I've mounted a directory using smbmount on my linux box. What I'm trying to do now is export that mounted directory to another computer via NFS. The reason for this is the first machine can only export via Samba, and the third machine is an Irix box that can't mount Samba. Does anyone know if it's possible to do this? When I try I get the following error:

]
Code:
sudo mount <middle_machine>:/mnt/buffalo3/dailyscan <local directory>
mount: <middle_machine>:/mnt/buffalo3/dailyscan failed, reason given by server: Permission denied
I tired this first on another linux box, the same kind as the middle machine, but that's the error I get. If I setup another directory on the middle_machine and export that one, then I can mount it with no problems. Oh, and the permissions for /mnt/buffalo3/dailyscan are:

drwxrwxrwx 1 root root 4096 Jul 18 15:07 dailyscan

Am I trying to do something that isn't possible? If not, does anyone know how to do it? Thanks very much.

>Xander
 
Old 07-18-2005, 03:35 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,506

Rep: Reputation: 116Reputation: 116
Well, does the UID attempting to mount the share have permission to it on the remote system? And how is the NFS export configured? You may need no_root_squash in /etc/exports.
 
Old 07-18-2005, 04:02 PM   #3
nifflerX
Member
 
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94

Original Poster
Rep: Reputation: 16
Hi,

Thank you for the replay, I've actually already got no_root_squash in my /etc/exports. I've got (rw,no_root_squash).

And on the remote system I was trying to mount the NFS exported directory as root, so the UID had permissions to mount the share.

>Xander
 
Old 07-18-2005, 11:29 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,506

Rep: Reputation: 116Reputation: 116
Try adding the "nohide" option to the exports options. I'm not 100% sure it applies, but it's all I can think of or see in the man page.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get RW permission on a mounted samba share darkangel12613 Linux - Software 6 08-31-2006 07:04 AM
Remote NFS export (via fstab) isn't mounted at boot tisource Linux - General 3 10-30-2005 04:57 PM
NFS export of directory with mounted iso-images leipy Suse/Novell 1 06-03-2005 08:12 PM
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 08:23 AM
DocumentRoot on a nfs mounted share pdhami Red Hat 0 05-17-2004 02:17 PM


All times are GMT -5. The time now is 09:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration