Print

Mounting a DVD on Avaya Linux

When you run the mount/mnt/cdrom command on Avaya Linux, you may see the mount: No medium found error.

This error occurs because the wrong physical device is mapped to the /mnt/cdrom mount point in the /etc/fstab file.

Proposed Solution

Procedure

  1. Log in to Linux on the Experience Portal server as a user with root privileges.
  2. Run the cat/proc/sys/dev/cdrom/info command. The system displays the following information table about your DVD device:
    drive name:        sr0  hda
    drive speed:       0    24
    drive # of slots:  1    1
    Can close tray:    1    1
    ...
    
  3. Find the drive name row in the information table above.
  4. In the drive name row, go to the last column. For example, the column you should be looking for contains the hda value .
  5. Run the ls -l /dev | grep cdrom command. It displays the following list of device special files associated with your DVD devices.
    lrwxrwxrwx 1 sroot root 4 Aug 31 08:11 cdrom -> scd0 
    lrwxrwxrwx 1 sroot root 3 Aug 16 11:16 cdrom-hda -> hda 
    lrwxrwxrwx 1 sroot root 4 Aug 31 08:11 cdrom-sr0 -> scd0 
    
  6. Find the line for the drive name that you found earlier.
    noteNote:

    In the example shown above, you should find the line that ends with cdrom-hda -> hda.

  7. In the line that ends with cdrom-hda -> hda, find the device special file name.
    noteNote:

    In the example shown above, the device special file name is cdrom-hda.

  8. Open the /etc/fstab file in a text editor.
  9. Find the /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 2 line in the text editor.
  10. Change /dev/cdrom with the path of the device special file that you just found.
    noteNote:
    In the example given above, the corrected line reads as follows:
    /dev/cdrom-hda   /mnt/cdrom   iso9660 noauto,owner,ro 0   2
  11. Save and close the file.