From owner-freebsd-current@FreeBSD.ORG Thu Oct 29 20:49:01 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B5A11065670 for ; Thu, 29 Oct 2009 20:49:01 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.187]) by mx1.freebsd.org (Postfix) with ESMTP id 2657A8FC0C for ; Thu, 29 Oct 2009 20:49:00 +0000 (UTC) Received: by gv-out-0910.google.com with SMTP id p33so56839gvf.39 for ; Thu, 29 Oct 2009 13:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=d7QMdzjgCBOzRUvz9oxFtybd8DnwNl7mo082bVuUh74=; b=G+lvIjGbjBsH1Ipic37itDIjAsAPvd1hp+6FQgZxD+VnZNMhjTyFY0LsJdqn8GFlGK hpW4bVFP9tnx7YhkgdgtZ2wx0XtJz19O7R7iuIoNU2h6YgscT4i3TdqSRGwHmqwTRfzV lSU3bQaSI1Xba7YmRUWitDREAQhPl94GcuGjI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Wg+xr++GHUL31pf5UyhRi1SzATqZebqobU5pr7tiFWUiNkcvkrnxqZJ1kCuSDhDXn9 kJJYtB+d6d1vEX3ZJiNYvZuUEs088zXyznfzu2ZNvfvROJZZ/On2qCBcmp1CvEqM8bsN bRdbgyOuTV7wUfGdQN6Tgd/VuS0IICjf1N+/s= MIME-Version: 1.0 Received: by 10.239.145.144 with SMTP id s16mr63167hba.145.1256849339487; Thu, 29 Oct 2009 13:48:59 -0700 (PDT) In-Reply-To: References: <6A973ECE-83E7-4653-BBE7-CC3093361D19@lassitu.de> Date: Thu, 29 Oct 2009 20:48:59 +0000 Message-ID: From: krad To: Dmitry Morozovsky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, Stefan Bethke Subject: Re: ZFS on entire disks setup X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2009 20:49:01 -0000 2009/10/29 Dmitry Morozovsky > On Sat, 26 Sep 2009, Stefan Bethke wrote: > > SB> > is there a way to configure ZFS-only setup without partitions? > SB> > > SB> > I tried to reproduce the trick with `skip=1 seek=1024', and have > SB> > loot/loader > SB> > running, but it does not see the pool. > SB> > SB> This sequence is working for me: > SB> dd if=/boot/zfsboot of=/dev/da0 count=1 > SB> dd if=/boot/zfsboot of=/dev/da0 skip=1 seek=1024 > SB> zpool create zroot /dev/da0 > SB> zpool set bootfs=zroot zroot > SB> cd /usr/src && make installworld installkernel distribution > DESTDIR=/zroot > SB> cp /boot/loader.conf /zroot/boot/loader.conf > SB> cp /etc/rc.conf /zroot/etc/ > SB> touch /zroot/etc/fstab > SB> echo 'zfs_load="YES"' >>/zroot/boot/loader.conf > SB> echo 'vfs.root.mountfrom="zfs:zroot"' >>/zroot/boot/loader.conf > SB> zpool export zroot > SB> zpool import zroot > SB> cp /boot/zfs/zpool.cache /zroot/boot/zfs/ > SB> zfs set mountpoint=legacy zroot > SB> > SB> ... except that it doesn't anymore. I saw this working about two > months > SB> ago, but now it fails to mount root. Verbose boot doesn't give any > SB> indication why ZFS can't find the pool. > > Well, after all, I've managed to boot 8.0-RC2/amd64 from 1+0 zpool without > either UFS or GPT/MBR. Will test further. > > As for the source of previous failure -- It seems bootfs property in my > previous experiment did not set properly... > > -- > Sincerely, > D.Marck [DM5020, MCK-RIPE, DM3-RIPN] > [ FreeBSD committer: marck@FreeBSD.org ] > ------------------------------------------------------------------------ > *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** > ------------------------------------------------------------------------ > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > why do you want to use it without a partition label?