Skip to content. | Skip to navigation

Personal tools
You are here: Home Telescopes Magellan Instruments PANIC Panic online documentation Observer Information Panic Observer's Manual Appendix Writing Data to Tape

Writing Data to Tape

  • Please ask the Instrument Specialist for assistance with writing your data to tape as DUKE is located in the equipment room. The procedure is also outlined below.
 
  • A DDS4 DAT drive is available on DUKE for writing each night's data to tape. (Note: This drive will read DDS3, DDS2, and DDS1 90 meter tapes; it will not read DDS-1 60 meter tapes. Users should bring their own DDS4 tapes, as none are available at the Observatory.) To use this drive, load a tape and run the following commands from an "xterm" window on DUKE. Note that DDS2 tapes are very slow and probably will not hold all of the data from an entire observing run. We strongly recommend at least using DDS3 tapes.
 
  • There are also DAT drives available on both linux workstations in the control room, although using these drives requires that you copy your data to one of these workstations.

 

mt -f /dev/st0 setblk 0 to insure that your data can be read by
  other operating systems
cd /data1/panic (or wherever your data happen to be)
mt -f /dev/nst0 rewind set the tape at the beginning
tar cvf /dev/nst0 20020731 writes data directory 20020731 to tar archivefile 1
  file 1
mt -f /dev/nst0 rewind reset the tape at the beginning
tar tvf /dev/nst0 check that data are on the tape by listing
  tarfile contents to screen
mt -f /dev/nst0 rewoff to rewind tape and eject it
  • Now suppose you want to append data from night 2 to the same tape. This procedure requires caution because it is very easy to erase your data if you make a mistake!

 

mt -f /dev/st0 setblk 0 to insure that your data can be read by
  other operating systems
cd /data1/panic (or wherever your data happen to be)
mt -f /dev/nst0 rewind set the tape at the beginning
mt -f /dev/nst0 fsf 1 fsf = `forward skip files'
tar cvf /dev/nst0 20020801 writes data directory 20020801 to tar archive file 2
mt -f /dev/nst0 rewind reset the tape at the beginning
mt -f /dev/nst0 fsf 1 forward skip to tar archive file 2
tar tvf /dev/nst0 check that data are on the tape by listing
  tarfile contents to screen
mt -f /dev/nst0 rewoff to rewind tape and eject it

 

Document Actions