2011-07-08 16:12:28 -0400, Chris Mason:
[...]
> > I'm running a "dstat -df" at the same time and I'm seeing
> > substantive amount of disk writes on the disks that hold the
> > source FS (and I'm rsyncing from read-only snapshot subvolumes
> > in case you're thinking of atimes) almost more than onto the
> > drive holding the target FS!?
> 
> These are probably atime updates.  You can completely disable them with
> mount -o noatime.
[...]

I don't think it is. First, as I said, I'm rsyncing from
read-only snapshots (and I could see atimes were not updated)
and nothing else is running. Then now looking at the traces this
morning, There was a lot written in the first minutes, then it
calmed down.

That's every 5 minutes (in megabytes written to the hard disks
making part of the source FS):


       976 *|**|**
      1786 *|****|****
      2486 *|******|******
      3139 *|********|********
      3720 *|*********|*********
      4226 *|**********|**********
      4756 *|************|***********
      5134 **|************|***********
      5573 ***|*************|************
      5991 ****|**************|************
      6423 ****|***************|*************
      6580 ****|****************|*************
      6598 ****|****************|*************
      6602 ****|****************|*************
      6671 ****|****************|*************
      6774 ****|****************|**************
      6887 ****|****************|**************
      6928 ****|****************|**************
      6943 ****|*****************|**************
      6954 ****|*****************|**************
      6969 ****|*****************|**************
      6982 ****|*****************|**************
      6998 ****|*****************|**************
      7016 ****|*****************|**************
      7106 ****|*****************|**************
      7143 ****|*****************|**************
      7184 ****|*****************|***************
      7216 ****|*****************|***************
      7244 ****|*****************|***************
      7315 ****|*****************|***************
      7347 ****|******************|***************
      7358 ****|******************|***************
      7418 ****|******************|***************
      7432 ****|******************|***************
      7438 ****|******************|***************
      7438 ****|******************|***************
      7462 ****|******************|***************
      7483 ****|******************|***************
      7528 ****|******************|***************
      7529 ****|******************|***************
      7618 ****|******************|****************
      7869 ****|*******************|****************
      8325 *****|********************|******************
      8419 *****|********************|******************
      8533 *****|*********************|******************
      8587 *****|*********************|******************
      8731 *****|*********************|*******************
      8830 *****|*********************|*******************
      8869 *****|*********************|*******************
      8881 *****|**********************|*******************
      8903 *****|**********************|*******************
      8974 *****|**********************|*******************
      9044 *****|**********************|*******************
      9100 *****|**********************|********************
      9492 *****|***********************|*********************
      9564 *****|***********************|*********************
      9640 *****|************************|*********************
      9684 *****|************************|*********************
      9756 *****|************************|*********************
      9803 *****|************************|*********************
      9836 *****|************************|*********************
      9845 *****|************************|**********************
      9881 *****|************************|**********************
      9989 *****|************************|**********************
     10083 *****|*************************|**********************
     10172 *****|*************************|**********************
     10230 *****|*************************|**********************
     10250 *****|*************************|***********************
     10271 *****|*************************|***********************
     10291 *****|*************************|***********************
     10306 *****|*************************|***********************
     10314 *****|*************************|***********************
     10330 *****|*************************|***********************
     10395 *****|*************************|***********************
     10468 *****|**************************|***********************
     10641 *****|**************************|***********************
     10728 *****|**************************|************************
     10818 *****|**************************|************************
     10854 *****|***************************|************************
     10855 *****|***************************|************************
     10867 *****|***************************|************************
     10876 *****|***************************|************************
     10937 *****|***************************|************************
     10937 *****|***************************|************************
     10939 *****|***************************|************************
     10950 *****|***************************|************************
     10979 *****|***************************|************************
     11108 *****|***************************|*************************
     11125 *****|***************************|*************************
     11161 *****|***************************|*************************
     11235 *****|****************************|*************************
     11270 *****|****************************|*************************
     11284 *****|****************************|*************************
     11298 *****|****************************|*************************
     11465 *****|****************************|**************************
     11608 *****|****************************|**************************
     11655 *****|*****************************|**************************
     11690 *****|*****************************|**************************
     11776 *****|*****************************|**************************
     11829 *****|*****************************|***************************
     11915 *****|*****************************|***************************
     11988 *****|*****************************|***************************
     12040 *****|******************************|***************************
     12068 *****|******************************|***************************
     12080 *****|******************************|***************************
     12139 *****|******************************|***************************
     12216 *****|******************************|***************************
     12305 *****|******************************|****************************
     12405 *****|******************************|****************************
     12423 *****|*******************************|****************************
     12509 *****|*******************************|****************************
     12568 *****|*******************************|****************************
     12601 *****|*******************************|****************************
     12669 *****|*******************************|*****************************
     12690 *****|*******************************|*****************************
     12799 *****|*******************************|*****************************
     12802 *****|*******************************|*****************************
     12856 *****|********************************|*****************************
     12875 *****|********************************|*****************************
     12891 *****|********************************|*****************************
     12904 *****|********************************|*****************************
     12932 *****|********************************|*****************************
     12946 *****|********************************|*****************************
     12971 *****|********************************|*****************************
     12998 *****|********************************|*****************************
     13014 *****|********************************|*****************************
     13028 *****|********************************|*****************************
     13036 *****|********************************|******************************
     13055 *****|********************************|******************************
     13064 *****|********************************|******************************
     13074 *****|********************************|******************************
     13124 *****|********************************|******************************
     13167 *****|********************************|******************************
     13178 *****|********************************|******************************

# btrfs fi show /dev/sda4
Label: none  uuid: b3ce8b16-970e-4ba8-b9d2-4c7de270d0f1
        Total devices 3 FS bytes used 3.71TB
        devid    2 size 2.73TB used 1.30TB path /dev/sdb
        devid    1 size 2.70TB used 1.27TB path /dev/sda4
        devid    3 size 2.73TB used 1.27TB path /dev/sdc

Don't know why it would write that less /dev/sda4.

-- 
Stephane
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to