It is currently Fri, 23 Oct 2020 18:38:36 GMT



 
Author Message
 NFS
This is a rather general question, but I didn't want to subscribe to
another newsgroup for just this one question and I also couldn't find a
more appropriate newsgroup except the general Linux newsgroups.

I have a GNU/Linux server which exports its /home partition via NFS. /
and /home are on seperate drives (and are thus seperate partitions).

Is it possible to export / and all file systems mounted below root?

Also, while user name mappings work (501 on one machine can access 501's
files on the other), group mapping don't work (a folder that is set g+w
for group x on one machine cannot be written to by a member of group x
on the other). Is that a common problem, a mistake on my part, or a
problem with how GNU/Linux (server side) and MacOS X (clients) handle
groups?

--
Andrew J. Brehm
Fan of Woody Allen
PowerPC User
Supporter of Pepperoni Pizza



 Sun, 10 Apr 2005 23:54:22 GMT   
 NFS
You could, but it would be pretty stupid to do it.  Just export the file
systems that you need.  


 Wed, 27 Apr 2005 23:43:15 GMT   
 NFS

How?

Why?

I need the lot of them.

--
Andrew J. Brehm
Fan of Woody Allen
PowerPC User
Supporter of Pepperoni Pizza



 Wed, 27 Apr 2005 23:50:34 GMT   
 NFS
Read the exports man page.  man exports.  Or take a look at /etc/exports.
 You can export / the same way you export everything.

The reason you really don't want to do that is because once somebody
hacks into your nfs exports, they'll have access to the entire file
system.  I can't see what possible reason it would need to be done for,
but you can if you really want.

It is much safter just to export the directories you need.  If / is
shared, then every file on the system is.



 Thu, 28 Apr 2005 21:47:50 GMT   
 NFS

Yes, but the problem is that this doesn't export filesystems mounted
somewhere beneath /. So my problem isn't solved. I know how to export /
instead of /home.

I export to my subnet only. Whoever makes it into my apartment could
simply steal the hard disks in question, which is far easier than
connecting a computer and guessing the IP addresses of the machines the
GNU/Linux server exports NFS shares to.

I want only one share to appear on my MacOS X machines.

How?

If it only was so easy. But the problem is that it isn't.

--
Andrew J. Brehm
Fan of Woody Allen
PowerPC User
Supporter of Pepperoni Pizza



 Fri, 29 Apr 2005 04:28:45 GMT   
 NFS
On Sun, 10 Nov 2002 21:28:45 +0100,
Andrew J. Brehm <and...@netneurotic.de>, in

+> Yes, but the problem is that this doesn't export filesystems mounted
+> somewhere beneath /. So my problem isn't solved. I know how to export /
+> instead of /home.

That can't be done, not with NFS. You'll have to either export all
physical (drives|partitions), or use a different protocol to do file
sharing.

I don't know which will do what you want, but my suspicion is that
SMB/CIFS/Windows networking/samba will do it.

James
--
Consulting Minister for Consultants, DNRC
I can please only one person per day. Today is not your day. Tomorrow
isn't looking good, either.
I am BOFH. Resistance is futile. Your network will be assimilated.



 Fri, 29 Apr 2005 06:43:41 GMT   
 NFS
I R A Darth Aggie <sy_nt...@gurcragntba.pbz> wrote:

I read somewhere that a newer version of NFS can do it.

Maybe I should just RAID0 the disks, make the whole thing one filesystem
and export that.

The problem is of a cosmetical nature. MacOS X will mount more than one
NFS share from the same server, but it will name them "servername",
"servername-1", "servername-2" etc.. I couldn't find a transparent
(=easy) way to make MacOS X name the mounted shares differently.

CIFS is not stateless. When the OS X box goes to sleep and wakes up
again, the connection might be lost. Also, CIFS shares don't mount as
easily, since they rely on usernames and passwords, while NFS is fully
transparent since it uses UIDs.

--
Andrew J. Brehm
Fan of Woody Allen
PowerPC User
Supporter of Pepperoni Pizza



 Fri, 29 Apr 2005 10:43:50 GMT   
 
   [ 7 post ] 

Similar Threads

1. NFS BW-NFS and PC-NFS

2. Root-NFS: No NFS server available, giving up.

3. NFS Kickstart with Solaris7 NFS Server

4. Using samba to replace NFS / NFS alternative ???...

5. NFS startup fails in spite of NFS support compiled into kernel

6. OS/2 NFS client and Linux NFS Server help needed

7. nfs client does not see nfs server

8. nfs client does not find nfs server

9. nfs-mount: stale NFS file handle

10. NFS: re-exporting partition - double NFS (Fedora 2)


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software