My I step in? ;-). I am just setting up my homenetwork on SuSe 8.1 and meet the same problems. When I enter into my SuSe box from a slackware box I am able to look into all directories ( / *(rw) )but /home and /drdos (after that is mounted) are empty. After I have added "/home *(rw)" and "/drdos *(rw)" in the exports file I don't see any change. These directories are as before empty and cannot be entered. Something else missing? The syntax of my client computer is as the syntax of Turd. Or should that be adjusted too? Dy>On Saturday 17 May 2003 05:01, Turd Ferguson wrote: Dy>> I recently upgraded to SuSE 8.2 Pro, I was previously Dy>using 8.1 Dy>> Personal. I have a /data partition that I am trying Dy>to share via nfs. Dy>> Currently I am sharing root to my network. The root Dy>drive is completely Dy>> accessible as is everything but the /data partition. Dy>> Dy>> Here is the syntax from my exports file on my "host" Dy>computer. Dy>> / *(rw,no_root_squash) Dy>> Dy>> Here is the syntax from my "client" computer's fstab Dy>file. Dy>> jared:/ /net/jared nfs defaults 0 0 Dy>> Dy>> Any ideas on what could cause this? Dy>each partition needs to be exported separately, so e.g. Dy>/ on hda1 and /data on hda2, then exporting / will not Dy>export /data. You need Dy>to export /data as well and mount it separately on the Dy>client. Unless it's Dy>necessary, I wouldn't export / at all, especially with Dy>not to the world with Dy>no_root_squash! Dy>HTH Dy>Dylan Dy>-- Dy>Sweet moderation Dy>Heart of this nation Dy>Desert us not Dy>We are between the wars Dy>- Billy Bragg -- " Every little BYTE helps " NTReader v0.36w(P)/Beta (Registered) in conjunction with Net-Tamer.
On Saturday 17 May 2003 13:23, Constant Brouerius van Nidek wrote:
My I step in? ;-). I am just setting up my homenetwork on SuSe 8.1 and meet the same problems. When I enter into my SuSe box from a slackware box I am able to look into all directories ( / *(rw) )but /home and /drdos (after that is mounted) are empty. After I have added "/home *(rw)" and "/drdos *(rw)" in the exports file I don't see any change. These directories are as before empty and cannot be entered. Something else missing? The syntax of my client computer is as the syntax of Turd. Or should that be adjusted too?
sounds like you're halfway there. Your /etc/exports file on the server (host) side should look something like this: / *(rw) /home *(rw) /drdos *(rw) and the /etc/fstab on the client(s) should contain something like: server:/ /network nfs defaults 0 0 server:/home /network/home nfs defaults 0 0 server:/drdos /network/drdos nfs defaults 0 0 remember each file must have a blank like at the end, and nfs can get picky about extraneous whitespace in /etc/exports That will put the exported filesystems in the same relative place on the clients (i.e. as if /network was the server's root fs) This is not necessarily a good thing - if for some reason the server's root export fails to mount, for example, then the other mounts will also fail. It would be better to put them in, e.g. /network/root /network/home and /network/drdos to avoid these issues. Also, unless there is good reason to then the root fs (server:/) shouldn't be exported, especially rw, but at least you don't have no_root_squash set as that is extremely unsafe. Also, you should at least use your local network as access list (e.g.) /home 192.168.15.0/24(rw) so that you can be more certain where connections are coming from. Lastly, if you are nfs mounting user home directories, you need the no_all_squash export option so that users have proper privelidges on their files. See man exports and man mount (and refs there) for plenty more info. Dylan -- Sweet moderation Heart of this nation Desert us not We are between the wars - Billy Bragg
I'm sure I didn't have export that partition in the past, but I am obvoiusly wrong. Thanks! </Jared> On Sat, 2003-05-17 at 09:08, Dylan wrote:
On Saturday 17 May 2003 13:23, Constant Brouerius van Nidek wrote:
My I step in? ;-). I am just setting up my homenetwork on SuSe 8.1 and meet the same problems. When I enter into my SuSe box from a slackware box I am able to look into all directories ( / *(rw) )but /home and /drdos (after that is mounted) are empty. After I have added "/home *(rw)" and "/drdos *(rw)" in the exports file I don't see any change. These directories are as before empty and cannot be entered. Something else missing? The syntax of my client computer is as the syntax of Turd. Or should that be adjusted too?
sounds like you're halfway there. Your /etc/exports file on the server (host) side should look something like this:
/ *(rw) /home *(rw) /drdos *(rw)
and the /etc/fstab on the client(s) should contain something like:
server:/ /network nfs defaults 0 0 server:/home /network/home nfs defaults 0 0 server:/drdos /network/drdos nfs defaults 0 0
remember each file must have a blank like at the end, and nfs can get picky about extraneous whitespace in /etc/exports
That will put the exported filesystems in the same relative place on the clients (i.e. as if /network was the server's root fs) This is not necessarily a good thing - if for some reason the server's root export fails to mount, for example, then the other mounts will also fail. It would be better to put them in, e.g. /network/root /network/home and /network/drdos to avoid these issues.
Also, unless there is good reason to then the root fs (server:/) shouldn't be exported, especially rw, but at least you don't have no_root_squash set as that is extremely unsafe. Also, you should at least use your local network as access list (e.g.)
/home 192.168.15.0/24(rw)
so that you can be more certain where connections are coming from. Lastly, if you are nfs mounting user home directories, you need the no_all_squash export option so that users have proper privelidges on their files. See man exports and man mount (and refs there) for plenty more info.
Dylan
-- Sweet moderation Heart of this nation Desert us not We are between the wars - Billy Bragg -- "Turd Ferguson. Yeah, he's a funny guy." ~Burt Reynolds (As portrayed by Norm McDonald of SNL)
On Saturday 17 May 2003 17:07, Turd Ferguson wrote:
I'm sure I didn't have export that partition in the past, but I am obvoiusly wrong.
Maybe the default options have changed? I've not come across it because my exports were set up from the start to be on a per-partition basis. That might be positive symptom of experience with Windoze networks - sharing a 'disk'. Read up on the nohide export option in man exports. You might also think about the no_subtree_check option.
Thanks!
You're welcome Dylan -- Sweet moderation Heart of this nation Desert us not We are between the wars - Billy Bragg
participants (3)
-
Constant Brouerius van Nidek
-
Dylan
-
Turd Ferguson