Topics: AIX, LVM, System Admin

How to mount/unmount an ISO CD-ROM image as a local file system

To mount:

  1. Build a logical volume (the size of an ISO image, better if a little bigger).
  2. Create an entry in /etc/filesystem using that logical volume (LV), but setting its Virtual File System (V'S) to be cdrfs.
  3. Create the mount point for this LV/ISO.
  4. Copy the ISO image to the LV using dd.
  5. Mount and work on it like a mounted CD-ROM.
The entry in /etc/filesystem should look like:
/IsoCD:

dev = /dev/lv09
vfs = cdrfs
mount = false
options = ro
account = false
To unmount:
  1. Unmount the file system.
  2. Destroy the logical volume.




If you found this useful, here's more on the same topic(s) in our blog:


UNIX Health Check delivers software to scan Linux and AIX systems for potential issues. Run our software on your system, and receive a report in just a few minutes. UNIX Health Check is an automated check list. It will report on perfomance, capacity, stability and security issues. It will alert on configurations that can be improved per best practices, or items that should be improved per audit guidelines. A report will be generated in the format you wish, and the report includes the issues discovered and information on how to solve the issues as well.

Interested in learning more?