Date: Mon, 20 Jun 2022 13:38:14 +0200 From: Peter Blok <pblok@bsd4all.org> To: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> Cc: FreeBSD Stable <freebsd-stable@freebsd.org> Subject: Re: ZFS does not activate a pool after upgrade 12-stable to 13-stable - SOLVED Message-ID: <186F4D08-ED84-4A5C-A9E3-7493E7F22818@bsd4all.org> In-Reply-To: <20220620200513.e274557f68cf3db172d7c752@dec.sakura.ne.jp> References: <1A0298A5-9B48-4398-A47B-2B18156899CD@bsd4all.org> <20220620200513.e274557f68cf3db172d7c752@dec.sakura.ne.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
I did multiple systems and I probably forgot to do the etcupdate -B on = this system. /etc/rc.d/zpool was missing and other scripts were not = update. Thx a lot > On 20 Jun 2022, at 13:05, Tomoaki AOKI <junchoon@dec.sakura.ne.jp> = wrote: >=20 > On Mon, 20 Jun 2022 12:39:53 +0200 > Peter Blok <pblok@bsd4all.org> wrote: >=20 >> Hi, >>=20 >> I have recently upgraded my systems from 12-stable to 13-stable using = source. The upgrade went flawless, except for one system. This system = had two pools (zroot and zdata). >>=20 >> The zdata pool is not present after reboot. It consists of a single = SATA disk. After a reboot the disk is visible, no error have been = logged. If I do zpool import zdata, the pool is back without any errors. = I have scrubbed the pool and there are no errors. Upgrading the pool to = openzfs is not bringin anything either. Boot block is updated >>=20 >> I don=E2=80=99t have console access and the system is not close by, = so I tred carefully. >>=20 >>=20 >> Any ideas why this happens, how to fix this? >>=20 >> Peter >=20 > Did you run etcupdate or mergemaster to update /etc? >=20 > ZFS is moved to OpenZFS on stable13 instead of legacy ZFS code and = some > ZFS-related scripts on /etc/rc.d/ are modified / added. >=20 > In particular, importing pools other than boot one is imported > via /etc/rc.c/zpool instead of automatically imported by ZFS codes > itself. >=20 > Actually, zpool.cache is relocated from /boot/zfs to /etc/zfs, but = this > now automatically fallback to old place if none exists in new place. >=20 >=20 > --=20 > Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?186F4D08-ED84-4A5C-A9E3-7493E7F22818>