[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 System Management Guide: Operating System and Devices

Using File Systems on Read/Write Optical Media

Two types of file systems can be used on read/write optical media:

CD-ROM File Systems

A CD-ROM file system stored on read/write optical media is mounted the same way as a file system on a CD-ROM drive, provided that the optical media is write-protected. You must specify the following information when mounting the file system:

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.

 

CD-ROM File Systems Tasks
Web-based System Manager:    wsm fs fast path
(File Systems application)

-OR-
Task SMIT Fast Path Command or File
Adding a CD-ROM file system 1 smit crcdrfs
  1. Add the file system:
    crfs -v cdrfs -p ro -d DeviceName -m MountPoint -A AutomaticMount
  2. Mount the file system:
    mount MountPoint
Removing a CD-ROM file system2
  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
Notes:
  1. Make sure the read/write optical media is write-protected.
  2. A CD-ROM file system must be unmounted from the system before it can be removed.

 

Journaled File Systems

The journaled file system provides a read/write file system 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.
Size file system Specifies the size of the file system in 512-byte blocks.
Automatic mount Specifies whether the file system will be mounted automatically at system restart.
Notes:
  1. 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.
  2. 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.

 

Journaled File Systems Tasks
Web-based System Manager:     wsm fs fast path
(File Systems application)

-OR-
Task SMIT Fast Path Command or File
Add a journaled file system
  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 journaled file systems1
  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 journaled file system2
  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
Notes:
  1. This procedure is required whenever inserting media containing journaled file systems.
  2. Removing a journaled file system will destroy all data contained in that file system and on the read/write optical media.

[ Previous | Next | Contents | Glossary | Home | Search ]