[Gluster-devel] fstest for fuse mount gluster

qingwei wei tchengwee at gmail.com
Sat Apr 22 02:53:40 UTC 2017


Hi Saravana,

I submitted just now.
https://bugzilla.redhat.com/show_bug.cgi?id=1444537

Cw

On Fri, Apr 21, 2017 at 8:15 PM, Saravanakumar Arumugam <sarumuga at redhat.com
> wrote:

> Hi,
>
>
> On 04/20/2017 08:58 PM, qingwei wei wrote:
>
> Hi,
>
> Posted this in gluster-user mailing list but got no response so far, so i
> post in gluster-devel.
>
> I found this test suite ( <https://github.com/Hnasar/pjdfstest>
> https://github.com/Hnasar/pjdfstest) for me to test fuse mount gluster
> and there is some reported issue from the test. One of the error is as
> follow.
>
> When i chmod 7777 to a file in fuse mounted gluster volume. the return
> stat value for the file is not 7777 instead of 4777.
>
> root at ubuntu16d:/mnt/g310mp# touch test
> root at ubuntu16d:/mnt/g310mp# chmod 7777 test
> root at ubuntu16d:/mnt/g310mp# stat test
>   File: 'test'
>   Size: 0               Blocks: 0          IO Block: 131072 regular empty
> file
> Device: 29h/41d Inode: 9618589997017543511  Links: 1
> Access: (4777/-rwsrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
> Access: 2017-11-30 14:21:23.374871207 +0800
> Modify: 2017-11-30 14:21:16.974871000 +0800
> Change: 2017-11-30 14:21:23.374871207 +0800
>  Birth: -
>
> Performing this operation in normal ext4 system produce correct result.
>
> root at ubuntu16d:/mnt/g310mp# touch ~/testfile
> root at ubuntu16d:/mnt/g310mp# chmod 7777 ~/testfile
> root at ubuntu16d:/mnt/g310mp# stat ~/testfile
>   File: '/home/ubuntu/testfile'
>   Size: 0               Blocks: 0          IO Block: 4096   regular empty
> file
> Device: fc00h/64512d    Inode: 662649      Links: 1
> Access: (7777/-rwsrwsrwt)  Uid: (    0/    root)   Gid: (    0/    root)
> Access: 2017-11-30 14:23:00.518867795 +0800
> Modify: 2017-11-30 14:23:00.518867795 +0800
> Change: 2017-11-30 14:23:08.742867507 +0800
>  Birth: -
>
> Besides 7777, 3777 also an issue. The stat return is 0777.
>
> My OS is Ubuntu 16.04 and my gluster version is 3.10.1 and the it is a
> simple volume with default parameter.
>
> root at ubuntu16d:/mnt/g310mp# gluster volume info
>
> Volume Name: g310
> Type: Distribute
> Volume ID: 114666c6-4884-436a-81a8-2deb3c0923ba
> Status: Started
> Snapshot Count: 0
> Number of Bricks: 1
> Transport-type: tcp
> Bricks:
> Brick1: 192.168.36.130:/mnt/g310brick
> Options Reconfigured:
> transport.address-family: inet
> nfs.disable: on
>
> for me, i seldom use those mode (3777 & 7777) but i cannot say for sure
> for others. So is this something i should be concerned about?
>
>
> This looks like a bug and needs to be verified.
>
> Please raise a  bug here:
> https://bugzilla.redhat.com/enter_bug.cgi?product=
> GlusterFS&version=mainline&component=core
>
> - Saravana
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20170422/879544fe/attachment-0001.html>


More information about the Gluster-devel mailing list