listing ZFS pool name in fixit mode

claudiu vasadi claudiu.vasadi at gmail.com
Fri Aug 5 08:07:07 UTC 2011


Hi guys,

I have a 8.2-amd64 machine on which I blew up the boot blocks (isn't booting
any more). It's s supermicro server btw and we have a ZFSonRooT setup there.


The way I want to go about fixing it is booting into single user mode,
mounting all the datasets, undoing the modification I did to the boot
blocks, recompiling and installing the "old" version of the boot blocks for
the system to boot.

The problem is that after I boot a 8.2-DVD and then go to fixit mode, load
the opensolaris and the zfs modules, I cannot list the ZFS pool name (I
don;t know the ZFS pool name because I didn;t setup this machine) and
without the name, I cannot import the pool to fix the boot blocks.

So, my question is if there is a way to list the zpool in single user mode
so that I know which pool I have to import or if there might be another way
of fixing this problem.

 I already tried "zpool list" but it was no good.
-- 
Best regards,
Claudiu Vasadi


More information about the freebsd-questions mailing list