gfalfs(1) - Linux man page
Name
gfalFS - Filesystem client based on GFAL 2.0Synopsis
mountinggfalFS [options] mntdir remote_url
unmounting :
gfalFS_umount mntdir
Description
This include the common file access protocols in lcg ( SRM, GRIDFTP, DCAP, RFIO, LFN, ...).
The practical effect is that the user can seamlessly interact with grid and cloud storage systems just as if they were local files.
https://svnweb.cern.ch/trac/lcgutil/wiki/gfal2
https://svnweb.cern.ch/trac/lcgutil/wiki/gfalFS
The protocol support depends directly of the GFAL 2.0 plugin installation.
Options
-d
debug mode - does not act anymore like a daemon and print usefull information about the current operations.
-g
guid mode - access directly to the file by the guid name on the current lfc.
-s
single thread mode - Use only one thread to execute the operations, this cause a major slowdown of the execution but guarantee a protection against thread safety problems.
-v
enable verbose mode - print more informations about the current execution, can be use with -d in case of problems .
-V
print the version number.
Examples
Mount an SRM directory with transparent file operations :
mkdir ~/my_mnt/
gfalFS ~/my_mnt -d -v srm://cvitbdpm1.cern.ch/dpm/cern.ch/home/dteam/
echo "Hello world" > ~/my_mnt/hello; cat ~/my_mnt/hello; cp ~/my_mnt/hello /tmp/test_hello;
Mount an GRIDFTP directory and create a directory :
gfalFS ~/my_mnt gsiftp://cvitbdpm1.cern.ch/dpm/cern.ch/home/dteam/
mkdir ~/my_mnt/testdir; stat ~/my_mnt/testdir;
gfalFS_umount ~/my_mnt/
Mount an LFC directory and list a directory :
gfalFS ~/my_mnt lfn://grid/dteam
/bin/ls ~/my_mnt;