guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ZFS on Guix


From: raid5atemyhomework
Subject: Re: ZFS on Guix
Date: Sat, 02 Jan 2021 06:40:45 +0000

Hi guix-developers,

I just did a an `strace -f zfs mount tank`, and got this interesting bit in a 
child process:

    
execve("/gnu/store/a45p39mgqvfd8kjwibyr0q42klmw7gmf-util-linux-2.35.1-lib/bin/mount",
 ["/gnu/store/a45p39mgqvfd8kjwibyr0"..., "--no-canonicalize", "-t", "zfs", 
"-o", "defaults,atime,strictatime,dev,e"..., "tank", "/tank"], 0x7ffee6ad7bf8 
/* 29 vars */) = -1 ENOENT (No such file or directory)

The `/gnu/store` directory indeed does not contain a `/bin/mount` executable, 
it only contains `include` `lib` and `share` dirs.  So it looks to me that 
maybe the `zfs` package needs some more modifications to get it working on 
guix, since apparently ZFS userspace tools still go through `mount` anyway.

Trying to `mount` directly makes ZFS complain about requiring a "legacy" 
mountpoint (there might be an option somewhere not shown by the `strace` that 
suppress that complaint), and setting a legacy mountpoint makes `mount` error 
with `filesystem 'tank' cannot be mounted at '/tank' due to canonicalization 
error 2.` even though I give `--no-canonicalize`, though.

Thanks
raid5atemyhomework



reply via email to

[Prev in Thread] Current Thread [Next in Thread]