Time-stamp: <2004-12-03 troncon;>

Hints & Tips for the Use of

CASTOR project

What is CASTOR?

CASTOR is an implementation of a Managed Storage system, developed at CERN, which allows users to store and retrieve large files (please do not use it for files below ~20MB!). It presents you with a file name space, which means you can store and manage your own files. There is a pool of tapes behind this name space, to which your files are copied. All the administrative details of tape names, file sequences etc. are dealt with by the CASTOR software.

Basic usage


Main CASTOR commands

CASTOR comes with its own set of commands ns*, with their man pages. A (non-exhaustive) list of commands is presented here:
nsls
- lists the contents of your CASTOR home directory. Option -l gives a long listing (like standard ls, also some other ls options are available - although not all).
nsrm
- removes a CASTOR file. Options -R will remove a directory and everything below it.
nsmkdir
- creates a subdirectory
nsrename
- changes the file name
nschmod
- changes mode bits of file/directory. Useful if you share a directory with your colleagues.

Good old rfcp transfers a file to CASTOR - but make sure that the file has Unix read permission for "others"! In case of doubt precede this command by chmod a+r myfile.

More information can be found on IT Castor pages. In particular you may want to see the User Guide.


Copying CASTOR-files to/from non-CERN machines



Please note that CASTOR is a complex system, developing very rapidly. The recommendations made on this page reflect our knowledge, but it may well be that users will run into problems that we have not realized. Please give us feedback!

Clara Troncon, Dec 6,2004