imported non-rpool/bpool zpools are not being reimported after reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zfs-linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Installed ubuntu 19.10 onto a zfs bpool/rpool.
Installed zsys.
Did a "zpool import" of my existing zfs pools.
Rebooted.
The previously imported zpools are not imported at boot!
I am currently using this hacky workaround:
https:/
I would expect that local zpools I have manually imported would re-import when the system is rebooted.
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: zsys 0.2.2
ProcVersionSign
Uname: Linux 5.3.0-19-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu8
Architecture: amd64
Date: Wed Oct 23 11:40:36 2019
InstallationDate: Installed on 2019-10-19 (4 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: zsys
UpgradeStatus: No upgrade log present (probably fresh install)
Hey Satmandu,
same here:
Ubuntu 19.10 installed on a HP MicroServer Gen8 on internal bay (2.5"SSD SATA).
Using the four 3.5" bays I've setup a zRaid1 pool "tank" which is unfortunately not imported on boot.
Due to the pool is not available on boot all my LXD containers won't start.
I will try your fix!
Offtopic:
- to get the MicroServer boot of the 5th SATA port you must set the SATA controller in BIOS to RAID mode instead of AHCI and build a single disk raid0 on your 5th SATA port. Don't worry: The OS still sees an AHCI disk.
00:1f.2 RAID bus controller: Intel Corporation 6 Series/C200 Series Desktop SATA RAID Controller (rev 05)
When booting the rpool is not available:
Cannot import 'rpool': no such pool available.
I fixed this by: LINUX_DEFAULT= ""
edit /etc/default/grub
find GRUB_CMDLINE_
add rootdelay=10 to add a delay of 10 seconds (you can experiment with this value...)