Re: ZFS v28 is ready for wider testing.



2010/8/31 Pawel Jakub Dawidek <pjd@xxxxxxxxxxx>:
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:

       http://blogs.sun.com/bonwick/entry/zfs_dedup

- Triple parity RAIDZ (RAIDZ3). Read more here:

       http://dtrace.org/blogs/ahl/2009/07/21/triple-parity-raid-z/

- zfs diff. Read more here:

       http://arc.opensolaris.org/caselog/PSARC/2010/105/20100328_tim.haley

- zpool split. Read more here:

       http://arc.opensolaris.org/caselog/PSARC/2009/511/20090924_mark.musante

- Snapshot holds. Read more here:

       http://arc.opensolaris.org/caselog/PSARC/2009/297/20090511_chris.kirby

- zpool import -F. Allows to rewind corrupted pool to earlier
 transaction 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:

       options         KDB
       options         DDB
       options         INVARIANTS
       options         INVARIANT_SUPPORT
       options         WITNESS
       options         WITNESS_SKIPSPIN
       options         DEBUG_LOCKS
       options         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 please
don't.

The best way to report a problem is to answer to this e-mail with as short
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:

       Choose spare/swap disk/partition in your system, let's say it is
       /dev/ad0s1b.

       Add the following line to /etc/fstab:

               /dev/ad0s1b     none    swap    sw      0       0

       Add the following line to /etc/rc.conf:

               ddb_enable="YES"

       Run the following commands:

               # /etc/rc.d/swap1 start
               # /etc/rc.d/dumpon start
               # /etc/rc.d/ddb start

       This will setup swap, mark it as dump device and setup some DDB
       scripts. Or you can just reboot.

       Now when your system panic or deadlock, enter DDB and call the
       following command:

               ddb> run kdb.enter.panic

       It will execute all the commands I need, dump them in text format to
       your swap device and reboot machine.

       After the reboot, you should find textdump.tar.0 file in /var/crash/
       directory. This is the debug info I need.

End of textdumps procedure.

Ok, now that I know you read everything carefully, here is the patch:

       http://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                       http://www.wheelsystems.com
pjd@xxxxxxxxxxx                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!


--
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier@xxxxxxxx        - 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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Extreme console latency during disk IO (8.0-RC1, previous releases also affected according to ot
    ... I can't possibly switch to FreeBSD in production with this behaviour - and I've been looking forward to doing so for quite a while now. ... The worst case I've noticed yet was when I tried copying a core dump from a lzjb compressed ZFS file system to a gzip-9 compressed one, to compare the file size/compression ratio. ... <ACPI PCI bus> on pcib0 ... usbus1: ...
    (freebsd-stable)
  • upgrade issue 8.x to 9.0-RC2: libz.so.5 not found
    ... I've been dabbling with FreeBSD since I set up stokes.ca at pair.com over ... One of those evil Fujitsu disk drives took out my stable ... I'll probably upgrade all the drives ... I wish my ZFS box had ...
    (freebsd-current)
  • Re: Backup solution suggestions
    ... your best bet when it comes to backups like what you ... a server with the specifications you want, and run FreeBSD on it. ... and you only have one person to turn to: the vendor. ... Once all of our systems are running RELENG_7, I plan on utilising ZFS ...
    (freebsd-stable)
  • Re: Anyone using freebsd ZFS for large storage servers?
    ... On Thu, 31 May 2012, Kaya Saman wrote: ... FreeBSD offered Gnome3 and supported my wireless NIC I'd be all over ... For my DIY solution at home I used a SuperMicro system board with ... of course Solaris has latest version of ZFS but still..... ...
    (freebsd-questions)
  • Re: 8.0-RELEASE: disk IO temporarily hangs up (ZFS or ATA related problem)
    ... I tried your patch since I had a similar problem but in my case I ... far I've have had zero luck in getting ZFS working on any hard drive ... I have noticed that the system periodically locks up on disk operations. ... It should apply to STABLE_8 and if not, just report and I will help. ...
    (freebsd-current)