[Gluster-users] Can't delete or move file off mounted brick
Tim
timc at slowb.ro
Thu Oct 20 03:22:50 UTC 2016
1.
sudo getfattr -d -m. -e hex
/gluster/site.com/wordpress/wp-content/plugins/gravityforms/includes/fields/class-gf-field-calculation.php
getfattr: Removing leading '/' from absolute path names
# file:
gluster/site.com/wordpress/wp-content/plugins/gravityforms/includes/fields/class-gf-field-calculation.php
trusted.afr.dirty=0x000000000000000000000000
trusted.bit-rot.version=0x020000000000000056cbe5b5000051fc
trusted.gfid=0x505a1312e4f24767b6731b301e3733fd
2.
sudo getfattr -d -m. -e hex
/gluster/site.com/wordpress/wp-content/plugins/gravityforms/includes/fields/class-gf-field-calculation.php
getfattr: Removing leading '/' from absolute path names
# file:
gluster/site.com/wordpress/wp-content/plugins/gravityforms/includes/fields/class-gf-field-calculation.php
trusted.afr.dirty=0x000000000000000000000000
trusted.bit-rot.signature=0x0103000000000000009d22ac91153dbbada837544dbcfd80f384b2379f05958d46fb1c39fa66eb4aaf
trusted.bit-rot.version=0x03000000000000005806c153000518f2
trusted.gfid=0x505a1312e4f24767b6731b301e3733fd
----
1.
sudo stat
/gluster/site.com/wordpress/wp-content/plugins/gravityforms/includes/fields/class-gf-field-calculation.php
File:
‘/gluster/site.com/wordpress/wp-content/plugins/gravityforms/includes/fields/class-gf-field-calculation.php’
Size: 5419 Blocks: 24 IO Block: 4096 regular file
Device: 811h/2065d Inode: 9831797 Links: 2
Access: (0644/-rw-r--r--) Uid: ( 1278/ UNKNOWN) Gid: ( 1278/ UNKNOWN)
Access: 2016-10-20 00:39:47.469449205 +1100
Modify: 2016-05-06 15:25:09.317734522 +1000
Change: 2016-05-06 15:25:09.325734522 +1000
Birth: -
2.
sudo stat
/gluster/site.com/wordpress/wp-content/plugins/gravityforms/includes/fields/class-gf-field-calculation.php
File:
‘/gluster/site.com/wordpress/wp-content/plugins/gravityforms/includes/fields/class-gf-field-calculation.php’
Size: 5419 Blocks: 24 IO Block: 4096 regular file
Device: 811h/2065d Inode: 11273589 Links: 2
Access: (0644/-rw-r--r--) Uid: ( 1278/ UNKNOWN) Gid: ( 1278/ UNKNOWN)
Access: 2016-10-20 00:39:47.446169557 +1100
Modify: 2016-05-06 15:24:40.553120149 +1000
Change: 2016-10-19 22:43:58.210965013 +1100
Birth: -
Cheers,
Tim
On 10/20/2016 3:01 AM, Ravishankar N wrote:
> On 10/18/2016 11:31 AM, Tim wrote:
>>
>> But I cannot find any log relating to this on the gluster servers.
>>
>> Also I can cat the file no problem if I login to the bricks. What
>> could be a reason of it not working on the mount point…
>>
> Can you provide the output of `stat(1) </brick/path-to-file>` and the
> output of `getfattr -d -m . -e hex </brick/path-to-file> ` from both
> bricks?
> -Ravi
>
More information about the Gluster-users
mailing list