Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2011 09:10:27 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        claudiu vasadi <claudiu.vasadi@gmail.com>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: listing ZFS pool name in fixit mode
Message-ID:  <20110805141026.GB66340@dan.emsphone.com>
In-Reply-To: <CAM-i3ijD=sztDR6cT5L1FFO8T8Dbg=2v7Bs_i0g=xj=v8ZEszQ@mail.gmail.com>
References:  <CAM-i3ijD=sztDR6cT5L1FFO8T8Dbg=2v7Bs_i0g=xj=v8ZEszQ@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
In the last episode (Aug 05), claudiu vasadi said:
> 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.

"zpool import" with no pool name will list all the pools available to
import.

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20110805141026.GB66340>