Page 1 of 1

System boot, Failed to import not-yet imported pools

Posted: Fri Apr 23, 2021 11:10 am
by CyBear
I recently updated my GhostBSD to stable 13.0 without problems.
However since then (if I'm not mistaken) while system boots I'm seeing:

Code: Select all

Apr 23 13:06:16  /etc/init.d/zfs[3363]: Failed to import not-yet imported pools.
Apr 23 13:06:16  ZFS[3366]: failed to load zpool livecd
Apr 23 13:06:16  /etc/init.d/zfs[3350]: ERROR: zfs failed to start
To add dmesg -a gives:

Code: Select all

cannot import 'livecd': no such pool or dataset
	Destroy and re-create the pool from a backup source.
Did anyone encounter this and what can be done about it?
Thanks.

Re: System boot, Failed to import not-yet imported pools

Posted: Fri Apr 23, 2021 11:33 am
by ericbsd
You might not have followed this properly https://forums.ghostbsd.org/viewtopic.php?f=54&t=1921

You have to remove your zpool.cache and create it back.
also delete the line with zfs:tank/ROOT/initial in /boot/loader.conf.

Re: System boot, Failed to import not-yet imported pools

Posted: Fri Apr 23, 2021 12:10 pm
by CyBear
Thanks @ericbsd
removing zpool.cache resolved the issue.

Re: System boot, Failed to import not-yet imported pools

Posted: Fri Apr 23, 2021 12:13 pm
by ericbsd
you BE back up will not work if you don not remove the ine with zfs:tank/ROOT/initial in /boot/loader.conf

Re: System boot, Failed to import not-yet imported pools

Posted: Fri Apr 23, 2021 12:16 pm
by CyBear
ericbsd wrote: Fri Apr 23, 2021 12:13 pm you BE back up will not work if you don not remove the ine with zfs:tank/ROOT/initial in /boot/loader.conf
I triple checked and there is no such line in /boot/loader.conf
But when i try to use "bectl create 13" i get
libbe_init("") failed.
Did you mean that will not work?

I will read absolute FreeBSD to familiarize myself with backup procedures.
These are my beginner steps with BSD and i have copies of files backed up and in the case of misuse i can restore it.

bectl(8) libbe(3) libbe_init("") failed

Posted: Fri Apr 30, 2021 9:54 pm
by grahamperrin
CyBear wrote: Fri Apr 23, 2021 12:16 pm
libbe_init("") failed.
Please let us have output from four commands:

uname -v
freebsd-version -kru
gpart show
zfs list -t all

Re: bectl(8) libbe(3) libbe_init("") failed

Posted: Fri May 07, 2021 3:51 pm
by CyBear
grahamperrin wrote: Fri Apr 30, 2021 9:54 pm
Please let us have output from four commands:

uname -v
freebsd-version -kru
gpart show
zfs list -t all
[/quote]

@grahamperrin
Hi, thanks for your good will I'm not in front of the machine atm but will post the information on monday.

Re: System boot, Failed to import not-yet imported pools

Posted: Mon May 10, 2021 11:27 am
by CyBear
@grahamperrin
I don't want to waste your time and good will, due to my tinkering with the system I decided to the best course of action is clean install of new GhostBSD.

Re: System boot, Failed to import not-yet imported pools

Posted: Tue May 11, 2021 1:58 am
by grahamperrin
CyBear wrote: Mon May 10, 2021 11:27 am … clean install of new GhostBSD.
If you like, although I don't mind attempting to diagnose problem(s) with non-clean systems.