From owner-freebsd-current@FreeBSD.ORG Sat Sep 26 18:11:38 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 AB972106566C for ; Sat, 26 Sep 2009 18:11:38 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 367098FC12 for ; Sat, 26 Sep 2009 18:11:38 +0000 (UTC) Received: by mail-fx0-f222.google.com with SMTP id 22so3089473fxm.36 for ; Sat, 26 Sep 2009 11:11:37 -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=hyxDG7Ke9cHwcsG8ydsMbudJA/GloPbpwytWF4KmJro=; b=j9iRFFSJ2Wgs55w9nfrV9chuJ+kqEj+fofz/V74GKhYtYoTZQh+xQNrDt0iAyV1kyH 0foUvXCNqtq5S+5+JiL7xg/wr7w7D3GuGR6d395suEoLdGJgOvu2eknxe3gj6m82/y0F 9ZFY5SC5fWUl9AuXkK0suJJ4P27hVFz/vf1sI= 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=aVvrF8Opqm8bbz1Yg0Mngh3yjcWyKrfKThtUH2h5KBhvoqd7wozaaVgZ9wP/Iu9mqZ qL2P0vw+AAWRSLbTwMttAzgavSE+iJYzgbZ1Qb+cEvPG6EUWqovEzib7grOo1kAx+Uku HXBNpStA5+M7FnUJ6eddl6TdSYafpuDeN1eWA= MIME-Version: 1.0 Received: by 10.239.145.136 with SMTP id s8mr123490hba.46.1253988697669; Sat, 26 Sep 2009 11:11:37 -0700 (PDT) In-Reply-To: <6A973ECE-83E7-4653-BBE7-CC3093361D19@lassitu.de> References: <6A973ECE-83E7-4653-BBE7-CC3093361D19@lassitu.de> Date: Sat, 26 Sep 2009 19:11:37 +0100 Message-ID: From: krad To: Stefan Bethke Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, Dmitry Morozovsky 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: Sat, 26 Sep 2009 18:11:38 -0000 2009/9/26 Stefan Bethke > Am 26.09.2009 um 13:39 schrieb Dmitry Morozovsky: > > Dear colleagues, >> >> is there a way to configure ZFS-only setup without partitions? >> >> I tried to reproduce the trick with `skip=1 seek=1024', and have >> loot/loader >> running, but it does not see the pool. >> > > This sequence is working for me: > dd if=/boot/zfsboot of=/dev/da0 count=1 > dd if=/boot/zfsboot of=/dev/da0 skip=1 seek=1024 > zpool create zroot /dev/da0 > zpool set bootfs=zroot zroot > cd /usr/src && make installworld installkernel distribution DESTDIR=/zroot > cp /boot/loader.conf /zroot/boot/loader.conf > cp /etc/rc.conf /zroot/etc/ > touch /zroot/etc/fstab > echo 'zfs_load="YES"' >>/zroot/boot/loader.conf > echo 'vfs.root.mountfrom="zfs:zroot"' >>/zroot/boot/loader.conf > zpool export zroot > zpool import zroot > cp /boot/zfs/zpool.cache /zroot/boot/zfs/ > zfs set mountpoint=legacy zroot > > ... except that it doesn't anymore. I saw this working about two months > ago, but now it fails to mount root. Verbose boot doesn't give any > indication why ZFS can't find the pool. > > > Stefan > > -- > Stefan Bethke Fon +49 151 14070811 > > > > > > _______________________________________________ > 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" > have the performance issues with zvols been fixed. I remember a while ago it wasn't a good idea to run swap on a zvol. This is why i left a partition free for swap