|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
ZFS on entire disks setupDear 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. Thanks in advance. -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@... ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@... *** ------------------------------------------------------------------------ _______________________________________________ freebsd-current@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@..." |
|
|
Re: ZFS on entire disks setupAm 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@...> Fon +49 151 14070811 _______________________________________________ freebsd-current@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@..." |
|
|
Re: ZFS on entire disks setup2009/9/26 Stefan Bethke <stb@...>
> 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@...> Fon +49 151 14070811 > > > > > > _______________________________________________ > freebsd-current@... mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@..." > 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 _______________________________________________ freebsd-current@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@..." |
|
|
Re: ZFS on entire disks setup2009/9/26 krad <kraduk@...>:
> 2009/9/26 Stefan Bethke <stb@...> > >> 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@...> Fon +49 151 14070811 >> >> >> >> >> >> _______________________________________________ >> freebsd-current@... mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@..." >> > > > 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@... mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@..." > -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@... - 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." _______________________________________________ freebsd-current@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@..." |
|
|
Re: ZFS on entire disks setupOlivier Smedts wrote:
> 2009/9/26 krad <kraduk@...>: >> 2009/9/26 Stefan Bethke <stb@...> >> >>> 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@...> � Fon +49 151 14070811 >>> >>> >>> >>> >>> >>> _______________________________________________ >>> freebsd-current@... mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@..." >>> >> >> 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@... mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@..." >> > I see those lockups on three boxes when compiling or having heavy disk I/O on three different boxes, one (private) UP amd64 with 2GB, one SMP 4-core box amd64 with 8 GB and one SMP 8-core box amd64 SMP with 16 GB RAM. It doesn't matter what filesystem is involved, either UFS2 or ZFS! When compiling world AND compiling KDE4-libs or GCC44/GCC45, even those boxes with 8 or 16 GB of RAM and 4 or 8 cores have painful performance issues (locking for several seconds, no response over network or, if enabled and running, X11/mouse gets jumpy and completely inresponsible, quite near useless that moment). I doubt that ZFS causes the problem, it sounds more like a scheduling problem introduced with the early 8.0 (since 7.2 ran fluently on mentioned boxes, but have had other issues). All three boxes under my supervision run FreeBSD 8.0-RC1/amd64 and they all use UFS2-partioned harddrives for OS separated from data drives using ZFS-only. Even copying/backup data from /home on a ZFS volume to another ZFS volume with compression enabled (on another SATA-II drive) does not reveale those issues on the 2GB, UP amd64 box as showed when the box is under heavy load when the GCC compiler is running or PERL scripts are doing their duties. Regards, Oliver _______________________________________________ freebsd-current@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@..." |
|
|
Re: ZFS on entire disks setupOn 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@... ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@... *** ------------------------------------------------------------------------ _______________________________________________ freebsd-current@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@..." |
|
|
Re: ZFS on entire disks setup2009/10/29 Dmitry Morozovsky <marck@...>
> 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@... ] > ------------------------------------------------------------------------ > *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@... *** > ------------------------------------------------------------------------ > _______________________________________________ > freebsd-current@... mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@..." > why do you want to use it without a partition label? _______________________________________________ freebsd-current@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@..." |
|
|
Re: ZFS on entire disks setupOn Thu, 29 Oct 2009, krad wrote:
k> > SB> > is there a way to configure ZFS-only setup without partitions? [snip] k> > Well, after all, I've managed to boot 8.0-RC2/amd64 from 1+0 zpool without k> > either UFS or GPT/MBR. Will test further. k> > k> > As for the source of previous failure -- It seems bootfs property in my k> > previous experiment did not set properly... k> k> why do you want to use it without a partition label? Well, consider it brain-damaged (though successful) experiment ;-P Seriously, making dedicated machine, I'd betted skip unneeded layers. All our servers currently work without real MBRs, and previous ZFS based ones are GPT. -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@... ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@... *** ------------------------------------------------------------------------ _______________________________________________ freebsd-current@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@..." |
| Free embeddable forum powered by Nabble | Forum Help |