[Gluster-devel] setfacl: testfile: Remote I/O error (zfsonlinux, gluster 3.6, CentOS 6.6)

Kiran Patil kiran at fractalio.com
Mon Nov 24 12:25:08 UTC 2014


mount output:
-----------------
fractal-c92e.fractal.lan:/patchy on /mnt/nfs/0 type nfs
(rw,soft,intr,vers=3,nolock,addr=192.168.1.246)


Strace output:
------------------
[root at fractal-c92e 0]# strace -f setfacl -m u:14:r testfile
execve("/usr/bin/setfacl", ["setfacl", "-m", "u:14:r", "testfile"], [/* 21
vars */]) = 0
brk(0)                                  = 0xc96000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7fa3add43000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=25759, ...}) = 0
mmap(NULL, 25759, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fa3add3c000
close(3)                                = 0
open("/lib64/libacl.so.1", O_RDONLY)    = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\36\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=31280, ...}) = 0
mmap(NULL, 2126416, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7fa3ad91d000
mprotect(0x7fa3ad924000, 2093056, PROT_NONE) = 0
mmap(0x7fa3adb23000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fa3adb23000
close(3)                                = 0
open("/lib64/libattr.so.1", O_RDONLY)   = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\23\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=18712, ...}) = 0
mmap(NULL, 2113888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7fa3ad718000
mprotect(0x7fa3ad71c000, 2093056, PROT_NONE) = 0
mmap(0x7fa3ad91b000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fa3ad91b000
close(3)                                = 0
open("/lib64/libc.so.6", O_RDONLY)      = 3
read(3,
"\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\356\1\0\0\0\0\0"..., 832)
= 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1921176, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7fa3add3b000
mmap(NULL, 3750152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7fa3ad384000
mprotect(0x7fa3ad50e000, 2097152, PROT_NONE) = 0
mmap(0x7fa3ad70e000, 20480, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18a000) = 0x7fa3ad70e000
mmap(0x7fa3ad713000, 18696, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa3ad713000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7fa3add3a000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7fa3add39000
arch_prctl(ARCH_SET_FS, 0x7fa3add3a700) = 0
mprotect(0x7fa3ad70e000, 16384, PROT_READ) = 0
mprotect(0x7fa3ad91b000, 4096, PROT_READ) = 0
mprotect(0x7fa3adb23000, 4096, PROT_READ) = 0
mprotect(0x606000, 4096, PROT_READ)     = 0
mprotect(0x7fa3add44000, 4096, PROT_READ) = 0
munmap(0x7fa3add3c000, 25759)           = 0
open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=99158576, ...}) = 0
mmap(NULL, 99158576, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fa3a74f3000
close(3)                                = 0
brk(0)                                  = 0xc96000
brk(0xcb7000)                           = 0xcb7000
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=4*1024}) = 0
lstat("testfile", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
getxattr("testfile", "system.posix_acl_access", 0x7fff9ce10d00, 132) = -1
ENODATA (No data available)
stat("testfile", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
setxattr("testfile", "system.posix_acl_access",
"\x02\x00\x00\x00\x01\x00\x06\x00\xff\xff\xff\xff\x02\x00\x04\x00\x0e\x00\x00\x00\x04\x00\x04\x00\xff\xff\xff\xff\x10\x00\x04\x00\xff\xff\xff\xff
\x00\x04\x00\xff\xff\xff\xff", 44, 0) = -1 EREMOTEIO (Remote I/O error)
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2512, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7fa3add42000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2512
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fa3add42000, 4096)            = 0
open("/usr/share/locale/en_IN/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No
such file or directory)
write(2, "setfacl: testfile: Remote I/O er"..., 36setfacl: testfile: Remote
I/O error
) = 36
exit_group(1)                           = ?



On Mon, Nov 24, 2014 at 3:10 PM, Kiran Patil <kiran at fractalio.com> wrote:

> Testcase bug-847622.t is failing with "Remote I/O error".
>
> Steps to reproduce:
> -------------------------
> [root at fractal-c92e glusterfs]# glusterd
>
> [root at fractal-c92e glusterfs]# gluster --mode=script --wignore volume
> create patchy fractal-c92e.fractal.lan:/d/backends/brick0
> volume create: patchy: success: please start the volume to access data
>
> [root at fractal-c92e glusterfs]# gluster --mode=script --wignore volume
> start patchy
> volume start: patchy: success
>
> [root at fractal-c92e glusterfs]# mount -t nfs -o soft,intr,vers=3"nolock"
> fractal-c92e.fractal.lan:/patchy /mnt/nfs/0
>
> [root at fractal-c92e glusterfs]# ls /mnt/nfs/  <== here "mnt" is zfs dataset
> 0  1
>
> [root at fractal-c92e 0]# zfs mount
> d                               /d
> mnt                             /mnt
> d/test1                         /d/test1
> d/test2                         /d/test2
> d/test3                         /d/test3
>
> [root at fractal-c92e glusterfs]# cd /mnt/nfs/0
>
> [root at fractal-c92e 0]# touch testfile
>
> [root at fractal-c92e 0]# setfacl -m u:14:r testfile
> setfacl: testfile: Remote I/O error
>
> [root at fractal-c92e 0]# getfacl testfile
> # file: testfile
> # owner: root
> # group: root
> user::rw-
> group::r--
> other::r--
>
> Thanks,
> Kiran.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20141124/7dff6a68/attachment.html>


More information about the Gluster-devel mailing list