SUMMARY--CD-Rom & Mount

From: Larry Pazdernik (lpazdern@genie.esu10.k12.ne.us)
Date: Tue Mar 10 1998 - 09:15:01 CST


Hi All:

I received many replies and suggestions to this question. Thanks to all who
took tim out of their busy schedules to reply.

Matt Reynolds Kenn Owen
James Hutchinson David Evans
Jason Young Loring Safford
Michael Hill William Hamlin
Dane Lone Hill Rene Occelli
D Ellen March Ian T Collins
Paul Huffman Phillips Nguyen
Scott F Woods David-Thorburn-Gundlach
Ning Zhang Sean Ward
Matthew Stier Siddiq Farhan
Bob Hayes Mark Hargrave
Sandeep Steve McLaughlin
Ronald Loftin Eric Maes
Tom Dean Johnie Stafford
James Musso

It seems the majority of people felt this was a problem with the Volume
Manager,
or Vold. To start vold, it was suggested to run this command:
   /etc/init.d/volmgt start

Also, if you want to mount the cd manually, it was suggested to kill off
  either by this: /etc/init.d/volmgt stop OR Vold: /etc/rc2.d/S92volmgt

If vold is running, it was suggested that the cdrom should already be mounted,
in the cdrom directory.

It was also suggested to run the df -k command, to look at the disk entries.

It was also mentioned that if I was trying to mount the CD-Rom manually,
volume management must be disabled, or I will see a lot of "permission"
error messages.

One last item on Vold--it was mentioned that the file S92volmgt is the
script which launches vold at boot.

There were a few suggestions to do a re-configuration reboot, then using
the mount all, and volcheck commands as follows:
     boot -r ( to boot with new devices added to the system)
     mountall
     volcheck

Finally, I received many suggestions on the syntax of the mount command, and it
was strongly suggested that in order to mount the cd manually, the volume
manager should be stopped first.
  /etc/init.d/volmgt stop

Examples of the suggestions for the mount command syntax are as follows:
  mount -F hsfs /dev/dsk/c0t6d0s0 /cdrom ( This is one I believe I tried,
but it may not have worked fro me--due to the above mentioned note to stop
the vloume manager)
  mount -r -Fhsfs /dev/sr0 /cdrom
  mount -f hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom
  mount -F hsfs -o ro /dev/sr0 /cdrom
  mount -F hsfs -o ro /dev/dsk/c0t6d0s0 /cdrom
  mount -rt hsfs /dev/sr0 /cdrom
  mount -r -F hsfs /dev/sr0 /cdrom
  mount -F hsfs -o ro /dev/dsk/c0t6d0s0 /mnt
  mount -o ro -f hsfs /dev/dsk/c0t6d0s0 /mnt
OR for UFS parts on the solaris install cdrom, it was suggested:
  mount -o ro -f ufs /dev/dsk/c0t6d0s1 /mnt
  mount -F hsfs /dev/sr0 /cdrom
  mount -o ro -F hsfs /dev/dsk/c0t6d0s0 /cdrom

So, as you can see, I received many replies to my query concerning cd-rom
and mount, and I now have many answers to explore and try. All of your
responses
were quite helpful and informative. I do have the book--Essential System
Administration--which was in one of the responses--but I did not find
anything
concerning the solaris Volume Manager--but I will look again.
   I am posting the original question at the end of this message, and I am
posting this summary so your answers will go into the archive--maybe it
will help someone out down the road.
     Thanks to all of you for your suggestions, and for this list.

   Hi Sun Managers:

First, I preface my question by stating I am a "newbie" to the ranks of
administering Sun's and new to unix in general. I have looked at the archives
on latech's web site, but did not find any specific info on this, so here
goes my question:
   I have been attempting to mount a cd-rom on our server. The server is
running
Solaris 2.5.1, with the latest 2.5.1 cluster patch update installed. I
have been trying various commands--so far unsuccessfully. I have tried :
" mount hsfs /dev/sr0 /mnt"
"mount -F /dev/dsk/C0t6d0s0 /cdrom" (Tried this without the -F option also)
"mount -F /dev/dsk/c0t6d0s0 /mnt/cdrom" (Tried this without the -F option also)
and I have also tried the rmount command with this syntax:
"rmmount /dev/cd0/ /mnt" ( have tried this with cd6 replacing cd0)

If it helps at all, these are the entries in the /etc/rmmount.conf file:

 Removable Media Mounter configuration file.
#

# File system identification
ident hsfs ident_hsfs.so cdrom
ident ufs ident_ufs.so cdrom floppy pcmem
ident pcfs ident_pcfs.so floppy pcmem

# Actions
action cdrom action_filemgr.so
action floppy action_filemgr.so

FYI: I have been successful in getting the server to boot from the cd-rom,
so I am sure the block factor is set to 512K--but it is a non-sun cd-rom,
so I was wondering if that is the problem? , Or do I not have the proper
syntax?
  I apologize for asking for help with such a trivial problem, but I have
been attempting this for a couple of days now, without any success.
Thanks in advance for your help!

-Larry Pazdernik
-Computer Information Technician
-Kearney Public Schools
-308-237-6017
-lpazdern@genie.esu10.k12.ne.us



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:33 CDT