System boot, Failed to import not-yet imported pools  [SOLVED]

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
Post Reply
CyBear
Posts: 11
Joined: Fri Apr 23, 2021 10:37 am
Has thanked: 2 times
Been thanked: 1 time

System boot, Failed to import not-yet imported pools

Post 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.

User avatar
ericbsd
Developer
Posts: 1754
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 62 times
Been thanked: 126 times

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

Post 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.
These users thanked the author ericbsd for the post (total 2):
CyBear (Fri Apr 23, 2021 12:11 pm) • grahamperrin (Fri Apr 30, 2021 9:39 pm)
Rating: 50%

CyBear
Posts: 11
Joined: Fri Apr 23, 2021 10:37 am
Has thanked: 2 times
Been thanked: 1 time

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

Post by CyBear »

Thanks @ericbsd
removing zpool.cache resolved the issue.

User avatar
ericbsd
Developer
Posts: 1754
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 62 times
Been thanked: 126 times

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

Post 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

CyBear
Posts: 11
Joined: Fri Apr 23, 2021 10:37 am
Has thanked: 2 times
Been thanked: 1 time

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

Post 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.

grahamperrin
Posts: 80
Joined: Sun Sep 04, 2016 6:06 am
Has thanked: 34 times
Been thanked: 1 time

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

Post 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

CyBear
Posts: 11
Joined: Fri Apr 23, 2021 10:37 am
Has thanked: 2 times
Been thanked: 1 time

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

Post 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.

CyBear
Posts: 11
Joined: Fri Apr 23, 2021 10:37 am
Has thanked: 2 times
Been thanked: 1 time

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

Post 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.

grahamperrin
Posts: 80
Joined: Sun Sep 04, 2016 6:06 am
Has thanked: 34 times
Been thanked: 1 time

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

Post 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.

Post Reply