Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | previous in thread | raw e-mail

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>



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?186F4D08-ED84-4A5C-A9E3-7493E7F22818>