Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id BEFE7782BF6 for <~alpine/users@lists.alpinelinux.org>; Fri, 23 Apr 2021 10:17:17 +0000 (UTC) Received: by mail-wr1-f51.google.com with SMTP id s7so47728974wru.6 for <~alpine/users@lists.alpinelinux.org>; Fri, 23 Apr 2021 03:17:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=dNy9mPc8oeAUns4Nir26aahcA75+dwBWE73Nt2+8pDM=; b=bMjAPR/o1GCDlfl7AYocpGE+mV5Lb3HeHcj+fl78dmRiZS3XMgC2UhD8NBhAQx8pdx 66CjtgWFZzpEbWDkapJlvczuAF1ZutCyirKdM8HhngeMs9UwqjJi6yaNI5XC7le89p6/ hUW0uN8XaGW4AlHM8x/ZdhGx/BVskQ/Xhu4pRlGATlwt6KTFFSo+nHYPM20glYe8ZBlV WmmRaWUQUsnjERZh3RXB1yXfCkCeoARFeZbIllx0w2Q9gab+bMfupGyqdt9mCzfxDIGb 85zFngKFmUCI00xYgFfER3OFubWVngOEiv25Bm8MZyycAfR7OvmyMbaeA8fBbDu//2qy 7ySQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=dNy9mPc8oeAUns4Nir26aahcA75+dwBWE73Nt2+8pDM=; b=puJN5CNzlUzK4c4MT0a1zJMa3W8kfovLdOO6jFXK1dLbVNtU0YZtl+MzsZecgygEgg vF2tA3llj6nz4OPZmsefwQ8/DZFXTTzWw59PbYpzOQ/UTpgUYgt2v78u4cnqqIzRTwS5 XS9ziz37EpwHnyydqQ7USEWcECoN+Oc1RronWJa/oxqjQAt6hphZ30PFFlOoCnrSm9w2 pFzGW22oNkw21qA1LzMZt5iStGpamaMNVvNEy0nsT1dNJGdrD3cn3y1gmmo0FEVetebd iUip99Yc+W1cxWCXHVcalIbDJ708YnC/y4ex67jyVI5TjbVfSxb+cuZ7XES68BsTHGWb KopQ== X-Gm-Message-State: AOAM532fuHH/dCNvjdyhIKCXRLXRvYk/zu0lzIfTkrrbUUbgLSJhWLrb wAv/BMdkykIYlx5+73UjCsZFRbypAWlfuw== X-Google-Smtp-Source: ABdhPJwWmQQ629Fbmg3taQGo1YdXtzVGI2ERo7e9EoTyDzYoM5blcut8+lW+E0nUyglCZZyL+pcqXQ== X-Received: by 2002:adf:fdcd:: with SMTP id i13mr3676410wrs.185.1619173036910; Fri, 23 Apr 2021 03:17:16 -0700 (PDT) Received: from [192.168.123.150] (80-110-110-50.cgn.dynamic.surfer.at. [80.110.110.50]) by smtp.gmail.com with ESMTPSA id a8sm9159509wrh.91.2021.04.23.03.17.16 for <~alpine/users@lists.alpinelinux.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Apr 2021 03:17:16 -0700 (PDT) To: ~alpine/users@lists.alpinelinux.org From: Max Mopp Subject: nfs export zfs - mount -t nfs does not return Message-ID: <2a583eb5-7e2d-d3d6-385a-d2976bcbfe16@gmail.com> Date: Fri, 23 Apr 2021 12:17:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Hi, I run 3.14.0_alpha20210212 with 5.10.31-0-lts #1-Alpine SMP x86_64 Linux and have a problem sharing zfs filesystems via nfs. My test setting: 1. nfs sharing a ext4 directory works: /etc/exports # /etc/exports # # See exports(5) for a description. # use exportfs -arv to reread /home/share/test2 *(sync,rw,no_subtree_check,insecure) exportfs -arv mount -t nfs -s -v localhost:/home/share/test2 /mnt/test2 ls /mnt/test2/ test.txt 2. sharing a zfs fs does not: I create to diskimages, pool and fs: dd if=/dev/zero of=/home/zfsdisks/disk1 bs=4096 count=100000 dd if=/dev/zero of=/home/zfsdisks/disk2 bs=4096 count=100000 zpool create -o ashift=12 -O compression=on -fm /home/share/test1 test1 mirror /home/zfsdisks/disk1 /home/zfsdisks/disk2 zpool status pool: test1 state: ONLINE config: NAME STATE READ WRITE CKSUM test1 ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 /home/zfsdisks/disk1 ONLINE 0 0 0 /home/zfsdisks/disk2 ONLINE 0 0 0 errors: No known data errors zfs create test1/testfs echo "iwashere" > /home/share/test1/testfs/file.txt zfs set canmount=on test1/testfs zfs set sharenfs="rw=*,insecure" test1/testfs cat /etc/exports.d/zfs.exports # !!! DO NOT EDIT THIS FILE MANUALLY !!! /home/share/test1/testfs *(sec=sys,rw,no_subtree_check,mountpoint,insecure) rc-service nfs restart mount -t nfs -s -v localhost:/home/share/test1/testfs /mnt/test1 ... never returns no logs no errors, no mount Same on x86_64 stable the same does work an arch linux (endevouros) anybody an idea what is wrong here? Thanks