Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2014 08:26:46 +0100
From:      Attila Nagy <bra@fsn.hu>
To:        'freebsd-fs' <freebsd-fs@freebsd.org>
Subject:   What does ZFS write when nothing should write there?
Message-ID:  <52CFA0B6.7090109@fsn.hu>

next in thread | raw e-mail | index | archive | help
Hi,

I've created 6 zpools, each of them with zpool create -m /data/A dataA 
mirror daX daY.
The machine has nothing running except sshd and my shell.

Yet, I see this in gstat:
# while ( 1 )
while? date
while? gstat -b -f 'da[0-9]+$'
while? sleep 1
while? end
Fri Jan 10 08:22:26 CET 2014
dT: 1.062s  w: 1.000s  filter: da[0-9]+$
  L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w %busy Name
     0      0      0      0    0.0      0      0    0.0 0.0  da0
     0      0      0      0    0.0      0      0    0.0 0.0  da1
     0      0      0      0    0.0      0      0    0.0 0.0  da2
     0      0      0      0    0.0      0      0    0.0 0.0  da3
     0      0      0      0    0.0      0      0    0.0 0.0  da4
     0     88      0      0    0.0     82    573    4.1 9.0  da5
     0     89      0      0    0.0     83    573    4.8 9.8  da6
     0      0      0      0    0.0      0      0    0.0 0.0  da7
     0      0      0      0    0.0      0      0    0.0 0.0  da8
     0     87      0      0    0.0     81    573    2.6 5.7  da9
     0     89      0      0    0.0     84    573    3.0 6.7  da10
     0      0      0      0    0.0      0      0    0.0 0.0  da11
     0      0      0      0    0.0      0      0    0.0 0.0  da12
     0      0      0      0    0.0      0      0    0.0 0.0  da13
     0      0      0      0    0.0      0      0    0.0 0.0  da14
Fri Jan 10 08:22:28 CET 2014
dT: 1.032s  w: 1.000s  filter: da[0-9]+$
  L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w %busy Name
     0      0      0      0    0.0      0      0    0.0 0.0  da0
     0      0      0      0    0.0      0      0    0.0 0.0  da1
     0      0      0      0    0.0      0      0    0.0 0.0  da2
     0      0      0      0    0.0      0      0    0.0 0.0  da3
     0      0      0      0    0.0      0      0    0.0 0.0  da4
     0      0      0      0    0.0      0      0    0.0 0.0  da5
     0      0      0      0    0.0      0      0    0.0 0.0  da6
     0      0      0      0    0.0      0      0    0.0 0.0  da7
     0      0      0      0    0.0      0      0    0.0 0.0  da8
     0      0      0      0    0.0      0      0    0.0 0.0  da9
     0      0      0      0    0.0      0      0    0.0 0.0  da10
     0     91      0      0    0.0     85    590    4.9 9.5  da11
     0     92      0      0    0.0     86    590    5.1 10.3  da12
     0      0      0      0    0.0      0      0    0.0 0.0  da13
     0      0      0      0    0.0      0      0    0.0 0.0  da14
Fri Jan 10 08:22:30 CET 2014
dT: 1.020s  w: 1.000s  filter: da[0-9]+$
  L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w %busy Name
     0      0      0      0    0.0      0      0    0.0 0.0  da0
     0      0      0      0    0.0      0      0    0.0 0.0  da1
     0      0      0      0    0.0      0      0    0.0 0.0  da2
     0      0      0      0    0.0      0      0    0.0 0.0  da3
     0      0      0      0    0.0      0      0    0.0 0.0  da4
     0      0      0      0    0.0      0      0    0.0 0.0  da5
     0      0      0      0    0.0      0      0    0.0 0.0  da6
     0      0      0      0    0.0      0      0    0.0 0.0  da7
     0      0      0      0    0.0      0      0    0.0 0.0  da8
     0      0      0      0    0.0      0      0    0.0 0.0  da9
     0      0      0      0    0.0      0      0    0.0 0.0  da10
     0      0      0      0    0.0      0      0    0.0 0.0  da11
     0      0      0      0    0.0      0      0    0.0 0.0  da12
     0      0      0      0    0.0      0      0    0.0 0.0  da13
     0      0      0      0    0.0      0      0    0.0 0.0  da14
Fri Jan 10 08:22:32 CET 2014
dT: 1.058s  w: 1.000s  filter: da[0-9]+$
  L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w %busy Name
     0      0      0      0    0.0      0      0    0.0 0.0  da0
     0      0      0      0    0.0      0      0    0.0 0.0  da1
     0      0      0      0    0.0      0      0    0.0 0.0  da2
     0      0      0      0    0.0      0      0    0.0 0.0  da3
     0      0      0      0    0.0      0      0    0.0 0.0  da4
     0      0      0      0    0.0      0      0    0.0 0.0  da5
     0      0      0      0    0.0      0      0    0.0 0.0  da6
     0     81      0      0    0.0     76    576    1.8 4.1  da7
     0     82      0      0    0.0     77    576    2.0 4.8  da8
     0      0      0      0    0.0      0      0    0.0 0.0  da9
     0      0      0      0    0.0      0      0    0.0 0.0  da10
     0      0      0      0    0.0      0      0    0.0 0.0  da11
     0      0      0      0    0.0      0      0    0.0 0.0  da12
     0      0      0      0    0.0      0      0    0.0 0.0  da13
     0      0      0      0    0.0      0      0    0.0 0.0  da14
Fri Jan 10 08:22:34 CET 2014
dT: 1.024s  w: 1.000s  filter: da[0-9]+$
  L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w %busy Name
     0      0      0      0    0.0      0      0    0.0 0.0  da0
     0      0      0      0    0.0      0      0    0.0 0.0  da1
     0      0      0      0    0.0      0      0    0.0 0.0  da2
     0     91      0      0    0.0     85    595    1.4 3.8  da3
     0     91      0      0    0.0     85    595    1.5 3.6  da4
     0      0      0      0    0.0      0      0    0.0 0.0  da5
     0      0      0      0    0.0      0      0    0.0 0.0  da6
     0      0      0      0    0.0      0      0    0.0 0.0  da7
     0      0      0      0    0.0      0      0    0.0 0.0  da8
     0      0      0      0    0.0      0      0    0.0 0.0  da9
     0      0      0      0    0.0      0      0    0.0 0.0  da10
     0      0      0      0    0.0      0      0    0.0 0.0  da11
     0      0      0      0    0.0      0      0    0.0 0.0  da12
     0     92      0      0    0.0     86    595    2.0 5.3  da13
     0     93      0      0    0.0     87    595    2.0 5.0  da14
Fri Jan 10 08:22:36 CET 2014
dT: 1.073s  w: 1.000s  filter: da[0-9]+$
  L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w %busy Name
     0      0      0      0    0.0      0      0    0.0 0.0  da0
     0     81      0      0    0.0     76    568    2.2 4.4  da1
     0     82      0      0    0.0     76    568    2.2 4.5  da2
     0      0      0      0    0.0      0      0    0.0 0.0  da3
     0      0      0      0    0.0      0      0    0.0 0.0  da4
     0     88      0      0    0.0     82    568    2.1 5.7  da5
     0     90      0      0    0.0     85    568    2.5 7.0  da6
     0      0      0      0    0.0      0      0    0.0 0.0  da7
     0      0      0      0    0.0      0      0    0.0 0.0  da8
     0     47      0      0    0.0     42    488    2.1 3.9  da9
     0     48      0      0    0.0     43    488    2.3 4.0  da10
     0      0      0      0    0.0      0      0    0.0 0.0  da11
     0      0      0      0    0.0      0      0    0.0 0.0  da12
     0      0      0      0    0.0      0      0    0.0 0.0  da13
     0      0      0      0    0.0      0      0    0.0 0.0  da14
Fri Jan 10 08:22:38 CET 2014
dT: 1.010s  w: 1.000s  filter: da[0-9]+$
  L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w %busy Name
     0      0      0      0    0.0      0      0    0.0 0.0  da0
     0      0      0      0    0.0      0      0    0.0 0.0  da1
     0      0      0      0    0.0      0      0    0.0 0.0  da2
     0      0      0      0    0.0      0      0    0.0 0.0  da3
     0      0      0      0    0.0      0      0    0.0 0.0  da4
     0      0      0      0    0.0      0      0    0.0 0.0  da5
     0      0      0      0    0.0      0      0    0.0 0.0  da6
     0      0      0      0    0.0      0      0    0.0 0.0  da7
     0      0      0      0    0.0      0      0    0.0 0.0  da8
     0      0      0      0    0.0      0      0    0.0 0.0  da9
     0      0      0      0    0.0      0      0    0.0 0.0  da10
     0     94      0      0    0.0     88    603    1.7 4.6  da11
     0     92      0      0    0.0     86    603    1.8 4.5  da12
     3     59      0      0    0.0     55    541    3.1 4.5  da13
     4     60      0      0    0.0     56    541    3.2 4.5  da14
Fri Jan 10 08:22:40 CET 2014
dT: 1.073s  w: 1.000s  filter: da[0-9]+$
  L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w %busy Name
     0      0      0      0    0.0      0      0    0.0 0.0  da0
     0      0      0      0    0.0      0      0    0.0 0.0  da1
     0      0      0      0    0.0      0      0    0.0 0.0  da2
     0      0      0      0    0.0      0      0    0.0 0.0  da3
     0      0      0      0    0.0      0      0    0.0 0.0  da4
     0     88      0      0    0.0     82    568    2.0 4.6  da5
     0     87      0      0    0.0     81    568    2.0 4.5  da6
     0      0      0      0    0.0      0      0    0.0 0.0  da7
     0      0      0      0    0.0      0      0    0.0 0.0  da8
     0     86      0      0    0.0     80    568    2.1 4.7  da9
     0     86      0      0    0.0     80    568    2.5 5.3  da10
     0      0      0      0    0.0      0      0    0.0 0.0  da11
     0      0      0      0    0.0      0      0    0.0 0.0  da12
     0      0      0      0    0.0      0      0    0.0 0.0  da13
     0      0      0      0    0.0      0      0    0.0 0.0  da14
Fri Jan 10 08:22:43 CET 2014
dT: 1.035s  w: 1.000s  filter: da[0-9]+$
  L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w %busy Name
     0      0      0      0    0.0      0      0    0.0 0.0  da0
     0      0      0      0    0.0      0      0    0.0 0.0  da1
     0      0      0      0    0.0      0      0    0.0 0.0  da2
     0      0      0      0    0.0      0      0    0.0 0.0  da3
     0      0      0      0    0.0      0      0    0.0 0.0  da4
     0      0      0      0    0.0      0      0    0.0 0.0  da5
     0      0      0      0    0.0      0      0    0.0 0.0  da6
     0     86      0      0    0.0     80    588    3.4 7.3  da7
     0     85      0      0    0.0     79    588    3.5 7.6  da8
     0      0      0      0    0.0      0      0    0.0 0.0  da9
     0      0      0      0    0.0      0      0    0.0 0.0  da10
     0      0      0      0    0.0      0      0    0.0 0.0  da11
     0      0      0      0    0.0      0      0    0.0 0.0  da12
     0      0      0      0    0.0      0      0    0.0 0.0  da13
     0      0      0      0    0.0      0      0    0.0 0.0  da14
^C

FreeBSD 10.0-BETA1 #5 r256751

# zpool status
   pool: data1
  state: ONLINE
   scan: none requested
config:

         NAME        STATE     READ WRITE CKSUM
         data1       ONLINE       0     0     0
           mirror-0  ONLINE       0     0     0
             da1     ONLINE       0     0     0
             da2     ONLINE       0     0     0

errors: No known data errors

   pool: data2
  state: ONLINE
   scan: none requested
config:

         NAME        STATE     READ WRITE CKSUM
         data2       ONLINE       0     0     0
           mirror-0  ONLINE       0     0     0
             da3     ONLINE       0     0     0
             da4     ONLINE       0     0     0

errors: No known data errors

   pool: data3
  state: ONLINE
   scan: none requested
config:

         NAME        STATE     READ WRITE CKSUM
         data3       ONLINE       0     0     0
           mirror-0  ONLINE       0     0     0
             da5     ONLINE       0     0     0
             da6     ONLINE       0     0     0

errors: No known data errors

   pool: data4
  state: ONLINE
   scan: none requested
config:

         NAME        STATE     READ WRITE CKSUM
         data4       ONLINE       0     0     0
           mirror-0  ONLINE       0     0     0
             da7     ONLINE       0     0     0
             da8     ONLINE       0     0     0

errors: No known data errors

   pool: data5
  state: ONLINE
   scan: none requested
config:

         NAME        STATE     READ WRITE CKSUM
         data5       ONLINE       0     0     0
           mirror-0  ONLINE       0     0     0
             da9     ONLINE       0     0     0
             da10    ONLINE       0     0     0

errors: No known data errors

   pool: data6
  state: ONLINE
   scan: none requested
config:

         NAME        STATE     READ WRITE CKSUM
         data6       ONLINE       0     0     0
           mirror-0  ONLINE       0     0     0
             da11    ONLINE       0     0     0
             da12    ONLINE       0     0     0

errors: No known data errors

   pool: data7
  state: ONLINE
   scan: none requested
config:

         NAME        STATE     READ WRITE CKSUM
         data7       ONLINE       0     0     0
           mirror-0  ONLINE       0     0     0
             da13    ONLINE       0     0     0
             da14    ONLINE       0     0     0

errors: No known data errors




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52CFA0B6.7090109>