SUMMARY: NFS permission probs with CDROM

From: Spiro Harvey <spiro_at_wlg.nec.co.nz>
Date: Tue Aug 28 2001 - 00:08:16 EDT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ignore my post, as I've just figured it out, so I'll post a summary
anyway...

/etc/dfs/dfstab should be:

share -F nfs -o ro=nec_pcs /cdrom/cdrom0

it seems that an entry is put into sharetab by the system, but I had
added:

/cdrom/cdrom0/s0        -       nfs     ro=nec_pcs

the entry that was automatically added in was:

/cdrom/sol_8_1000_sparc_2       -       nfs     ro=nec_pcs


my conclusion without ranting... well, sort of...

DON'T put stuff in /etc/dfs/sharetab. you confuse the system.

ONLY put a share line into dfstab. then everything works OK. 


I now feel like less of a gumboot because I have learned something. 

- --
Spiro Harvey
UNIX Systems Administrator
NEC NZ Ltd
http://www.nec.co.nz

On Tue, 28 Aug 2001, Spiro Harvey wrote:

> I am trying to install DiskSuite on a Netra X1 and am having problems
> mounting the CDROM from a remote location.
> 
> here's what I've done so far:
> 
> NFS Server: E3000 running 2.6
> NFS client: X1 running solaris 8
> 
> added to the server's /etc/dfs/sharetab:
> share -F nfs -o ro=nec_pcs,root=nzx102:nzls25 /cdrom
> 
> (nec_pcs is the netgroup definition, the root entries are the x1 and my
> machine to test)
> 
> added to /etc/dfs/dfstab:
> share -F nfs -o ro=nec_pcs,root=nzx102:nzls25 /cdrom
> 
> then on the X1, (after verifying nfs.client is running :)
> mount -r <server>:/cdrom /mnt/cd
> 
> this works. I cd into /mnt/cd/cdrom0 and an ls produces nothing.
> 
> I try to share /cdrom/cdrom0, same thing. no dir.
> 
> I try to share /cdrom/cdrom0/Solaris_8/EA/products and get permission
> denied. permissions are:
> lrwxrwxrwx   1 root     nobody        20 Aug 28 11:17 cdrom0 ->
> ./sol_8_1000_sparc_2
> dr-xr-xr-x   2 root     sys         2048 Sep  1  2000 sol_8_1000_sparc_2
> 
> which I can't change anyway being non-recordable media ...
> 
> any other mounts work OK. it's just the perms into the CD.
> 
> the server is running NIS and the X1 is not. however, I did enter the X1's
> hostname into the servers /etc/netgroup in the nec_pcs section.
> 
> as an aside, what is the maximum number of hostnames in a netgroup group?
> 
> thanks..
> 
> --
> Spiro Harvey
> UNIX Systems Administrator
> NEC NZ Ltd
> http://www.nec.co.nz
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.2 (SunOS)
Comment: Made with pgp4pine 1.75-6

iEYEARECAAYFAjuLGTYACgkQ0MWP3QPS6gCt/ACdHuBGWIMw4YHv9gfgMhfXvgoP
VjcAoJ1tWPcWvk5C/bmGCXs5xHjRDPw4
=+gaW
-----END PGP SIGNATURE-----
Received on Tue Aug 28 05:08:16 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:25:02 EDT