Re: [CFT] ZFS v15 patch (version 3)

From: Daisuke Aoyama <jack_at_st.rim.or.jp>
Date: Thu, 8 Jul 2010 18:26:40 +0900
Hi,

Martin Matuska wrote:
> For people just wanting to try the new features, I am providing mfsBSD
> ISO's with ZFS-on-root install (don't forget the -V 15 flag to the
> "zfsinstall" command):
> http://mfsbsd.vx.sk/iso/8.1rc2-zfsv15-v3.iso (without symbols, 99 MB)
> http://mfsbsd.vx.sk/iso/8.1rc2-zfsv15-v3-debug.iso (with symbols, 188 MB)

I'm very interested in ZFS v15. So, I made isboot integrated version.
It provides to install it to an iSCSI target directly and boot from
the iSCSI target without any configuration. You can play new features
easily on a diskless machine.

Download link:
http://www.peach.ne.jp/archives/isboot/demo/8.1rc2-zfsv15-v3-isboot-0.2.2.iso
(only add isboot.ko and isboot_load="YES" to loader.conf)

Known issues:
zfsintall destroy existing loader.conf.

You must add isboot_load="YES" before reboot.

# echo 'isboot_load="YES"' >> /mnt/boot/loader.conf

Or, load isboot.ko from loader prompt before booting, then add it.

For more detail about isboot, please refer to:
http://lists.freebsd.org/pipermail/freebsd-scsi/2010-July/004434.html
---------------------------------------------------------------
Here is an example configuration of istgt, and result of installed
system created by "zfsinstall -V15 -d da0 -d da1 -r mirror"

Note: this iSCSI test server is very poor.
(celeron 430, single core 1.8GHz, 2GB of RAM, 3 HDDs for iSCSI)
If you have better CPU/RAM, you can get more performance.
At least, istgt can handle upto Read 110MB/s and Write 103MB/s
at single path, Read 190MB/s and Write 173MB/s at dual path.
I sent PR(148422) of tested istgt, you become to able to install it
from ports soon.
---------------------------------------------------------------
[InitiatorGroup200]
  InitiatorName "iqn.2007-09.jp.ne.peach:pluto"
  Netmask 192.168.3.0/24
  Netmask 192.168.4.0/24

[LogicalUnit200]
  TargetName "iqn.2007-09.jp.ne.peach:isboot-zfs15"
  Mapping PortalGroup1 InitiatorGroup200
  AuthMethod Auto
  UseDigest Auto
  UnitType Disk
  QueueDepth 64
  LUN0 Storage /iscsi2/istgt-isboot-disk2 64GB
  LUN1 Storage /iscsi3/istgt-isboot-disk3 64GB
---------------------------------------------------------------
zfs15# zpool status
  pool: tank
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        tank        ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            da0p2   ONLINE       0     0     0
            da1p2   ONLINE       0     0     0

errors: No known data errors
zfs15# diskinfo -tv da0
da0
        512             # sectorsize
        68719476736     # mediasize in bytes (64G)
        134217728       # mediasize in sectors
        0               # stripesize
        0               # stripeoffset
        8354            # Cylinders according to firmware.
        255             # Heads according to firmware.
        63              # Sectors according to firmware.
        10000200        # Disk ident.

Seek times:
        Full stroke:      250 iter in   0.124733 sec =    0.499 msec
        Half stroke:      250 iter in   0.124850 sec =    0.499 msec
        Quarter stroke:   500 iter in   0.257124 sec =    0.514 msec
        Short forward:    400 iter in   0.199661 sec =    0.499 msec
        Short backward:   400 iter in   0.199841 sec =    0.500 msec
        Seq outer:       2048 iter in   1.034727 sec =    0.505 msec
        Seq inner:       2048 iter in   1.033702 sec =    0.505 msec
Transfer rates:
        outside:       102400 kbytes in   1.768069 sec =    57916 kbytes/sec
        middle:        102400 kbytes in   1.786156 sec =    57330 kbytes/sec
        inside:        102400 kbytes in   1.759042 sec =    58214 kbytes/sec
zfs15# camcontrol tags da0 -v
(pass0:isboot0:0:0:0): dev_openings  63
(pass0:isboot0:0:0:0): dev_active    0
(pass0:isboot0:0:0:0): devq_openings 63
(pass0:isboot0:0:0:0): devq_queued   0
(pass0:isboot0:0:0:0): held          0
(pass0:isboot0:0:0:0): mintags       2
(pass0:isboot0:0:0:0): maxtags       255
---------------------------------------------------------------
-- 
Daisuke Aoyama
 
Received on Thu Jul 08 2010 - 07:46:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC