Web lists-archives.com

Re: ZFS legacy mount fails




How can I check this? According log spl and zfs modules loaded before
this error, and nothing about loaded driver in initrd

03.01.2018 20:37, Neo пишет:
> no driver in the initrd and/or kernel module not yet loaded?
> 
> 
> Am 03.01.2018 um 16:26 schrieb Илья Валеев:
>> Hello!
>>
>> I'm trying to mount ZFS dataset with /etc/fstab file. Added string in it:
>>
>> doublediskpool/systemlog /mnt zfs relatime,defaults 0 2
>>
>> Rebooted, and system fails to boot. In boot log I see that spl and zfs
>> modules loaded, than:
>>
>> systemd[1]: mnt.mount: Mount process exited, code=exited status=1
>> systemd[1]: Failes to mount /mnt.
>>
>> After this zfs.target successfully starts, and system fall into
>> emergency mode.
>> Tryed to add in [Install] section of /lib/systemd/system/zfs.target such
>> string:
>>
>> Before=local-fs.target
>>
>> but it does not help.
>> If I enter command (that systemd fail to execute) in emergency mode or
>> booted system:
>>
>> # mount doublediskpool/systemlog /mnt -t zfs -o relatime,defaults
>>
>> than mount executed successfully.
>>
>> Nothing changes if I set another mountpoint.
>>
>> How this can be fixed?
>> Debian 9 with last updates.
>> Thanks!
>>
>