[Gluster-devel] Loop mounting

Michael Fincham michael at unleash.co.nz
Tue Aug 21 21:50:40 UTC 2007


Hi Avati, list,

I've done a bit more testing with some other FUSE filesystems (fusesmb,
mountlo) and they both support loop-mounting read/write, so I think we
can rule out it being a FUSE problem.

Any further ideas?

-Michael

On Wed, 2007-08-15 at 21:24 +0530, Anand Avati wrote:
> Michael,
>  this seems to be a limitation of FUSE itself, because it is
> mmap()'ing a file in read-write mode, which seems to have a problem in
> fuse. I will soon confirm if this is the same cause.
> 
> avati
> 
> 2007/8/15, Michael Fincham <michael at unleash.co.nz>:
>         Hi everyone,
>         
>         Has anyone had success with loop mounting a file stored on a
>         glusterfs
>         volume?
>         
>         administrator at vs02:/mnt/temp$ sudo losetup -f file.img
>         ioctl: LOOP_SET_FD: Invalid argument
>         
>         I get this error but the same image works fine on an ext2
>         partition. 
>         
>         I've discussed this a little on the IRC room, and apparently
>         it's being
>         investigated, but I figured I'd ask if anyone else has come up
>         against it
>         and has a short-term solution.
>         
>         Thanks everyone, esp. glusterfs devs ;) 
>         
>         --
>         -Michael Fincham
>         Unleash Technology Solutions
>         
>         
>         
>         _______________________________________________
>         Gluster-devel mailing list
>         Gluster-devel at nongnu.org
>         http://lists.nongnu.org/mailman/listinfo/gluster-devel
> 
> 
> 
> -- 
> It always takes longer than you expect, even when you take into
> account Hofstadter's Law. 
> 
> -- Hofstadter's Law
-- 
-Michael Fincham <michael at unleash.co.nz>
Unleash Technology Solutions






More information about the Gluster-devel mailing list