[Gluster-devel] Loop mounting

Brent A Nelson brent at phys.ufl.edu
Wed Aug 15 15:59:05 UTC 2007


I've done loop mounting of ISO images from an older version of GlusterFS 
and Fuse 2.6.3.  It worked, and I was able to copy files out.

"mount -r -o loop=/dev/loop0 /glusterfs/file.iso /mnt".

I don't think I've ever written to a loop mount in this manner, though.

Thanks,

Brent


On Wed, 15 Aug 2007, 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
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>





More information about the Gluster-devel mailing list