Re: ZFS does not activate a pool after upgrade 12-stable to 13-stable - SOLVED
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Jun 2022 11:38:14 UTC
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: > > On Mon, 20 Jun 2022 12:39:53 +0200 > Peter Blok <pblok@bsd4all.org> wrote: > >> Hi, >> >> 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). >> >> 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 >> >> I don’t have console access and the system is not close by, so I tred carefully. >> >> >> Any ideas why this happens, how to fix this? >> >> Peter > > Did you run etcupdate or mergemaster to update /etc? > > ZFS is moved to OpenZFS on stable13 instead of legacy ZFS code and some > ZFS-related scripts on /etc/rc.d/ are modified / added. > > In particular, importing pools other than boot one is imported > via /etc/rc.c/zpool instead of automatically imported by ZFS codes > itself. > > 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. > > > -- > Tomoaki AOKI <junchoon@dec.sakura.ne.jp>