Using QPxTool to check optical drives and media for errors
Full Control
Optical disks vary greatly in terms of quality. To use them optimally and avoid data errors, you need only two things: Linux and QPxTool.
Optical disks are still used for backups and multimedia applications because they are much less expensive than Flash media and their service life is reasonably well known. Blanks, however, vary greatly in quality, and not every burner is suitable for use with any CD-R. In the worst case, the backup ends up with errors on the disk, and you may be left without a copy in an emergency.
The QPxTool program [1] helps you avoid blanks that are incompatible with your drive. In most major distributions and their derivatives, you will find the tool in the repository, from which you can install with a single mouse click. To compile the source code manually, check out the instructions on the QPxTool homepage [2].
First Start
After starting, QPxTool first guides you to a somewhat cluttered application window that lists many parameters on the right in the Media R/W Capabilities and Generic Capabilities sections.
Because the application initially only selects one virtual drive, in the Device tab, it disables all technical parameters at first. Thus, you will first want to select one of the optical drives installed in your computer by clicking the unmount icon (small triangle over a horizontal bar) on the right. Then, select the device to be examined in the drop-down menu (Figure 1).
After inserting a disk and selecting the drive, the display changes; the program visualizes the read and write capabilities of the drive as small silver and gold CD icons to the left of each parameter.
It also visualizes the general capabilities of the drive in the lower area of the window with a green check mark to the left of each parameter. The tool gives you basic information about the drive in the Basic info column; clicking on the Media tab provides in-depth details for the inserted medium (Figure 2).
Configuration
To test different technical parameters, you are advised to configure the software in detail. You can reach the dialog with the settings either via the button with the stylized tools at top right in the toolbar or via Device | Preferences.
The first task is to go to the Common group to enable different test routines for written and blank optical data carriers. Industrially produced audio CDs and video DVDs are regarded as written. You also specify in this field, whether QPxTool simply logs the test results or logs them on the hard disk (Figure 3).
The resulting data is of particular interest if you want to use many different media in the device and thus want to set the optimum parameters for the respective blanks in popular burning programs. After setting the options, click Save bottom right in the window.
In the Colors group, you can define a custom color scheme for the graphics in the test runs, if needed. Finally, you can add the optical drives installed in the computer to the software in the Devices group in this dialog. It supports internal devices, devices connected via a USB interface, and also those that you access as shares on the network.
Test Run
You can start the tests enabled in your settings by selecting Device | Run tests. Before the analysis starts, you can also select whether the test cycle is part of a series. The subsequent test run can take several minutes, depending on the speed of the drive, the size of the device being tested, and the efficiency of the software error correction built into the device.
The program displays the results of the tests as a graph in the main window (Figure 4). In the left column, you can toggle between the different analyses. If you chose to create a log and defined a path, the program saves the test results in this folder in the form of a PDF document, with the current date as part of the name.
This function is especially important if you want to verify the integrity of a disk over a longer period of time. The File menu lets you additionally print or export the test reports as a HTML file.
After creating a series of tests with different media, you can select Device | Update media info to ensure that the application re-reads the information after each round. You can thus make sure that technical specifications that are no longer appropriate will not falsify the results.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.
-
DebConf24 to be Held in South Korea
Busan will be the location of the latest DebConf running July 28 through August 4
-
Fedora Unleashes Atomic Desktops
Fedora has combined its solid distribution with rpm-ostree system to make it possible to deliver a new family of Fedora spins, called Fedora Atomic Desktops.
-
Bootloader Vulnerability Affects Nearly All Linux Distributions
The developers of shim have released a version to fix numerous security flaws, including one that could enable remote control execution of malicious code under certain circumstances.