The name of the lfc server can be found out by:
> lcg-infosites --vo your_vo lfc (The lcg-infosites command is also useful for finding out other information. We refer to its man page.)
Now you can refer to files with their logical file names, which are site-independent. You do not have to care afterwords that to which site your files are actually written. The logical file names have to be unique.A very convenient way to generate them is to imitate the UNIX type file naming scheme. With the command lfc-mkdir one can make logical directories, like:
> lfc-mkdir /grid/hungrid/user_name/some_directory (All logical file names begin with /grid/virtual_organization. If you are a new user, the directory /grid/virtual_organization/user_name will not exist initially: you have to create it first, if you want an own directory.)
Line: 42 to 46
export LCG_GFAL_VO=your_vo
(for bash), or
setenv LCG_GFAL_VO your_vo
(for tcsh).
Added:
> >
A list of Storage Elements may be obtained by:
> lcg-infosites --vo your_vo se (See man pages of lcg-infosites.)
Note1: unfortunately, I encountered that the lcg-cr action often fails (this may be remedied in future, or may be already solved). Therefore, it is convenient to put an lcg-cr command into a checker loop, like: