Displaying 5 results from an estimated 5 matches for "punishedkorppu".
2018 Jan 09
2
Issues accessing ZFS-shares on Linux
...t particular PID and tried connecting to one ZFS-share. There was
indeed an error which might have something to do with this issue:
Line 2001: lstat("/tank/rex", 0x7fff1f6fb2c0) = -1 ENOENT (No such
file or directory)
Im sure that folder exists (files have been omitted):
aurinko at punishedkorppu:~$ cd /tank/rex
aurinko at punishedkorppu:/tank/rex$ ls -hal
total 32M
drwxrwxrwx 12 rex rex 20 Dec 24 19:09 .
Full stracefile can be found here:
https://pastebin.com/raw/i5BpVPuY
Jeremy Allison via samba kirjoitti 9.1.2018 klo 0:57:
> On Mon, Jan 08, 2018 at 11:06:37PM +0200, Jo...
2018 Jan 08
2
Issues accessing ZFS-shares on Linux
...the users can access any shares, which reside on
ZFS-filesystem. Any other share works just fine. For example, if I
create a normal folder to /home with same permissions and replace a
ZFS-share with that, it works fine.
When accessing any ZFS-shares the following error is recorded:
Jan 08 22:39:56 punishedkorppu smbd[27893]: [2018/01/08 22:39:56.075343,
0] ../source3/smbd/service.c:774(make_connection_snum)
Jan 08 22:39:56 punishedkorppu smbd[27893]: canonicalize_connect_path
failed for service rex, path /tank/rex
The system in use is Debian Buster with Samba 2:4.7.3+dfsg-1 and ZoL
0.7.4-1 from Debian...
2018 Jan 10
2
Issues accessing ZFS-shares on Linux
...was
>> indeed an error which might have something to do with this issue:
>>
>> Line 2001: lstat("/tank/rex", 0x7fff1f6fb2c0) = -1 ENOENT (No such
>> file or directory)
>>
>> Im sure that folder exists (files have been omitted):
>> aurinko at punishedkorppu:~$ cd /tank/rex
>> aurinko at punishedkorppu:/tank/rex$ ls -hal
>> total 32M
>> drwxrwxrwx 12 rex rex 20 Dec 24 19:09 .
>
> Well that looks like your issue. You need to figure
> out why lstat("/tank/rex") is failing on an existing
> directory....
2018 Jan 08
0
Issues accessing ZFS-shares on Linux
...s, which reside on
> ZFS-filesystem. Any other share works just fine. For example, if I
> create a normal folder to /home with same permissions and replace a
> ZFS-share with that, it works fine.
>
> When accessing any ZFS-shares the following error is recorded:
> Jan 08 22:39:56 punishedkorppu smbd[27893]: [2018/01/08 22:39:56.075343,
> 0] ../source3/smbd/service.c:774(make_connection_snum)
> Jan 08 22:39:56 punishedkorppu smbd[27893]: canonicalize_connect_path
> failed for service rex, path /tank/rex
>
> The system in use is Debian Buster with Samba 2:4.7.3+dfsg-1 and...
2018 Jan 10
2
Issues accessing ZFS-shares on Linux
...to 0.7.4 and
kernel to 4.14.
I have always mounted the pool manually by first opening LUKS-encrypted
disks and after that issuing zpool import tank.
Is there any way to still use systemd to manage smbd or do I have to
just always start it manually?
This is how the pool has been set up:
root at punishedkorppu /# lsblk -a
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 2.7T 0 disk
└─luks-sda 254:0 0 2.7T 0 crypt
sdb 8:16 0 2.7T 0 disk
└─luks-sdb 254:1 0 2.7T 0 crypt
sdc 8:32 0 2.7T 0 disk
└─luks-sdc 254:2 0 2.7T 0 crypt
sdd...