CD ROM

The CD ROM test verifies that your system can successfully interact with supported optical drives. Run this test only once for a given drive.

What the test covers

The CD ROM test runs on the following media and related drive types:

  • Read-only media and drives (CD-ROM)
  • Write-once media and drives (CD-R)
  • Rewritable media and drives (CD-RW)

    Based on information from the udev command, the test suite determines which optical drive tests to schedule: Blu-ray, DVD, or CD-ROM. It also determines the type of media to test: read-only, writable, or rewritable.

    For example, consider a Blu-ray drive with rewriting capabilities that can also read DVD and CD-ROM discs. The test suite plans the following tests for this drive:

  • A rewrite (erase, write, and read) test for Blu-ray media
  • A read test for DVD media
  • A read test for CD-ROM media

    You only need to run the CD ROM test once for a given drive.

RHEL version supported
  • RHEL 8
  • RHEL 9
  • RHEL 10
What the test does

The test performs the following tasks depending on the capabilities of the drive:

  • Read-only drives - First, it reads data from a disc and copies it to the hard disk. Then, it compares the data on the disc to the copy on the hard disk. If all file checksums match, the test passes.
  • Drives with writing capabilities - First, it reads data from the hard disk and writes it to a writable blank disc. Then, it compares the data on the hard disk to the copy on the disc. If all file checksums match, the test passes.
  • Drives with rewriting capabilities - First, it erases all information from the rewritable disc. Then, it reads data from the hard disk and writes it to the rewritable disc. Finally, it compares the data on the hard disk to the copy on the disc. If the erasing operation is successful and all file checksums match, the test passes.
Running the test

The test is interactive. Run the following command and then select the appropriate CD ROM test name from the list that displays.

 rhcert-run

Follow the instructions on screen to insert the appropriate media and to close the drive’s tray if appropriate.

Run time
The run time for the CD ROM test is dependent on the speed of the media and drive. For a 12x 714MB CD-RW disc, the test finishes in approximately 7 minutes.