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