[OpenIndiana-discuss] ZFS improvements.

Maurilio Longo maurilio.longo at libero.it
Tue Nov 23 15:56:50 UTC 2010


See,

zpool on 512b sectors disks

maurilio at krumiro:~$ zpool status
  pool: iscsi
 state: ONLINE
status: The pool is formatted using an older on-disk format.  The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
        pool will no longer be accessible on older software versions.
 scan: scrub repaired 0 in 14h12m with 0 errors on Sun Nov 21 14:22:54 2010
config:

        NAME        STATE     READ WRITE CKSUM
        iscsi       ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            c8t1d0  ONLINE       0     0     0
            c8t2d0  ONLINE       0     0     0
          mirror-1  ONLINE       0     0     0
            c8t3d0  ONLINE       0     0     0
            c8t4d0  ONLINE       0     0     0
          mirror-2  ONLINE       0     0     0
            c9t3d0  ONLINE       0     0     0
            c9t4d0  ONLINE       0     0     0
        cache
          c9t2d0    ONLINE       0     0     0


maurilio at krumiro:~$ zfs get all iscsi/cloni/pc-janzi
NAME                  PROPERTY               VALUE                  SOURCE
iscsi/cloni/pc-janzi  type                   volume                 -
iscsi/cloni/pc-janzi  creation               ven ago  6 10:58 2010  -
iscsi/cloni/pc-janzi  used                   154G                   -
iscsi/cloni/pc-janzi  available              979G                   -
iscsi/cloni/pc-janzi  referenced             130G                   -
iscsi/cloni/pc-janzi  compressratio          1.39x                  -
iscsi/cloni/pc-janzi  reservation            none                   default
iscsi/cloni/pc-janzi  volsize                1T                     local
iscsi/cloni/pc-janzi  volblocksize           8K                     -
iscsi/cloni/pc-janzi  checksum               on                     default
iscsi/cloni/pc-janzi  compression            on                     inherited
iscsi/cloni/pc-janzi  readonly               off                    default
iscsi/cloni/pc-janzi  copies                 1                      default
iscsi/cloni/pc-janzi  refreservation         none                   default
iscsi/cloni/pc-janzi  primarycache           all                    default
iscsi/cloni/pc-janzi  secondarycache         all                    default
iscsi/cloni/pc-janzi  usedbysnapshots        24,4G                  -
iscsi/cloni/pc-janzi  usedbydataset          130G                   -
iscsi/cloni/pc-janzi  usedbychildren         0                      -
iscsi/cloni/pc-janzi  usedbyrefreservation   0                      -
iscsi/cloni/pc-janzi  logbias                throughput             inherited
iscsi/cloni/pc-janzi  dedup                  off                    default
iscsi/cloni/pc-janzi  mlslabel               none                   default
iscsi/cloni/pc-janzi  sync                   standard               default
iscsi/cloni/pc-janzi  com.sun:auto-snapshot  false                  inherited


zpool on 4Kb sectors disks with ashift=12, note that here I use
compression=gzip to compress better since this is just a backup system

maurilio at rsync:~$ zpool status
  pool: nas
 state: ONLINE
 scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        nas         ONLINE       0     0     0
          raidz1-0  ONLINE       0     0     0
            c9t1d0  ONLINE       0     0     0
            c9t2d0  ONLINE       0     0     0
            c9t3d0  ONLINE       0     0     0
            c9t4d0  ONLINE       0     0     0

errors: No known data errors


maurilio at rsync:~$ zfs get all nas/backup/iscsi/cloni/pc-janzi
NAME                             PROPERTY              VALUE
SOURCE
nas/backup/iscsi/cloni/pc-janzi  type                  volume                 -
nas/backup/iscsi/cloni/pc-janzi  creation              mer nov 17 15:29 2010  -
nas/backup/iscsi/cloni/pc-janzi  used                  232G                   -
nas/backup/iscsi/cloni/pc-janzi  available             312G                   -
nas/backup/iscsi/cloni/pc-janzi  referenced            224G                   -
nas/backup/iscsi/cloni/pc-janzi  compressratio         1.39x                  -
nas/backup/iscsi/cloni/pc-janzi  reservation           none
default
nas/backup/iscsi/cloni/pc-janzi  volsize               1T
local
nas/backup/iscsi/cloni/pc-janzi  volblocksize          8K                     -
nas/backup/iscsi/cloni/pc-janzi  checksum              on
default
nas/backup/iscsi/cloni/pc-janzi  compression           gzip
inherited from nas/backup
nas/backup/iscsi/cloni/pc-janzi  readonly              off
default
nas/backup/iscsi/cloni/pc-janzi  copies                1
default
nas/backup/iscsi/cloni/pc-janzi  refreservation        none
default
nas/backup/iscsi/cloni/pc-janzi  primarycache          all
default
nas/backup/iscsi/cloni/pc-janzi  secondarycache        all
default
nas/backup/iscsi/cloni/pc-janzi  usedbysnapshots       8,60G                  -
nas/backup/iscsi/cloni/pc-janzi  usedbydataset         224G                   -
nas/backup/iscsi/cloni/pc-janzi  usedbychildren        0                      -
nas/backup/iscsi/cloni/pc-janzi  usedbyrefreservation  0                      -
nas/backup/iscsi/cloni/pc-janzi  logbias               throughput
inherited from nas/backup
nas/backup/iscsi/cloni/pc-janzi  dedup                 off
default
nas/backup/iscsi/cloni/pc-janzi  mlslabel              none
default
nas/backup/iscsi/cloni/pc-janzi  sync                  standard
default


Space occupied by snapshots is different since iscsi zpool has more of them.

Best regards.

Maurilio.

-- 
 __________
|  |  | |__| Maurilio Longo
|_|_|_|____| farmaconsult s.r.l.





More information about the OpenIndiana-discuss mailing list