From owner-freebsd-current@FreeBSD.ORG Sat Sep 26 18:32:51 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 EBEF0106566B for ; Sat, 26 Sep 2009 18:32:51 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id 89E858FC19 for ; Sat, 26 Sep 2009 18:32:51 +0000 (UTC) Received: by ewy5 with SMTP id 5so1798929ewy.36 for ; Sat, 26 Sep 2009 11:32:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.87.140 with SMTP id y12mr337182wee.4.1253989970571; Sat, 26 Sep 2009 11:32:50 -0700 (PDT) In-Reply-To: References: <6A973ECE-83E7-4653-BBE7-CC3093361D19@lassitu.de> Date: Sat, 26 Sep 2009 20:32:50 +0200 Message-ID: <367b2c980909261132n60bd0789s1e3077c8ac6eab0b@mail.gmail.com> From: Olivier Smedts To: krad Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, Stefan Bethke , 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:32:52 -0000 2009/9/26 krad : > 2009/9/26 Stefan Bethke > >> Am 26.09.2009 um 13:39 schrieb Dmitry Morozovsky: >> >> =A0Dear colleagues, >>> >>> is there a way to configure ZFS-only setup without partitions? >>> >>> I tried to reproduce the trick with `skip=3D1 seek=3D1024', and have >>> loot/loader >>> running, but it does not see the pool. >>> >> >> This sequence is working for me: >> dd if=3D/boot/zfsboot of=3D/dev/da0 count=3D1 >> dd if=3D/boot/zfsboot of=3D/dev/da0 skip=3D1 seek=3D1024 >> zpool create zroot /dev/da0 >> zpool set bootfs=3Dzroot zroot >> cd /usr/src && make installworld installkernel distribution DESTDIR=3D/z= root >> cp /boot/loader.conf /zroot/boot/loader.conf >> cp /etc/rc.conf /zroot/etc/ >> touch /zroot/etc/fstab >> echo 'zfs_load=3D"YES"' >>/zroot/boot/loader.conf >> echo 'vfs.root.mountfrom=3D"zfs:zroot"' >>/zroot/boot/loader.conf >> zpool export zroot >> zpool import zroot >> cp /boot/zfs/zpool.cache /zroot/boot/zfs/ >> zfs set mountpoint=3Dlegacy zroot >> >> ... except that it doesn't anymore. =A0I saw this working about two mont= hs >> ago, but now it fails to mount root. =A0Verbose boot doesn't give any >> indication why ZFS can't find the pool. >> >> >> Stefan >> >> -- >> Stefan Bethke =A0 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.or= g" >> > > > 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 Still not a good idea, I've got lockups for many minutes when consuming heavy memory ressources, for example when doing a "make" in ports/emulators/virtualbox with firefox and amarok opened. I've got 2GB RAM on amd64. > _______________________________________________ > 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= " > --=20 Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas."