Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Nov 2010 19:28:15 +0100
From:      Olivier Smedts <olivier@gid0.org>
To:        Pawel Jakub Dawidek <pjd@freebsd.org>
Cc:        freebsd-fs@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: ZFS v28 is ready for wider testing.
Message-ID:  <AANLkTi=pEnf4XKoMXdWdu4VRj9i0jRN8ETJN4V9ZBky9@mail.gmail.com>
In-Reply-To: <20100831215915.GE1932@garage.freebsd.pl>
References:  <20100831215915.GE1932@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/8/31 Pawel Jakub Dawidek <pjd@freebsd.org>:
> Hello.
>
> I'd like to give you ZFS v28 for testing. If you are neither brave nor
> mad, you can stop here.
>
> The patchset is very experimental. It can eat your cookie and hurt your
> teddy bear, so be warned. Don't try it for anything except testing.
>
> This patchset is also a message we, as the FreeBSD project, would like
> to send to our users: Eventhough OpenSolaris is dead, the ZFS file
> system is going to stay in FreeBSD. At this point we have quite a few
> developers involved in ZFS on FreeBSD as well as serveral companies.
> We are also looking forward to work with IllumOS.
>
> So, what this new ZFS brings?
>
> - Data deduplication. Read more here:
>
> =A0 =A0 =A0 =A0http://blogs.sun.com/bonwick/entry/zfs_dedup
>
> - Triple parity RAIDZ (RAIDZ3). Read more here:
>
> =A0 =A0 =A0 =A0http://dtrace.org/blogs/ahl/2009/07/21/triple-parity-raid-=
z/
>
> - zfs diff. Read more here:
>
> =A0 =A0 =A0 =A0http://arc.opensolaris.org/caselog/PSARC/2010/105/20100328=
_tim.haley
>
> - zpool split. Read more here:
>
> =A0 =A0 =A0 =A0http://arc.opensolaris.org/caselog/PSARC/2009/511/20090924=
_mark.musante
>
> - Snapshot holds. Read more here:
>
> =A0 =A0 =A0 =A0http://arc.opensolaris.org/caselog/PSARC/2009/297/20090511=
_chris.kirby
>
> - zpool import -F. Allows to rewind corrupted pool to earlier
> =A0transaction group.
>
> - Possibility to import pool in read-only mode.
>
> And much, much more, including plenty of preformance improvements and bug
> fixes.
>
> So test whatever you can and report back. Look for regressions, strange
> behaviour, missing features, deadlocks, livelocks, preformance
> degradation, etc.
>
> The boot code is not updated at all, so booting off of ZFS doesn't
> currently work.
>
> The patch is against today's FreeBSD HEAD.
>
> The patch enables (in sys/modules/zfs/Makefile) ZFS internal debugging,
> please don't turn it off. Also, compile your kernel with the following
> options:
>
> =A0 =A0 =A0 =A0options =A0 =A0 =A0 =A0 KDB
> =A0 =A0 =A0 =A0options =A0 =A0 =A0 =A0 DDB
> =A0 =A0 =A0 =A0options =A0 =A0 =A0 =A0 INVARIANTS
> =A0 =A0 =A0 =A0options =A0 =A0 =A0 =A0 INVARIANT_SUPPORT
> =A0 =A0 =A0 =A0options =A0 =A0 =A0 =A0 WITNESS
> =A0 =A0 =A0 =A0options =A0 =A0 =A0 =A0 WITNESS_SKIPSPIN
> =A0 =A0 =A0 =A0options =A0 =A0 =A0 =A0 DEBUG_LOCKS
> =A0 =A0 =A0 =A0options =A0 =A0 =A0 =A0 DEBUG_VFS_LOCKS
>
> Ignore all the LOR (Lock Order Reversal) reports from WITNESS. There will
> be plenty of those, and you'll desperately want to report them, but pleas=
e
> don't.
>
> The best way to report a problem is to answer to this e-mail with as shor=
t
> as possible procedure of how to reproduce it and debugging info. I'd
> prefer textdump if possible. Below you can find quick procedure how to
> setup textdumps:
>
> =A0 =A0 =A0 =A0Choose spare/swap disk/partition in your system, let's say=
 it is
> =A0 =A0 =A0 =A0/dev/ad0s1b.
>
> =A0 =A0 =A0 =A0Add the following line to /etc/fstab:
>
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/dev/ad0s1b =A0 =A0 none =A0 =A0swap =A0 =
=A0sw =A0 =A0 =A00 =A0 =A0 =A0 0
>
> =A0 =A0 =A0 =A0Add the following line to /etc/rc.conf:
>
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ddb_enable=3D"YES"
>
> =A0 =A0 =A0 =A0Run the following commands:
>
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# /etc/rc.d/swap1 start
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# /etc/rc.d/dumpon start
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# /etc/rc.d/ddb start
>
> =A0 =A0 =A0 =A0This will setup swap, mark it as dump device and setup som=
e DDB
> =A0 =A0 =A0 =A0scripts. Or you can just reboot.
>
> =A0 =A0 =A0 =A0Now when your system panic or deadlock, enter DDB and call=
 the
> =A0 =A0 =A0 =A0following command:
>
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ddb> run kdb.enter.panic
>
> =A0 =A0 =A0 =A0It will execute all the commands I need, dump them in text=
 format to
> =A0 =A0 =A0 =A0your swap device and reboot machine.
>
> =A0 =A0 =A0 =A0After the reboot, you should find textdump.tar.0 file in /=
var/crash/
> =A0 =A0 =A0 =A0directory. This is the debug info I need.
>
> End of textdumps procedure.
>
> Ok, now that I know you read everything carefully, here is the patch:
>
> =A0 =A0 =A0 =A0http://people.freebsd.org/~pjd/patches/zfs_20100831.patch.=
bz2

Hello,

Any status update on this ? I regularly check
http://people.freebsd.org/~pjd/patches/ to see if there's an updated
version of your patch. 2 months old is quite a bit for -CURRENT, which
often receives commits on zfs&co parts.

Thanks for all your work on FreeBSD (not only ZFS).

>
> Good luck! >:>
>
> --
> Pawel Jakub Dawidek =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://ww=
w.wheelsystems.com
> pjd@FreeBSD.org =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http:=
//www.FreeBSD.org
> FreeBSD committer =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Am I Ev=
il? Yes, I Am!
>

--=20
Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 ASCII ribbon campaign ( )
e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X
www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \

=A0 "Il y a seulement 10 sortes de gens dans le monde :
=A0 ceux qui comprennent le binaire,
=A0 et ceux qui ne le comprennent pas."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=pEnf4XKoMXdWdu4VRj9i0jRN8ETJN4V9ZBky9>