Date: Sat, 26 Sep 2009 19:11:37 +0100 From: krad <kraduk@googlemail.com> To: Stefan Bethke <stb@lassitu.de> Cc: freebsd-current@freebsd.org, Dmitry Morozovsky <marck@rinet.ru> Subject: Re: ZFS on entire disks setup Message-ID: <d36406630909261111t75c3aa99y4606cb2c7758406b@mail.gmail.com> In-Reply-To: <6A973ECE-83E7-4653-BBE7-CC3093361D19@lassitu.de> References: <alpine.BSF.2.00.0909261534060.62389@woozle.rinet.ru> <6A973ECE-83E7-4653-BBE7-CC3093361D19@lassitu.de>
next in thread | previous in thread | raw e-mail | index | archive | help
2009/9/26 Stefan Bethke <stb@lassitu.de> > 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 <stb@lassitu.de> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d36406630909261111t75c3aa99y4606cb2c7758406b>