irodsFs -d /tmp/fmount fails

120 views
Skip to first unread message

Irene Barg

unread,
Feb 28, 2012, 6:19:29 PM2/28/12
to irod...@googlegroups.com, Wayne Schroeder, Irene Barg
Hi All,

I have been trying to get FUSE to work on a iRODS client, but the mount
fails. Suggestions are welcome:

Test environment:

[dppops@somboo data]$ uname -a
Linux somboo.tuc.noao.edu 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5
17:52:25 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
[dppops@somboo data]$ cat /etc/redhat-release
CentOS release 5.5 (Final)

[dppops@somboo data]$ yum list | grep fuse
fuse.x86_64 2.7.4-8.el5
installed
fuse-devel.x86_64 2.7.4-8.el5
installed
fuse-libs.x86_64 2.7.4-8.el5
installed
fuse-devel.i386 2.7.4-8.el5
base
fuse-libs.i386 2.7.4-8.el5
base

I couldn't figure out how to set fuseHomeDir to the directory where the
fuse library and include files are installed because they are in
separate paths, so I downloaded and unpacked the src.rpm then set the
fuseHomeDir to:

fuseHomeDir=/usr/src/redhat/SOURCES/fuse-2.7.4

Both iRODS client and FUSE appeared to compile without error. I can use
the iRODS client, i.e.::

[noaodt@somboo ~]$ icd
[noaodt@somboo ~]$ ipwd
/noao-tuc-z1
[noaodt@somboo ~]$ ils
/noao-tuc-z1:
C- /noao-tuc-z1/home
C- /noao-tuc-z1/mtn
C- /noao-tuc-z1/pipeline
C- /noao-tuc-z1/test
C- /noao-tuc-z1/trash

But when I try to mount it via FUSE I get::

[noaodt@somboo server]$ irodsFs -h
Usage : irodsFs [-hd] [-o opt,[opt...]]
Single user iRODS/Fuse server
Options are:
-h this help
-d FUSE debug mode
-o opt,[opt...] FUSE mount options

[noaodt@somboo server]$ mkdir /tmp/fmount
[noaodt@somboo server]$ irodsFs -d /tmp/fmount
fuse: failed to exec fusermount: Permission denied

My ~.irods/.irodsEnv looks like this::

irodsPort '7480'
irodsHost 'dsan3.tuc.noao.edu'
irodsHome '/noao-tuc-z1'
irodsCwd '/noao-tuc-z1'
irodsUserName 'noaodt'
irodsZone 'noao-tuc-z1'

The irodsUserName 'noaodt' is a iRODS user that has 'ro' group permissions.

On the server side, all is see is the authentication info, nothing else::

Feb 28 15:54:07 pid:12167 NOTICE: Agent process 14289 started for
puser=noaodt and cuser=noaodt from 140.252.4.28
Feb 28 15:54:07 pid:14289 NOTICE: rsAuthCheck user noaodt#noao-tuc-z1
Feb 28 15:54:07 pid:14289 NOTICE: rsAuthResponse set proxy authFlag to
3, client authFlag to 3, user:noaodt#noao-tuc-z1 proxy:noaodt client:noaodt
Feb 28 15:54:07 pid:14289 NOTICE: readAndProcClientMsg: received
disconnect msg from client
Feb 28 15:54:07 pid:14289 NOTICE: Agent exiting with status = 0

Suggestions for debugging this are appreciated

Thanks in advance.
-- irene
---------------------------------------------------------------------
Irene Barg Email: ib...@noao.edu
NOAO/AURA Inc. http://www.noao.edu/noao/staff/ibarg
950 N. Cherry Ave. Voice: 520-318-8273
Tucson, AZ 85719 USA FAX: 520-318-8360
---------------------------------------------------------------------

mw...@diceresearch.org

unread,
Feb 28, 2012, 7:32:28 PM2/28/12
to irod...@googlegroups.com
Hello Irene,

>fuse: failed to exec fusermount: Permission denied

You may not have execute permission for the "fusermount" command.
Please run:
$ which fusermount
/usr/local/bin/fusermount
$ ls -l /usr/local/bin/fusermount
-rwsr-xr-x 1 root root 67077 2012-02-24 20:04 /usr/local/bin/fusermount

Mike

--
"iRODS: the Integrated Rule-Oriented Data-management System; A community driven, open source, data grid software solution" https://www.irods.org

iROD-Chat: http://groups.google.com/group/iROD-Chat

giacomo mariani

unread,
Mar 1, 2012, 5:28:33 AM3/1/12
to irod...@googlegroups.com


    >fuse: failed to exec fusermount: Permission denied
    �

    You may not have execute permission for the "fusermount" command.
    �
    Please run:
    �
    $ which fusermount
    �
    /usr/local/bin/fusermount
    �
    $ ls -l /usr/local/bin/fusermount
    �

    -rwsr-xr-x 1 root root 67077 2012-02-24 20:04 /usr/local/bin/fusermount
    �
    Mike
I also suggest to check the permission on /dev/fuse.
In debian it should be:
crw-rw---- 1 root fuse 10, 229 Jan 16 18:15 /dev/fuse

Hope this help.

Regards,
�� Giacomo

-- 
Giacomo Mariani
SuperComputing Applications and Innovation Department 
CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY
Tel: +39 051 6171795  Fax: +39 051 6137273
hpc.cineca.it 

Irene Barg

unread,
Mar 2, 2012, 1:03:08 PM3/2/12
to irod...@googlegroups.com, ib...@noao.edu
Hi All,

Never mind, it was user error, I forgot to make the 'fusermount'
executable by all.

Sorry for the spam.
--irene

--

Reply all
Reply to author
Forward
0 new messages