[Kernel-packages] [Bug 1581904] Re: File-based pools do not import on boot

2016-05-16 Thread Colin Ian King
** Changed in: zfs-linux (Ubuntu) Status: Invalid => Won't Fix -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu. https://bugs.launchpad.net/bugs/1581904 Title: File-based pools do not import on boot Status in

[Kernel-packages] [Bug 1581904] Re: File-based pools do not import on boot

2016-05-16 Thread Richard Laager
I apparently can't set this to Won't Fix. I don't think there are any changes necessary. Backing pools with files is mainly for testing. For real use, devices are best. ** Changed in: zfs-linux (Ubuntu) Status: Confirmed => Invalid ** Changed in: zfs-linux (Ubuntu) Status: Invalid

[Kernel-packages] [Bug 1581904] Re: File-based pools do not import on boot

2016-05-15 Thread Lisio
It works. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu. https://bugs.launchpad.net/bugs/1581904 Title: File-based pools do not import on boot Status in zfs-linux package in Ubuntu: Confirmed Bug description:

[Kernel-packages] [Bug 1581904] Re: File-based pools do not import on boot

2016-05-15 Thread Richard Laager
Try this instead of "After=local-fs.target": mkdir -p /etc/systemd/system/zfs-import-cache.service.d cat >> /etc/systemd/system/zfs-import-cache.service.d/web.conf << EOF [Unit] Requires=web.mount After=web.mount EOF -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1581904] Re: File-based pools do not import on boot

2016-05-15 Thread Lisio
I've just added "After=local-fs.target" to /lib/systemd/system/zfs- import-cache.service and now it starts almost normally. Only once I saw an error after boot saying that kernel module zfs is not loaded. So, this is not a good fix, but it shows that an issue is likely to be connected with some

[Kernel-packages] [Bug 1581904] Re: File-based pools do not import on boot

2016-05-15 Thread Lisio
root@server:~# zpool import -c /etc/zfs/zpool.cache -aN root@server:~# zpool list NAME SIZE ALLOC FREE EXPANDSZ FRAGCAP DEDUP HEALTH ALTROOT lxd199G 132K 199G - 0% 0% 1.00x ONLINE - /web is a separate filesystem on LVM volume, /web/lxd - is a regular

[Kernel-packages] [Bug 1581904] Re: File-based pools do not import on boot

2016-05-15 Thread Lisio
But it can be started manually: root@server:~# systemctl start zfs-import-cache root@server:~# systemctl status -l zfs-import-cache.service ● zfs-import-cache.service - Import ZFS pools by cache file Loaded: loaded (/lib/systemd/system/zfs-import-cache.service; static; vendor preset:

[Kernel-packages] [Bug 1581904] Re: File-based pools do not import on boot

2016-05-15 Thread Richard Laager
Does this import the pool: sudo zpool import -c /etc/zfs/zpool.cache -aN If so, is "/web/lxd" and/or "/web" a separate filesystem from "/"? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu.

[Kernel-packages] [Bug 1581904] Re: File-based pools do not import on boot

2016-05-15 Thread Lisio
root@server:~# systemctl status -l zfs-import-cache.service ● zfs-import-cache.service - Import ZFS pools by cache file Loaded: loaded (/lib/systemd/system/zfs-import-cache.service; static; vendor preset: enabled) Active: failed (Result: exit-code) since Sun 2016-05-15 11:27:46 MSK; 1min