LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 01-24-2007, 07:03 AM   #1
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 524

Rep: Reputation: 31
problem to umount cdrom


Hi!
I have solaris 10 on a sunfire V240.
I installed the companion CD today. solaris detected the cd immediatly no mount was needed. the installation went fine. but then I coundn't take the cd away! Since I didn't need any mount, I thought I wouldn't need any umount either. But then the drive wouldn't open. I then first tried with
Quote:
sudo /usr/sbin/umount /cdrom
but I got
Quote:
umount: warning: /cdrom not in mnttab
umount: /cdrom not mounted
then
Quote:
sudo /usr/sbin/umount /cdrom/cdrom0
. I didn't get any error message but I still couldn't open the drive.
I searched in internet and found those 2 threads:

http://www.linuxquestions.org/questi...hlight=unmount

finally I did:
Quote:
$ps -ef|grep vol
root 604 1 0 Aug 21 ? 0:02 /usr/sbin/vold
$sudo /etc/init.d/volmgt stop
$eject /cdrom/
and it worked.
I have 4 questions:
Do I have to restart volmgt?
What is volmgt for?
What went wrong?
how am I supposed to eject a cd in a clean way?

thanks in advance.
 
Old 01-24-2007, 07:37 AM   #2
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
Are you on an older (05) version of Solaris 10? Vomgt/vold were known to have odd issues in those older versions. I've not seen the problem on 06/06 or 11/06.
 
Old 01-24-2007, 09:21 AM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
"eject cdrom" should have worked in the first place.

By the way, vold/volmgt have recently been removed from the OpenSolaris source code and replaced by something more efficient and user friendly (HAL).

You can use Solaris Expres build 54 or newer to experiment it.
 
Old 01-24-2007, 11:48 AM   #4
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
i'm not sure about the automount/autorun of cdrom in solaris but if you are mounting other type of cd on older solaris and are having problems ... probably you can stop that volmgt altogether(i actually prefer this way) ...

this seems to work with me(x86 though) on cdroms ::

/etc/init.d/volmgt stop
ls -al /dev/sr* |awk '{print "/dev/" $11}'
--- /dev/dsk/c1t0d0s2
mkdir /mnt/cdrom
mount -F hsfs -o ro /dev/dsk/c1t0d0s2 /mnt/cdrom
cd /mnt/cdrom
cd ../
umount /mnt/cdrom
eject with that button ...

reference ::
http://publib.boulder.ibm.com/infoce...t/t0008850.htm

correct me if i'm wrong ...

btw ... although i got no problems with my volmgt on cdroms and usb but i have newer downloaded solaris express iso that havent been burnt onto cdr , probably i try them ...


.

Last edited by alred; 01-24-2007 at 11:58 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't umount cdrom melodyrulz Linux - Software 5 10-05-2004 06:33 AM
can't umount cdrom ust Linux - General 4 12-23-2003 05:03 AM
can't umount /mnt/cdrom !? sirpelidor Linux - Newbie 3 12-08-2003 10:28 PM
can't umount cdrom ust Linux - General 6 11-07-2003 01:28 AM
mount, umount cdrom Opaque Linux - Newbie 3 06-21-2001 09:30 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 04:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration