mounted filesystem

138 views
Skip to first unread message

Adil Hasan

unread,
Feb 13, 2014, 3:26:02 PM2/13/14
to irods-chat
Hello,
I'm seeing something strange. I've got an iRODS server which is accessing a
FUSE mounted filesystem (it's not an iRODS fuse-mounted collection) as an
iRODS resource. I create the iRODS resource as a unix file system, but
when I try to iput data into the resource I get a status = -510002
UNIX_FILE_OPEN_ERR error. Looking in the iRODS log file I see:

Feb 13 21:13:27 pid:28174 NOTICE: unixFileMkdir: mkdir of /mnt/irods_test
error, status = -520013

which suggests UNIX_FILE_MKDIR_ERR Permission denied. The directory exists
(the filesystem resource path is registered as /mnt/irods_test/resc1) so this
mkdir suggests to me that the directory isn't visible to iRODS.

Outside of iRODS it's
possible to write to the resource or create a directory without problems.

So, I'm wondering if somehow the iRODS server cannot 'see' the filesystem.
The filesystem is fuse mounted with:

irods_test on /mnt/irods_test type fuse.mcfs (rw,nodev,noatime,allow_other)

Has anyone else tried accessing FUSE mounted filesystems?

thanks,
adil

Jean-Yves Nief

unread,
Feb 14, 2014, 3:10:48 AM2/14/14
to irod...@googlegroups.com
hello Adil,

has the unix account running the irods server the rights to
create directories etc... for your fuse mount point: it should behave as
a normal unix file system.
cheers,
JY

Adil Hasan

unread,
Feb 14, 2014, 3:21:54 AM2/14/14
to irod...@googlegroups.com
Hello Jean-Yves,
thanks for the quick response. Yes we tried on the command link 'mkdir'
and it worked without problems. I tried using a 'normal' disk on the same
resource (ie local disk) to check if there were some config probs with the
iRODS server and that worked fine.
It's highly strange...
adil
> --
> --
> "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
>
> --- You received this message because you are subscribed to the
> Google Groups "iRODS-Chat" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to irod-chat+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Jean-Yves Nief

unread,
Feb 17, 2014, 3:00:54 AM2/17/14
to irod...@googlegroups.com
hello Adil,

indeed, it is odd. Have you tried to open, write a file into
this fuse mount point using a small piece of code (using the C posix or
Python or whatever...) ?

Adil Hasan

unread,
Feb 17, 2014, 3:11:22 AM2/17/14
to irod...@googlegroups.com
Hello Jean-Yves,
good point! I will try that out with some C code and see if we can figure
out what the problem is.
much thanks,
adil
Reply all
Reply to author
Forward
0 new messages