From owner-freebsd-fs@FreeBSD.ORG Fri Aug 8 22:41:03 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 64356CCE; Fri, 8 Aug 2014 22:41:03 +0000 (UTC) Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B982A27A1; Fri, 8 Aug 2014 22:41:02 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id gf5so5072427lab.23 for ; Fri, 08 Aug 2014 15:41:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=pdY/MgBA3/YX0JvtIqzM3mnU8EoSuIa+REfcdpNfrAw=; b=AwKzTQ94u3t5ae3JotKVIvuVIO0eLwfoPtpQUBkkfTz4EvzC0yCHwgd2vJGZULrfe4 GU4E7ZjUPWpWFXIp/74rg267cVNNlUxPHtA9QrnMFyh3WPeXFE1HY5b2g+xgFfML7YnS UpuAY/KrRrrOHQJ4Asz0Yri99S3CpWO2vVyFxxjwZvJDe11WhOFiz2i0/keZqjTTEY05 5H1hv4pARI3D3l/40d1Ofe2SzdBDLt9VRhk62sct4Rw0E4IQN7USPjKwsNuvjF87r1n3 txd7p/2Pz0776Mk+j6QzNuID60uOyLmd/XFGbLuoFtuEeTCvS3zOJpGxN6imuD+u+OQx hDCA== MIME-Version: 1.0 X-Received: by 10.153.11.162 with SMTP id ej2mr24022899lad.15.1407537660222; Fri, 08 Aug 2014 15:41:00 -0700 (PDT) Received: by 10.112.16.37 with HTTP; Fri, 8 Aug 2014 15:41:00 -0700 (PDT) Date: Sat, 9 Aug 2014 00:41:00 +0200 Message-ID: Subject: Problems with zpool upgrade embedded_data, and rebooting From: Daniel Peyrolon To: freebsd-current@freebsd.org, freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2014 22:41:03 -0000 Hello everyone, I just would like to gratuitously rant about something that happened on my machine. Basically, I upgraded my zpool to use embedded_data, since it would be more efficient, and rebooted. (I installed the system with zfs using bsdinstall). It turned out that gptzfsboot wasn't able to load that filesystem, so I tried to get it working from a live system that I have on a USB drive. It didn't work on that particular live system, but, fortunately, someone could do me a favor and download the latest snapshot, and burn it to my USB drive. >From there, it was a matter of importing zroot, mounting it at /mnt, and taking a look at the code of bsdinstall, trying to find the actual command to update the bootloader. I could manage to find it, and hopefully, everything worked again. Thanks to those who helped me :) What would be the better way to avoid this happening in the future? -- Daniel