You are not logged in.

#1 2021-07-27 13:46:13

1ndeed
Member
Registered: 2018-09-28
Posts: 41

ZFS on Root Prompts Error But System Still Runs

Following the Arch wiki, I install archlinux on ZFS root. It got passed from grub, and eventually gets up running normally. But when it boots, it prompts this error:

Starting version 249.2-1-arch
ERROR: device ‘ZFS=zroot/root/default’ not found. Skipping fsck.
no pools available to import

And:

# sudo systemctl status zfs-import-cache 
● zfs-import-cache.service - Import ZFS pools by cache file
     Loaded: loaded (/usr/lib/systemd/system/zfs-import-cache.service; enabled; vendor preset: enabled)
     Active: active (exited) since Tue 2021-07-27 21:38:40 CST; 31s ago
       Docs: man:zpool(8)
    Process: 402 ExecStart=/usr/bin/zpool import -c /etc/zfs/zpool.cache -aN $ZPOOL_IMPORT_OPTS (code=exited, status=0/SUCCESS)
   Main PID: 402 (code=exited, status=0/SUCCESS)
        CPU: 18ms

Jul 27 21:38:39 my_hostname systemd[1]: Starting Import ZFS pools by cache file...
Jul 27 21:38:39 my_hostname zpool[402]: no pools available to import
Jul 27 21:38:40 my_hostname systemd[1]: Finished Import ZFS pools by cache file.

But dispite all these errors, the system runs. And:

# zpool status
  pool: zroot
 state: ONLINE
config:

	NAME                              STATE     READ WRITE CKSUM
	zroot                             ONLINE       0     0     0
	  ata-ST3500418AS_9VM75QG5-part2  ONLINE       0     0     0

errors: No known data errors

So, what's the problem? Where does the error even come from? systemd? How do I solve this error?

Offline

#2 2021-12-14 10:07:08

kevinzhouguannan2008
Member
Registered: 2021-12-14
Posts: 2

Re: ZFS on Root Prompts Error But System Still Runs

same problem

Offline

#3 2021-12-14 10:43:10

kevinzhouguannan2008
Member
Registered: 2021-12-14
Posts: 2

Re: ZFS on Root Prompts Error But System Still Runs

oh, I solve the problem.
ZFS do not need fsck, just delete it from /etc/mkinicpio.conf.

Last edited by kevinzhouguannan2008 (2021-12-14 10:43:27)

Offline

Board footer

Powered by FluxBB