gfalFS - Man Page

Filesystem client for the GFAL 2.0 toolkit

Synopsis

Mount

   gfalFS [options] mntdir remote_url

Umount

   gfalFS_umount mntdir                

Description

gfalFS is a filesystem allowing to mount any resources supported by the GFAL 2.0 toolkit.
This include any resources accessible by the following protocol : WebDav/HTTP, xrootd, SRM, GridFTP, dCAP, LFC, RFIO...
Please refer to the GFAL 2.0 documentation for the complete list of supported protocols.
The user can seamlessly interacts with grid and cloud storage systems just as if they are local files.

The protocol support depends directly of the GFAL 2.0 plugin configuration.

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 WebDav over https directory and execute a directory listing

       mkdir ~/my_mnt/
       gfalFS ~/my_mnt davs://lxfsra04a04.cern.ch/dpm/cern.ch/
       /bin/ls ~/my_mnt

Mount a local folder in debug mode and execute a directory listing

       mkdir ~/my_mnt/
       gfalFS ~/my_mnt -v -d file:///etc/
       /bin/ls ~/my_mnt

Mount an SRM directory with transparent file operations

       gfalFS ~/my_mnt 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

Mount an LFC directory and list the replicas of a file

       gfalFS ~/my_mnt lfc://prod-lfc-shared-central.cern.ch/grid/dteam
       getfattr -n user.replicas ~/my_mnt/test_file

Unmount an existing gfalFS mount point

       gfalFS_umount ~/my_mnt/

See Also

syslog(3), gfal2(3),

Authors

Adrien Devresse <adrien.devresse@cern.ch>, Jean-Philippe Baud.

Info

Date: 2012/04/15 15:00:00 Filesystem client based on GFAL 2.0