Cannot mount DVD on an Avaya Linux server

Last Updated : Jun 18, 2017 |

When you run the mount /mnt/cdrom command on an Avaya Linux server, the server might display the error mount:No medium found.

The server displays the error if the wrong physical device is mapped to the mount point /mnt/cdrom in the file /etc/fstab.

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 information about the DVD devices. An example of the information that the system displays:
    drive name:        sr0   had
    drive speed:       0    24
    drive # of slots:  1    1
    drive # of slots:  1    1
  3. In the output displayed, find the row for drive speed.
  4. Within the row for drive speed, find the column that contains a non-zero value.

    For example, in the system output mentioned in Step 2, the column that contains the a non-zero value is in the second row with a value of 24.

  5. In the column that contains a non-zero value, move up one row to find the drive name.

    For example, in the system output mentioned in Step 2, the drive name is hda.

  6. Run the ls -l /dev | grep cdrom command to display a list of device special files associated with the DVD devices.
    The system displays a list of device special files. For example:
    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
  7. In the output displayed, find the line for the drive name that you have identified in step 5.

    For example, if you identify the drive name hda in step 5, the line that you need to find ends with cdrom-hda -> hda.

  8. In the line, find the device special file name that is listed before the drive name.

    For example, in the system output mentioned in Step 6, the device special file name is cdrom-hda.

  9. Open the file /etc/fstab in a text editor.
  10. Find the line /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 2
  11. Change /dev/cdrom to the path of the device special file that you locate in step 8.

    For example, if the file name is cdrom-hda, the corrected line is /dev/cdrom-hda /mnt/cdrom iso9660 noauto,owner,ro 0 2.

  12. Save and close the file.