Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #190602 > unrolled thread
| Started by | Илья Валеев <ilya-valeev@yandex.ru> |
|---|---|
| First post | 2018-01-03 16:40 +0100 |
| Last post | 2018-01-03 18:20 +0100 |
| Articles | 8 — 3 participants |
Back to article view | Back to linux.debian.user
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
| From | Илья Валеев <ilya-valeev@yandex.ru> |
|---|---|
| Date | 2018-01-03 16:40 +0100 |
| Subject | ZFS legacy mount fails |
| Message-ID | <v3Tj3-C0-3@gated-at.bofh.it> |
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!
[toc] | [next] | [standalone]
| From | Neo <neo@spacerat.ch> |
|---|---|
| Date | 2018-01-03 17:00 +0100 |
| Message-ID | <v3TCq-IV-7@gated-at.bofh.it> |
| In reply to | #190602 |
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! >
[toc] | [prev] | [next] | [standalone]
| From | Илья Валеев <ilya-valeev@yandex.ru> |
|---|---|
| Date | 2018-01-03 17:10 +0100 |
| Message-ID | <v3TM6-122-5@gated-at.bofh.it> |
| In reply to | #190603 |
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! >> >
[toc] | [prev] | [next] | [standalone]
| From | Neo <neo@spacerat.ch> |
|---|---|
| Date | 2018-01-03 17:50 +0100 |
| Message-ID | <v3UoN-1gq-9@gated-at.bofh.it> |
| In reply to | #190605 |
a quick google gave me this: https://github.com/zfsonlinux/zfs/wiki/Debian-Stretch-Root-on-ZFS HTH Am 03.01.2018 um 17:08 schrieb Илья Валеев: > 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! >>>
[toc] | [prev] | [next] | [standalone]
| From | Илья Валеев <ilya-valeev@yandex.ru> |
|---|---|
| Date | 2018-01-03 18:30 +0100 |
| Message-ID | <v3V1w-1Mp-3@gated-at.bofh.it> |
| In reply to | #190608 |
Thanks for your help. At this time I stay with non-legacy mountpoint, but still interesting what is going wrong. 03.01.2018 21:28, Neo пишет: > a quick google gave me this: > > https://github.com/zfsonlinux/zfs/wiki/Debian-Stretch-Root-on-ZFS > > HTH > > > Am 03.01.2018 um 17:08 schrieb Илья Валеев: >> 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! >>>> > -- Идентификатор открытого ключа: 1D38C8C9 Отпечаток: 6210 01B6 A34E E490 A9E4 87DD 841D 0ABE 1D38 C8C9
[toc] | [prev] | [next] | [standalone]
| From | Dan Ritter <dsr@randomstring.org> |
|---|---|
| Date | 2018-01-03 17:50 +0100 |
| Message-ID | <v3UoO-1gq-11@gated-at.bofh.it> |
| In reply to | #190602 |
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-
[toc] | [prev] | [next] | [standalone]
| From | Илья Валеев <ilya-valeev@yandex.ru> |
|---|---|
| Date | 2018-01-03 18:10 +0100 |
| Message-ID | <v3UIa-1Dh-31@gated-at.bofh.it> |
| In reply to | #190607 |
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- > # zfs get mountpoint doublediskpool/systemlog NAME PROPERTY VALUE SOURCE doublediskpool/systemlog mountpoint legacy local For empty /mnt folder it works, yes. What if I want to mount it to /var/log? It will return error than mountpoint is not empty.
[toc] | [prev] | [next] | [standalone]
| From | Илья Валеев <ilya-valeev@yandex.ru> |
|---|---|
| Date | 2018-01-03 18:20 +0100 |
| Message-ID | <v3URP-1GU-1@gated-at.bofh.it> |
| In reply to | #190607 |
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.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web