Using file systems on read/write optical media

CDRFS and JFS file systems can be used on read/write optical media.

A CD-ROM file system (CDRFS) can be stored on read/write optical media, provided that the optical media is write-protected, as well as on a CD-ROM. The following table tells you how to add, mount, or unmount a CDRFS on read/write optical media. You must specify the following information when mounting the file system:

Item Description
Device name Defines the name of device containing the media.
Mount point Specifies the directory where the file system will be mounted.
Automatic mount Specifies whether the file system will be mounted automatically at system restart.
CDRFS on Optical Media Tasks
Task SMIT Fast Path Command or File
Adding a CDRFS 1 smit crcdrfs
  1. Add the file system: crfs -v cdrfs -p ro -dDeviceName -m MountPoint -A AutomaticMount
  2. Mount the file system: mount MountPoint
Removing a CDRFS2
  1. Unmount the file system: smit umountfs
  2. Remove the file system: smit rmcdrfs
  1. Unmount the file system: umount FileSystem
  2. Remove the file system: rmfs MountPoint
Note:
  • Make sure the read/write optical media is write-protected.
  • A CDRFS file system must be unmounted before the read/write optical media can be removed.

A JFS provides a read/write file system on optical media similar to those on a hard disk. You must have system authority to create or import a read/write file system on read/write optical media (that is, your login must belong to the system group) and you must have the following information:

Volume group name
Specifies the name of the volume group
Device name
Specifies the logical name of the read/write optical drive
Mount point
Specifies the directories where the file systems will be mounted
Automatic mount
Specifies whether the file system will be mounted automatically at system restart
Note:
  • Any volume group created on read/write optical media must be self contained on that media. Volume groups cannot go beyond one read/write optical disk.
  • When accessing a previously created journaled file system, the volume group name does not need to match the one used when the volume group was created.
JFS on Optical Media Tasks
Task SMIT Fast Path Command or File
Add a JFS
  1. Insert optical disk into drive.
  2. Create a volume group (if necessary): smit mkvg
  3. Create a journaled file system: smit crfs
  1. Insert optical disk into drive.
  2. Create a volume group (if necessary): mkvg -f -y VGName -d 1 DeviceName
  3. Create a journaled file system: crfs -v jfs -g VGName -a size=SizeFileSystem -m MountPoint -A AutomaticMount -p rw
  4. Mount the file system: mount MountPoint
Accessing previously created JFSNote 1
  1. Insert optical disk into drive.
  2. Import the volume group: smit importvg
  1. Insert optical disk into drive.
  2. Import the volume group: importvg -y VGName DeviceName
  3. Mount the file system: mount MountPoint
Removing a JFSNote 2
  1. Unmount the file system: smit umountfs
  2. Remove the file system: smit rmjfs
  1. Unmount the file system: umount FileSystem
  2. Remove the file system: rmfs MountPoint
Note:
  • This procedure is required whenever inserting media containing journaled file systems.
  • Removing a journaled file system destroys all data contained in that file system and on the read/write optical media.