Sponsored Content
Full Discussion: Unable to mount CDROM
Top Forums UNIX for Dummies Questions & Answers Unable to mount CDROM Post 302719993 by accipiter1 on Tuesday 23rd of October 2012 11:29:04 AM
Old 10-23-2012
Unable to mount CDROM

Thanks for your feedback.

I inserted a RHEL4 CD into the drive tried running the #mount /media/cdrom# command but the drive didn't seem to recognise the media.

Code:
#[root@localhost ~]# mount /media/cdrom0
mount: no medium found on /dev/sr0#

I tried another CDROM but got the same message. I then run the following commands:

Code:
#[root@localhost ~]# dmesg | grep sr0
sr0: scsi3-mmc drive: 1x/1x writer dvd-ram cd/rw xa/form2 cdda tray
sr 2:0:0:0: Attached scsi CD-ROM sr0
[root@localhost ~]# 
 
#[root@localhost ~]# ls -al /dev/sr0
brw-rw----+ 1 root cdrom 11, 0 Oct 23 08:13 /dev/sr0
[root@localhost ~]# ls -al /dev/cdrom0
ls: cannot access /dev/cdrom0: No such file or directory
[root@localhost ~]# ls -al /dev/cdrom1
lrwxrwxrwx. 1 root root 3 Oct 23 08:13 /dev/cdrom1 -> sr0
[root@localhost ~]#

Can you suggest anything else?.

Last edited by Corona688; 10-23-2012 at 12:39 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mount cdrom

hi when i want to mount my cdrom i got this error cd9660: /dev/acd0c: Invalid argument this is how my /etc/fstab looks like: #device mntpoint FStype Options Dump pass /dev/ad0s1b none swap sw 0 0... (2 Replies)
Discussion started by: Stormpie
2 Replies

2. UNIX for Dummies Questions & Answers

mount cdrom

I have an external cdrom drive, which am tring to mount. I issued the following mkdir cdrom to create a mount point then mount -F cdfs /dev/dsk/c0t4d0s7 /cdrom but this is unsuccessful instead received an error message mount point not found can you help (5 Replies)
Discussion started by: hassan2
5 Replies

3. UNIX for Advanced & Expert Users

mount cdrom

Info: Alpha Server ES40, True64 Unix 4.0F Symptom: root#file /dev/rrz*c root#. . /dev/rrz24c: character special (8/49154) EIDE #3 CDR-8435 disk #192 (scsi ID #0) (SCSI LUN #0) offline root#mount -r /dev/rz24c /mnt root#/dev/rz24c on /mnt: I/O error pls help me, i don't know if... (2 Replies)
Discussion started by: q30
2 Replies

4. UNIX for Dummies Questions & Answers

Remote mount of a cdrom

I am trying to remote mount a cdrom (Sun Ultra 10 running release 7) on another system. I followed the following procedure offered by a friend: To allow a drive to be mounted, edit /etc/dfs/dfstab file to include the following line: share -F nfs -o ro /usr/man On computer with drive... (3 Replies)
Discussion started by: leond
3 Replies

5. UNIX for Advanced & Expert Users

CDROM Doesn't Auto Mount - Solaris 9

On Sun Fire V240, cdrom doesn't automount. I can manually mount the cdrom, however it pretty annoying. I have checked the vold demon and its seems to be running. Here is the output from /etc/inetd.conf pg inetd.conf daytime stream tcp6 nowait root internal daytime dgram udp6 ... (2 Replies)
Discussion started by: mshafi
2 Replies

6. AIX

mount directory as cdrom

Hi guy's, my first post here on the forum :p I did a quick search here, but did not find a direct hit, so decided to post my question. I'm taking my first steps into AIX, and right now I'm trying to install some software that I've downloaded as a zip file, and have this extracted into a mounted... (1 Reply)
Discussion started by: psyduck
1 Replies

7. SCO

cdrom will not mount

I am trying to mount my a cd in my SCO 5.0.7 box and keep getting this: Alessandra! -->#mount -r /dev/cd0 /mnt mount: cannot stat '/dev/cd0' Alessandra! -->hwconfig name=kernel vec=- dma=- rel=3.2v5.0.7 kid=2003-02-18 name=cpu vec=- dma=- unit=1... (0 Replies)
Discussion started by: herot
0 Replies

8. HP-UX

cannot mount cdrom with SAM

Hi there, I am building an HP UX 11 server (first time) and I'm trying to mount the CDROM with SAM. What am I supposed to enter in the "mount directory" box? Also, I can't ftp to the server due to a logon failure. I used root id and password. I deleted the file in the /etc/ftpd directory but... (8 Replies)
Discussion started by: rbglo
8 Replies

9. UNIX for Dummies Questions & Answers

can't mount cdrom

Hi there I am trying to mount a cdrom using: mount /cdrom and I get the error: mount: mount point cannot be determined If I try the command mount cdrom /cdrom nfs mount: nfs file system; use path I tried running mountall and mountall -F NFS but to no avail (3 Replies)
Discussion started by: niamh
3 Replies

10. UNIX for Dummies Questions & Answers

CDROM does not mount

Hi people, I am a new user of Unix, I want to ask a basic question. I have a solaris 10 system. I want to use the cd-rom but I can't see what's inside in the cd. I put the cd and then ; root@hubatusvr # mount /dev/dsk/c0t3d0s2 /cdrom mount: /dev/dsk/c0t3d0s2 is already mounted or /cdrom is busy... (2 Replies)
Discussion started by: hubatuwang
2 Replies
vold.conf(4)							   File Formats 						      vold.conf(4)

NAME
vold.conf - volume management configuration file SYNOPSIS
/etc/vold.conf DESCRIPTION
The vold.conf file contains the removable media configuration information used by vold(1M). This information includes the database to use, labels that are supported, devices to use, actions to take when certain media events occur, and the list of file systems that are unsafe to eject without unmounting. Modify vold.conf to specify which program should be called when media events (actions) occur or when you need to add another device to your system. See EXAMPLES for more information on adding devices. If you modify vold.conf, you must tell vold to reread vold.conf by sending a HUP signal. Use the following command: # kill -HUP `pgrep vold` File Format The syntax for the vold.conf file is shown here. # Database to use db database # Labels supported label label_type shared_object device # Devices to use use device type special shared_object symname [ options ] # Actions insert regex [ options ] program program args eject regex [ options ] program program args notify regex [ options ] program program args # List of file system types unsafe to eject unsafe fs_type fs_type Of these syntax fields, you can safely modify Devices to use and Actions. Do not modify the db line. Devices to Use Field All use device statements must be grouped together by device type. (For example, all use cdrom statements must be grouped together and all use floppy statements must be grouped together.) The explanations of the syntax for the Devices to use field are as follows: device The type of removable media device to be used. Legal values are cdrom, floppy, pcmem and rmdisk. type The specific capabilities of the device. Legal value is drive. special This sh(1) expression specifies the device or devices to be used. Path usually begins with /dev. shared_object The name of the program that manages this device. vold(1M) expects to find this program in /usr/lib/vold. symname The symbolic name that refers to this device. The symname is placed in the device directory. options The user, group, and mode permissions for the media inserted (optional). The special and symname parameters are related. If special contains any shell wildcard characters (that is, has one or more asterisks or question marks in it), then the syname must end with"%d". In this case, the devices that are found to match the regular expression are sorted, then numbered. The first device will have a zero filled in for the "%d", the second device found will have a one, and so on. If the special specification does not have any shell wildcard characters then the symname parameter must explicitly specify a number at its end (see EXAMPLES below). Actions Field Here are the explanations of the syntax for the Actions field. insert|eject|notify The media event prompting the event. regex This sh(1) regular expression is matched against each entry in the /vol file system that is being affected by this event. options You can specify what user or group name that this event is to run as (optional). program The full path name of an executable program to be run when regex is matched. program args Arguments to the program. Default Values The default vold.conf file is shown here. # Volume Daemon Configuration file # # Database to use (must be first) db db_mem.so # Labels supported label cdrom label_cdrom.so cdrom label dos label_dos.so floppy rmdisk pcmem label sun label_sun.so floppy rmdisk pcmem # Devices to use use cdrom drive /dev/rdsk/c*s2 dev_cdrom.so cdrom%d use floppy drive /dev/rdiskette[0-9] dev_floppy.so floppy%d use pcmem drive /dev/rdsk/c*s2 dev_pcmem.so pcmem%d forceload=true use rmdisk drive /dev/rdsk/c*s2 dev_rmdisk.so rmdisk%d # Actions eject dev/diskette[0-9]/* user=root /usr/sbin/rmmount eject dev/dsk/* user=root /usr/sbin/rmmount insert dev/diskette[0-9]/* user=root /usr/sbin/rmmount insert dev/dsk/* user=root /usr/sbin/rmmount notify rdsk/* group=tty user=root /usr/lib/vold/volmissing -p remount dev/diskette[0-9]/* user=root /usr/sbin/rmmount remount dev/dsk/* user=root /usr/sbin/rmmount # List of file system types unsafe to eject unsafe ufs hsfs pcfs udfs EXAMPLES
Example 1: A sample vold.conf file. To add a CD-ROM drive to the vold.conf file that does not match the default regular expression (/dev/rdsk/c*s2), you must explicitly list its device path and what symbolic name (with %d) you want the device path to have. For example, to add a CD-ROM drive that has the path /dev/rdsk/my/cdroms? (where s? are the different slices), add the following line to vold.conf (all on one line): use cdrom drive /dev/rdsk/my/cdroms2 dev_cdrom.so cdrom%d Then, when media is inserted in this CD-ROM drive, vold assigns it the next symbolic name. For example, if two CD-ROMs match the default regular expression, they would be named cdrom0 and cdrom1. And, any that match the added regular expression would be named starting with cdrom2. For a diskette that does not match the vold.conf default regular expression (vol/dev/aliases/floppy[0-9]), a similar line would have to be added. For example, to add a diskette whose path was /dev/my/fd0, you would add the following to vold.conf: use floppy drive /dev/my/fd0 dev_floppy.so floppy%d SEE ALSO
sh(1), volcancel(1), volcheck(1), volmissing(1), rmmount(1M), rpc.smserverd(1M), vold(1M), rmmount.conf(4), volfs(7FS) NOTES
vold manages both the block and character device for removable media. However, to make the configuration file easier to set up and scan, only one of these devices needs to be specified. If you follow the conventions specified below, vold figures out both device names if only one of them is specified. For example, if you specify the block device, it figures out the pathname to the character device; if you specify the pathname to the character device, it figures out the block device. CD-ROM Naming Conventions The CD-ROM pathname must have a directory component of rdsk (for the character device) and dsk for the block device. For example, if you specify the character device using the line: use cdrom drive /dev/rdsk/my/cdroms2 dev_cdrom.so cdrom%d then it is assumed that the block device is at /dev/dsk/my/cdroms2 Diskette Naming Conventions For diskettes, vold requires that the device pathnames end in either rfd[0-9] or rdiskette[0-9] for the character device, and fd[0-9] or diskette[0-9] for the block device. As with the CD-ROM, it generates either the block name given the character name, or the character name given the block name. SunOS 5.10 21 Jun 2002 vold.conf(4)
All times are GMT -4. The time now is 02:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy