Skip to content

EGRID website

Sections
Personal tools
You are here: Home » Software » ELFI » A summary of ELFI usage

A summary of ELFI usage

A summary of ELFI usage, to be used as a quickstart or for those already in the knows.
Author: Riccardo Murri <riccardo.murri@ictp.it>
Date: Thu Oct 12 10:07:13 CEST 2006

Apply the following substitutions when typing the any of the following commands into your Linux shell:

SE
The hostname of any SE that is accessible by your VO (you can get a list with ls elfi/).
logical/file/name
A logical file name, as you would use with, for instance, lfc-ls.
local/file/name
The path name of any local file.
Command-line Purpose
elfi -v ./elfi mount the ELFI filesystem
ls -l elfi/LFC/logical/file/name get info about an LFN
ls -l elfi/SE/logical/file/name get info about the replica residing on host SE
cat elfi/LFC/logical/file/name vi elfi/LFC/logical/file/name directly access LFN contents for reading/writing

cat elfi/SE/logical/file/name

vi elfi/SE/logical/file/name

directly access replica contents for writing
cp local/file/name elfi/LFC/logical/file/name copy a local file into Grid storage and register it under a given LFN
mv elfi/LFC/logical/file/name elfi/LFC/other/logical/file/name rename a LFN
ls elfi/*/logical/file/name list replicas of a given LFN (bash trick :-))
cp elfi/SE1/logical/file/name elfi/SE/logical/file/name make a new replica of a given LFN on SE
cp elfi/SE1/logical/file/name elfi/SE2/logical/file/name update replica residing on SE2 with contents of replica on SE1
rm elfi/SE/logical/file/name delete replica residing on SE
rm elfi/LFC/logical/file/name remove an LFN and all of its replicas
elfi --unmount ./elfi unmount ELFI - no more Grid access
Created by rmurri
Last modified 2006-12-15 03:40
 

Powered by Plone

This site conforms to the following standards: