I have been following the Funtoo ZFS install video off of youtube by FearedBliss and keep running into the same problem when I reboot my computer. The kernel boots properly, it loads Bliss, parses command line values, loads the modules, and attempts mounting 'rpool', but fails with this message.
mount: mounting rpool/ROOT/funtoo on /mnt/root failed: No such file or directory >>> Failed to import your zfs root dataset >>> Booting into rescue shell. . . / #
I know I am installing it correctly, as about two weeks ago I was successfully able to install it this way. Has something changed? If so, how do I fix this?
EDIT: I managed to fix my problem by rebooting my system after encountering this error. It now works fine every time I boot it.
I have a problem at the beginning:
Booting 'Funtoo - 3.8.13' early console in decompress_kernel Decompressing Linux... Parsing ELF... done. Booting the kernel. >>> Welcome to Bliss! [1.8.3] >>> Mounting kernel devices... >>> Parsing command line values... >>> Loading modules... >>> Refreshing zpool.cache... >>> Mounting rpool... cannot import 'rpool' : more than one matching pool import by numeric ID instead >>> Failed to import your pool: rpool >>> Booting into rescue shell... /#_
I tried the disc LiveCD:
root@slax:~# zpool import pool: rpool id: 15947715640522673002 state: UNAVAIL status: One or more devices contains corrupted data. action: The pool cannot be imported due to damaged devices or data. see: http://zfsonlinux.org/msg/ZFS-8000-5E config: rpool UNAVAIL insufficient replicas sda2 UNAVAIL corrupted data pool: rpool id: 6305990124907894111 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: rpool ONLINE sda3 ONLINE root@slax:~# zpool import 6305990124907894111 cannot mount '/': directory is not empty
Last edited by kris (2013-06-17 16:44:22)
I installed the system again, and for that I added sys-fs/fuse, syslog-ng, vixie-cron, genkernel - initramfs, i have a similar problem
[....] :: Scanning for zfs...spl, zunicode, zavl, znvpair, zcommon, zfs loaded :: Scanning for cbc...cbc loaded >> Hint: Use parameter scandelay[=seconds] if you need waiting here >> Importing ZFS pool rpool cannot import 'rpool' : more than one matching pool import by numeric ID instead !! Importing rpool failed >> Determining root device... cannot open 'rpool/ROOT/funtoo' : dataset does not exist !! rpool/ROOT/funtoo is not a filesystem !! Could not find the root block device in ZFS=rpool/ROOT/funtoo. Please specify another value or : press Enter for the same, type "shell" for a shell, or "q" to skip... root block device(ZFS=rpool/ROOT/funtoo) ::
Kernel may be a problem .config ?
Last edited by kris (2013-06-18 18:14:07)
The reason it keeps failing is because you have two pools with the same name. That is why it's telling you to import by id. What you can do is mount one of the pools with a new name, and then delete one of the pools, then you can import the pool again with your desired name.
zpool import -N 6305990124907894111 rpool-good
Then I think you can do zpool import -N rpool . then try to delete it with zpool destroy rpool. Then you can export the good pool and import it with the new name.
zpool export rpool-good
zpool import -N rpool-good rpool
This is all from my memory, so some tweaking of the commands might be required, but the concept is correct.