Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #190613

Re: ZFS legacy mount fails

From Илья Валеев <ilya-valeev@yandex.ru>
Newsgroups linux.debian.user
Subject Re: ZFS legacy mount fails
Date 2018-01-03 18:20 +0100
Message-ID <v3URP-1GU-1@gated-at.bofh.it> (permalink)
References <v3Tj3-C0-3@gated-at.bofh.it> <v3UoO-1gq-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



03.01.2018 21:42, Dan Ritter пишет:
> On Wed, Jan 03, 2018 at 08:26:45PM +0500, Илья Валеев wrote:
>> 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?
> 
> What does
> 
> zfs get mountpoint doublediskpool/systemlog
> 
> tell you?
> 
> If it doesn't say /mnt as the value, try
> 
> zfs set mountpoint doublediskpool/systemlog /mnt
> 
> -dsr-
> 

Anyway, it works with overlay=on property, but I want to know how to
mount datasets with legacy mountpoint.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

ZFS legacy mount fails Илья Валеев <ilya-valeev@yandex.ru> - 2018-01-03 16:40 +0100
  Re: ZFS legacy mount fails Neo <neo@spacerat.ch> - 2018-01-03 17:00 +0100
    Re: ZFS legacy mount fails Илья Валеев <ilya-valeev@yandex.ru> - 2018-01-03 17:10 +0100
      Re: ZFS legacy mount fails Neo <neo@spacerat.ch> - 2018-01-03 17:50 +0100
        Re: ZFS legacy mount fails Илья Валеев <ilya-valeev@yandex.ru> - 2018-01-03 18:30 +0100
  Re: ZFS legacy mount fails Dan Ritter <dsr@randomstring.org> - 2018-01-03 17:50 +0100
    Re: ZFS legacy mount fails Илья Валеев <ilya-valeev@yandex.ru> - 2018-01-03 18:10 +0100
    Re: ZFS legacy mount fails Илья Валеев <ilya-valeev@yandex.ru> - 2018-01-03 18:20 +0100

csiph-web