From owner-freebsd-stable@FreeBSD.ORG Wed May 27 17:17:25 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43C3F106593E for ; Wed, 27 May 2009 17:17:25 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f159.google.com (mail-fx0-f159.google.com [209.85.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id C81EB8FC2B for ; Wed, 27 May 2009 17:17:24 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm3 with SMTP id 3so177096fxm.43 for ; Wed, 27 May 2009 10:17:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=rYn1BhgiiQ5UeZ1AC/w+7l/Ygv+Nd7S+yFmDXOg1rkk=; b=BowncVIwFS7kD/971n0qGPl9Ts8iK3diqfcSI3CTpZ2FYnT6COsN6Rp0pchbUtQ4x8 6492lzMF7oE+8vt+K50kG9SHaEgd1PFIBj2Auo/Ue9AtuA6VTU/4QKefcxCYBDkmqWhI MqL8PA8N0c7SCoRjN584L9sF7qtvHUg/5Lzdg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=iYgWFlQS5YJFscbXKYpEXi995tPqwgkVM0EdiQPl43IZAickSUcgxM+hur0PwmXZli BchPGQ9C8BK+n3rowe45oBjXd3g08BhClGQer8qC2covUlFbYfSCU0T+cpkzffhWwkcP fltLaBeHoebdCJm9wOOzGdgSEnbeFGQ4pQOSk= MIME-Version: 1.0 Received: by 10.204.117.65 with SMTP id p1mr184864bkq.91.1243444643632; Wed, 27 May 2009 10:17:23 -0700 (PDT) In-Reply-To: <4A1D6F36.3030008@ibctech.ca> References: <4A1D6F36.3030008@ibctech.ca> Date: Wed, 27 May 2009 13:17:23 -0400 Message-ID: <4ad871310905271017s3d9e007btf0c862383320d725@mail.gmail.com> From: Glen Barber To: Steve Bertrand Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Subject: Re: I've borked my ZFS system upgrading to -STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2009 17:17:26 -0000 On Wed, May 27, 2009 at 12:49 PM, Steve Bertrand wrote: > Hey all, > > In short, I've got a system with /boot on a USB thumb drive that I boot > from, which then mounts root and the rest of the system from a 4-disk > ZFS storage pool. > > However, during the upgrade, something didn't go quite right, and now > when I boot, I end up with: > > /libexec/ld-elf.so.1: Shared object "libc.so.7" not found required by sh > > ...at the "Enter full path of shell or RETURN for /bin/sh#" prompt. > > Hitting return repeats the cycle. > > Rebooting to the old kernel does not help, as it was the installworld > that failed. > I've seen this before. My situation was different, as I had just installed the machine, finished a 'co' on the source tree and rebuilt world/kernel. Since there was nothing, production-wise, on the machine, I thought nothing of it and reinstalled. Had there been data on the machine, I would have dug deeper. > I can boot the box using alternate media, but I can't figure out the > procedure to mount the ZFS pool into the filesystem. > Can you boot into single-user mode from the USB device? > This box is a running-backup box, so I'm not overly concerned about the > data, but I would like to learn how to properly get to the data if this > situation arises in the future. > > Can someone provide some pointers on how to do this without destroying > the pool? > Unfortunately, I haven't played with ZFS (because of lack of hardware to run it on)... My reason for the post was to suggest single-user mode, if you haven't already tried. Also, to stop the repeated reboot, you could use /rescue/sh in place of /bin/sh (hopefully). -- Glen Barber