Meet the Department
Observatories

Palomar Observetory
Keck
OVRO
CELT
RDRO
CSO
Academics
Research
Events
Local Resources
Links
Search
There are CD-ROM writers installed in grb at the 200" and xrf at the 60". They are capable of writing CD-ROMs in 2-speed mode and reading CD-ROMs in 6-speed mode. The automatic volume mounting daemon, vold, cannot properly handle a CD-ROM writer so it has been disabled on these machines. This means that CD-ROMs do not automatically mount after being inserted.

To mount an hsfs CD:

% cdmount 
To umount a CD:
% cdunmount
To eject a CD from the drive:
cdrecord dev=1,6,0 -eject
Or, just press the eject button on the writer.

Writing CD-ROMs is a two stage process. First create a large ISO file containing all the files that will be put onto the CD. Next burn the ISO file to disk. When the drive is actually burning the data onto the disk it is crucial that the data streams at a steady pace. If the data rate slows down and the 4MB cache empties, the CD will not be burned properly, and the disk will have to be discarded. For this reason, do not do any heavy processing or I/O during the 30 minutes it takes to burn the CD-ROM.

  • Stage 1: Creating the ISO file - to be done on the computer with the data files

    1. Arrange no more than 650MB of files into /scr/user/cdr. The structure of the directories and subdirectories will eventually be transferred to the CD-ROM.
    2. Use the "mkisofs" program to create the large ISO file and store the file to disk.
      % cd /scr/user/cdr
      % mkisofs -r -o /scr/user/cdr/data.iso -V 12AUG98-scr .

      (note: The -V flag gives the volume ID) (note: Be sure to use the period at the end of the command line)

  • Stage 2: burning the ISO file onto a disk

    1. Log into the appropriate machine (grb/xrf)
    2. Transfer the ISO file onto the machine in the directory of /scr/user/cdr.
    3. Put a blank CDR disk into the drive
    4. Use the "cdrecord" program to burn the ISO file onto the disk
      % cdrecord -v speed=2 dev=1,6,0 data.iso
    5. Mount the cd with the cdmount command to verify that it has been written properly.
    6. Delete the ISO file.

For more information:

  1. See the man pages for mkisofs and cdrecord
  2. Look at the CDRECORD web page

Modified by Dan Zieber on July 24, 2002. Created by Roy Gal based on the cdrecord help by Cheryl Southard.

[   Meet the Department   |   Observatories   |   Research Activities   |   Events   |   Local Resources   |   Links   |   Search   ]


Please send your feedback to webmaster@astro.caltech.edu