[ ATNF Narrabri (home page) ]  [ ATNF - home page ]  [ CSIRO ]  [ General Computing & System Admin. ]
 
Exabytes and CD-ROMS

Each computing environment at the ATCA handles exabytes and cdroms somewhat differently. Apart from the obvious differences between the VMS and UNIX machines, the three flavours of UNIX (Digital UNIX, SunOS 5.x and SunOS 4.x) differ in the details.

ATCA data is archived in RPFITS files on cdroms or exabyte tapes. The format for the latter is an ANSI tape, which is structured with a header, the data, and a trailer for each RPFITS file written on it. A useful utility to access these tapes is ansitape (see also ansiread below). This can be used to get directory listings of the tape as well as to read the contents onto disk, and even to write an ANSI tape if desired. Note that if you read the data to disk with this type of utility, you must still read the file into some package such as Miriad or AIPS with their filler programs (called atlod) for further work.
 
Usage

There are a number of devices available on a variety of computers:

Because Vladimir is responsible for the automatic archiving of all ATCA observations, it is best to get some tuition from observatory staff or the DA before using it. In general Vladimir should be used only for backing-up observations or writing CD-ROMS. Both these are accomplished with the Archiver utilities export and simple. These hide many of the arcane details mentioned below. More information on Vladimir and the archiving software is available.
 
General CD writer

The off-line machine used to write CDs is aine. There is a separate document describing using the cdrom writer.
 
 
Mounting and Reading CD-ROMs on the UNIX machines

Although the details of mounting and unmounting differ, once mounted a cdrom appears as a normal file system to the user (although it is read-only). Cdroms are infinitely more convenient to deal with than exabytes - their use is strongly encouraged.

Here we summarise how to mount and unmount a cdrom:

Note that the operating system will not allow you to unmount a cdrom while your current directory is still within the cdrom file system.

Because cdrom files are read-only, data copied from cdroms will also usually be read-only. You can change this with the chmod command.
 
 
The Exabyte Device on leon

Leon's exabyte drive is located in the rack on the left as you enter the Computer Room (immediately above leon itself). VMS read and write ANSI tapes by default. You can mount an initialised tape with

$ allocate mka600:
$ mount/override=ident mka600:
The tape can then be used with the normal VMS COPY and DIRECTORY commands. For example:
$ copy mka600:96-07-29_0213.C537 []
To initialise a brand-new exabyte (i.e. do not initialise an exabyte with data on it - the data will be lost), use
$ initialize mka600: xxxx
where xxxx is a volume name.
 
 
Exabyte Devices on the UNIX machines

There is no software mounting of tape devices in Unix so you access the drive directly. The form of the device names differs between the UNIX flavours. There are two tape interfaces of interest here - the so-called `non-rewinding raw' and `raw' interfaces. Different programs require different interfaces. The following table summarises the devices available at the ATCA.
 

Machine Raw Interface Non-Rewinding Raw Interface
kaputar /dev/rmt1a /dev/nrmt1a
vladimir /dev/rst0 /dev/nrst0

Other variations on these names are possible. See the man page on mtio for more information (although this is at best cryptic).

Kaputar has two exabyte drives, which are in the observers area near the printers. Each is labelled with its ``non-rewinding raw'' name. Vladimir's drive is adjacent to the workstation, it can handle 2 and 5GB exabytes. See the documentation on Exporting ATCA data to find out how to get your data onto the Vladimir exabyte.
 
 
Reading and Writing Exabytes on the UNIX machines

There are basically two sorts of tape format that are used in the UNIX world - tar and ANSI format. Tar is the usual format for exchange between different UNIX environments. However, ANSI tapes are also sometimes used. In particular, exabytes written by the ATCA archiving software are in ANSI format. Utilities to read and write exabytes are as follows:



[ ATNF Narrabri (home page) ]  [ ATNF - home page ]  [ CSIRO ]  [ General Computing & System Admin. ]

Original: Bob.Sault@csiro.au (29-JUL-1996)
Modified: Bob.Sault@csiro.au (05-MAR-2001)
Format Modified: John.Giovannis@csiro.au (21st August, 2002)