SUMMARY Re: exporting /cdrom

From: GREGOR E FELLERS (u2is9gef@gregsun.crrel.usace.army.mil)
Date: Fri Feb 03 1995 - 11:52:35 CST


Thanks to cesa!leo@Sun.COM For solving my problem in a very timely
fashion. Here is his response:

Hi!

What happens is that Solaris 2.x uses a different mecanism that
permits the use of CDs in a more flexible way (a least that is the
intention :-)

The default is to use the Volume Management. It is started at boot
time by the /etc/init.d/volmgt (or more properly by /etc/rc2.d/
S92volmgt) script, that in turn starts the vold daemon.

Maybe you had note that now the CDROMs are mounted in directories
with unique names, using the disc label if it's possible, like
the directory /cdrom/sol_2_4_hw1194_sparc you named.

If you want to export (or share) that CDROM, then you must share
that unique directory, in this case, /cdrom/sol_2_4_hw1194_sparc,
that normally is remote mounted in a directory with the same name.

Doing this with every CDROM you want to share permits to
freely change the CDROMs, without root permissions and without the
need to reexport every time you do it.

leo
____________________________________________________________________________

     _ | _| _ | _ | LEONARDO SOLORZANO F.
    | | | | | | | Tech. Division Mngr. Tel (506) 224 4444
    | _| | | _| | | cesa!leo@sun.com Fax (506) 253 5450
    | | | | |
    | | \ | | 100 M Sur Bco Popular
    | _| \ _ | San Pedro, San Jose
    | | | | | | | COSTA RICA
   ____| ___| ____| _| _| P.O.Box 6062-1000
____________________________________________________________________________

> From sun!sug.org!members-owner Fri Feb 3 09:44 CST 1995
> >Received: from Sun.COM (sun-barr) by ebayuucp.Sun.COM (5.0/SMI-4.1)
> id AA28755; Fri, 3 Feb 1995 07:18:24 +0800
> Date: Fri, 3 Feb 1995 09:03:20 -0500
> From: sun!gregsun.crrel.usace.army.mil!u2is9gef (GREGOR E FELLERS )
> To: sun-managers@eecs.nwu.edu, members@sug.org
> Subject: exporting /cdrom
>
>
> I can't seem to export (sorry share) the /cdrom from a Solaris 2.4
> system? I did this routinely under Sun OS and it really is a requirement
> because all of my systems don't have their own CD-ROM's
>
>
> This is what happens:
>
> I share the /cdrom directory after volmgt mounts it (will use the
> Solaris 2.4 CD as an example). No problem yet!!!
>
> Now go to other systems ( both SunOS and Solaris systems have the same
> symptons)
>
> mount -r -t nfs hostsystem:/cdrom /cd (SUNOS)
> mount -F nfs hostsystem:/cdrom /cd (SOLARIS)
>
> both appear to work
>
> cd /cd (no problem)
> ls
> cdrom0@ sol_2_4_hw1194_sparc/ (this is whats really there)
> cd sol_2_4_hw1194_sparc (again no problem)
> ls
> s0 s1 s2 s3 s4 s5 (again this is whats really there)
>
> cd s0 (ok)
> ls
>
> nothing nil nitch (although there are really dozens of files
> none are shown or accessable)
>
> The whole directory structure can be traversed (other CD's behave
> similarily) but no files can be accessed.
>
> Am I completely insane or is this really happening to me.
>
>
>
>
>
>



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:15 CDT