From owner-freebsd-questions@FreeBSD.ORG Wed May 2 08:47:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A30D106564A for ; Wed, 2 May 2012 08:47:16 +0000 (UTC) (envelope-from kalle.moller@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 50C2D8FC14 for ; Wed, 2 May 2012 08:47:16 +0000 (UTC) Received: by ghrr20 with SMTP id r20so523731ghr.13 for ; Wed, 02 May 2012 01:47:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zDjpYP/xGRyv3NcTKFZrQ8WhFFk2TCZ43tp5Fz3OhT0=; b=rokoSaLRbyz/jHosGo3uXSLlvXml0x6TIy973ANHOrZ+GUE6VQ1jmsQwjJLsMLPueQ S7pDYq9OanxGKYzc4mC8gHWXiLnJSfiQJAqBAO81F12MARBBaqfu2ba0zorYCK6Kexuu 5kvkuERU70ZyvvPgkeJ7tdVxUYor/BwL7emZcF6/ixGXa4nIe9LW68fZnlZc2VKmsgdz c/lGo0Gri7Qr99Mdetlz3U0wG4oFb9+4q8oxzAHDyM4SHhBUOjkOU0ZPD1A5zlmiyIAl mpwyR1Bb4xQT84JfeqlaJ/ZoL3raXb9ywbeCYZc25RQworHZNFZV9Sp5rl3i0x7Lf9Nk pnsg== MIME-Version: 1.0 Received: by 10.236.186.3 with SMTP id v3mr28871493yhm.124.1335948435827; Wed, 02 May 2012 01:47:15 -0700 (PDT) Sender: kalle.moller@gmail.com Received: by 10.146.77.11 with HTTP; Wed, 2 May 2012 01:47:15 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 May 2012 10:47:15 +0200 X-Google-Sender-Auth: k50twGOlZCsUFxRJGpic8Spvii4 Message-ID: From: =?UTF-8?Q?Kalle_M=C3=B8ller?= To: vermaden Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: HOWTO: FreeBSD ZFS Madness (Boot Environments) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 08:47:16 -0000 And I forgot If I do a create and destroy, I would assume my system was back to same state, but you keep the snapshot when I destroy the clone, dont know if its working as intended (better safe to keep it than sorry) or you just didn't think of it :) http://pastebin.com/XdYZ2eGR main# zfs list -t all NAME USED AVAIL REFER MOUNTPOINT sys 1.45G 6.36G 31K none sys/ROOT 430M 6.36G 31K none sys/ROOT/clean 430M 6.36G 430M legacy sys/swap 1.03G 7.39G 16K - main# beadm create main Created successfully main# zfs list -t all NAME USED AVAIL REFER MOUNTPOINT sys 1.45G 6.36G 31K none sys/ROOT 430M 6.36G 31K none sys/ROOT/clean 430M 6.36G 430M legacy sys/ROOT/clean@main 0 - 430M - sys/ROOT/main 1K 6.36G 430M none sys/swap 1.03G 7.39G 16K - main# beadm destroy main Are you sure you want to destroy 'main'? This action cannot be undone (y/[n]): y Destroyed successfully main# zfs list -t all NAME USED AVAIL REFER MOUNTPOINT sys 1.45G 6.36G 31K none sys/ROOT 430M 6.36G 31K none sys/ROOT/clean 430M 6.36G 430M legacy sys/ROOT/clean@main 0 - 430M - sys/swap 1.03G 7.39G 16K - main# Kalle On Wed, May 2, 2012 at 10:10 AM, Kalle M=C3=B8ller wrote: > Hi vermaden > > I just tested your tool the last few days and I must say I love it > already. Though I can get one of the commands to work - might be me or > the syntax > > beadm create [-e nonActiveBe | beName@snapshot] beName > > I read it as you can do the following > > beadm create beName@snapshot beName > > Is that correct or is it > > beadm create -e beName@snapshot beName > > Well neither of those seems to work for me, can you give an example of th= e use? > > Thanks > > Kalle > > On Fri, Apr 27, 2012 at 1:08 AM, vermaden wrote: >> Hi, >> >> I have just created new HOWTO [1] on how to use Boot Environments on >> FreeBSD with new created utility *beadm* that I put on SourceForge [2]. >> >> Feel free to send Your ideas/critique about it. >> >> [1] http://forums.freebsd.org/showthread.php?t=3D31662 >> [2] https://sourceforge.net/projects/beadm/ >> >> Regards, >> vermaden >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> ... >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.= org" > > > > -- > > Med Venlig Hilsen > > Kalle R. M=C3=B8ller -- Med Venlig Hilsen Kalle R. M=C3=B8ller