Re: unable to write via nfs to aufs of zfs branches

2013-10-01 Thread Pui Yong Ng
On Tue, Oct 1, 2013 at 7:36 AM, wrote: > Here is a patch for a new aufs mount option "noaiop". > - apply the patch (to aufs source files) and rebuild your aufs module. > - when you mount aufs with zfs branches, add a mount option "noaiop". > > Since this is a dirty workaround for a non-mainline f

Re: unable to write via nfs to aufs of zfs branches

2013-09-30 Thread sfjro
Pui Yong Ng: > I appreciate it if you have any ideas :) otherwise, perhaps I will try > non-nfs network file systems. Here is a patch for a new aufs mount option "noaiop". - apply the patch (to aufs source files) and rebuild your aufs module. - when you mount aufs with zfs branches, add a mount op

Re: unable to write via nfs to aufs of zfs branches

2013-09-30 Thread Pui Yong Ng
On 30 Sep 2013 15:39, <[1]sf...@users.sourceforge.net> wrote: > It means zfs doesn't implement aio_write() file operation, and aufs > doesn't support such filesystem. [] > If you know anything about a zfs plan to implement aio_read/_write, > please let me know. Indeed. Armed

Re: unable to write via nfs to aufs of zfs branches

2013-09-30 Thread sfjro
Pui Yong Ng: > You're right. Sorry I didn't notice this pertinent info - I think it is > because it was only produced once and I only checked the syslog after > various other log entries went in. > > What do these logs indicate? It means zfs doesn't implement aio_write() file operation, and aufs

Re: unable to write via nfs to aufs of zfs branches

2013-09-30 Thread Pui Yong Ng
On 30 Sep 2013 14:32, <[1]sf...@users.sourceforge.net> wrote: > > > Pui Yong Ng: > > - I'm unable to write via nfs to an aufs union of zfs branches. The > > file is created, but nothing is written to the file, and nfs reports > > errno -38 (ENOSYS). > > - Writing directly

Re: unable to write via nfs to aufs of zfs branches

2013-09-29 Thread sfjro
Pui Yong Ng: > - I'm unable to write via nfs to an aufs union of zfs branches. The > file is created, but nothing is written to the file, and nfs reports > errno -38 (ENOSYS). > - Writing directly to the aufs union (ie, bypass the nfs mount) works. > - Reading via the nfs mount seems to work. > -

Re: unable to write via nfs to aufs of zfs branches

2013-09-29 Thread sfjro
Pui Yong Ng: > To umount, you can do "zfs umount d1" and "zfs mount d1" to mount again. Ok, thanks. I will try later and send you a debug patch (probably) in a few days. J. R. Okajima -- October Webinars: Code for Perf

Re: unable to write via nfs to aufs of zfs branches

2013-09-29 Thread Pui Yong Ng
On 30 Sep 2013 11:21, <[1]sf...@users.sourceforge.net> wrote: > In your procedure, > > > # zpool create d1 /run/shm/d1 > > # zpool create d2 /run/shm/d2 > > # mount -t aufs none /ds -o br:/d1=rw:/d2=rw,xino=/run/shm/ds.aufs.xino > > "zpool create" seems to be as "mount -t

Re: unable to write via nfs to aufs of zfs branches

2013-09-29 Thread sfjro
Hello Pui Yong Ng, Thankx for the detailed report. I am trying reproducing the problem on my test machine. But I am very novice for zfs, will you guide me a little more? In your procedure, > # zpool create d1 /run/shm/d1 > # zpool create d2 /run/shm/d2 > # mount -t aufs none /ds -o br:/d1=rw:/d