Thanks to all who replied. I was overwhelmed with reponses.
You guys are great, solved my problem overnight.
I have included below the reply from Jeffrey Marans, which I have tried and
worked like a charm, for my case. Thanks, Jeffrey.
One user wrote to the net saying:
"The CDROM you are trying to mount may be a Unix (type 4.2) CD, and not an
ISO-9960 (hsfs) type. Most Sun CDROMs are like this. I have the following
two lines in all my /etc/fstab's for this reason;
/dev/sr0 /cdrom hsfs ro,noauto,usermount_access 0 0
/dev/sr0 /cd 4.2 ro,noauto,usermount_access 0 0
That way I can try
# mount /cdrom
and if I get an error,
# mount /cd"
With that done you should note that Island Graphics recommends that on the host
machine
mount /cdrom
include client's name in /.rhosts and /etc/exports files
exportfs -i -o ro /cdrom
on the other machine type
mount erie:/cdrom /cdrom
If any of you want all the replies from all who responded to me, please let
me know and I will compile them and mail them to you.
Thanks to the people listed below:
szh@zcon.com (Syed Zaeem Hosain) who sent me tar file with routines for
mount,export,unexport,umount,eject... Haven't try them out yet but looks
like a great tool for System Admin.
kuhn@math.harvard.edu (Robert M. Kuhn)
mp@allegra.att.com (Mark Plotnick)
feldt@phyast.nhn.uoknor.edu (Andy Feldt)
Mike Raffety <miker@il.us.swissbank.com>
Jan-Olav Eide <olav@deep_thought.nordic-offshore.no>
morrow@cns.ucalgary.ca (Bill Morrow)
macelis@neb.com (Dana Macelis-Roberts Lab)
greg@lpi.liant.com (Greg Bean)
hkatz@nucmed.NYU.EDU (Henry Katz)
ray@isor.vuw.ac.nz (Ray Brownrigg)
bernards@ECN.NL (Marcel Bernards)
tkevans@eplrx7.es.duPont.com (Tim Evans)
thorn@amaretto.cc.mcgill.ca (Ron Hall)
tyvand@fnbc.com (Ty Van Duong)
ref@Esy.COM (Eric Falen)
ruesing@gfz-potsdam.de (Wilhelm Ruesing)
David Sansom <david@camscan.co.uk>
mharris@jpmorgan.com (Michael Harris - Portfolio Stratification)
lentz@ody1.uchicago.edu (Gordon Lentz)
shandelm@jpmorgan.com (Joel Shandelman FIMS Information Systems - 212-648-4480)
Anjula Garg (EDC) <Anjula.Garg@newcastle.ac.uk>
brian@arthur.melpar.esys.com (Brian Decker)
mike_p <mike_+a_WTL_+lmike+_p+r%Trans_Ocean_Express@mcimail.com>
Sudheer R. Vangati <sud@philabs.Philips.Com
Kambiz Aghaiepour <kxaghai@srv.PacBell.COM>
Joseph C. Konczal <konczal@mail-gw.ncsl.nist.gov>
Ian MacPhedran <Ian_MacPhedran@engr.usask.ca>
lab@sylvester.access.com (Larry Blom - Access Graphics SE)
Steve Elliott <se@computing.lancaster.ac.uk>
poffen@sj.ate.slb.com (Russ Poffenberger)
martucci@sunpietro.cern.ch (Pietro Paolo Martucci)
twhitely@tr1072.to.ford.com (Ted Whitely)
nuts@moo.uoregon.edu (A Service Organization
gunter@stat.ncsu.edu (David Gunter)
hal@proto.UCSD.EDU (Hal Skelly)
Charles <mcgrew@cs.rutgers.edu>
russ@issi.com (Russ Walsh)
derekt@pwcs.stpaul.gov (Derek Terveer)
brian@cyrix.com (Brian Holgate)
louie@seismo.unr.edu (John Louie)
jhui@magma.COM (Johnny Hui)
jdschn@nicsn1.monsanto.com (John D Schneider)
vasey@issi.com
dburwell@telecom.telecom.com (David Burwell)
anderson@neon.mitre.org (Mark S. Anderson)
danny@ews7.dseg.ti.com (Danny Johnson)
rae@decux.nvg.com (James Rae)
micky@shaddam.usb.ve (LDC - Michele Bellino)
kmah@DCS-Systems.COM (Kevin Mah)
Original question:
>Hi Sun Managers,
>
>If any of you know how to mount a remote cdrom drive, would you please help me.
>
>>From the client machine, I would like to be able to access the CDrom drive
>mounted on the server.
>
>/dev/sr0 417754 417756 0 100% /cdrom
>
>On the client machine, this is the message I got when entering command:
>
># mount -r mcm1:/cdrom /cdrom
>mount: access denied for mcm1:/cdrom
>mount: giving up on:
> /cdrom
>
>or
>
># mount -rt hsfs mcm1:/cdrom /cdrom
>mount_hsfs: mcm1:/cdrom on /cdrom: No such file or directory
>mount: giving up on:
> /cdrom
>
>I did modify the exports file on the server to add /cdrom
>What's the right syntax for the mount command?
>Any other file I need to modify? Your help is very appreciated.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:10 CDT