Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2017 17:45:56 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        Adam Vande More <amvandemore@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: zfs mirror and unequal writes
Message-ID:  <6f2e4f4b-a320-7317-875b-d0e7df64a5b3@sentex.net>
In-Reply-To: <CA%2BtpaK30gjtsSb53UDnPDNDh6wGv86hNMrOqticqMMGmjB0BdQ@mail.gmail.com>
References:  <d9f8be97-7a6b-13fd-eb33-9d37c5dc7c43@sentex.net> <CA%2BtpaK30gjtsSb53UDnPDNDh6wGv86hNMrOqticqMMGmjB0BdQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/8/2017 5:40 PM, Adam Vande More wrote:
> 
> Do you have the disks allocated in any other way eg swap or have a
> member drop out for awhile?
> 
> I checked my mirror which has been in place for ~4 years and the values
> are pretty close, although I have different drives which are mechanical.

Actually, thats the odd thing, swap is on ada0 (only) and its the one
with dramatically less writes.  I looked a few recently deployed SSD
boxes and they are all very close as well.  This is the one outlier. Not
sure if its indicative of some other pathology of the drive ?

0{backup4}# grep swap /etc/fstab
/dev/ada0p2             none    swap    sw              0       0
#/dev/ada1p2            none    swap    sw              0       0
0{backup4}# ls -l /etc/fstab
-rw-r--r--  1 root  wheel  uarch 111 Oct 24  2014 /etc/fstab
0{backup4}#


1{backup4}# gpart show ada0
=>       34  250069613  ada0  GPT  (119G)
         34          6        - free -  (3.0K)
         40       1024     1  freebsd-boot  (512K)
       1064   41943040     2  freebsd-swap  (20G)
   41944104  208125536     3  freebsd-zfs  (99G)
  250069640          7        - free -  (3.5K)

0{backup4}# gpart show ada1
=>       34  250069613  ada1  GPT  (119G)
         34          6        - free -  (3.0K)
         40       1024     1  freebsd-boot  (512K)
       1064   41943040     2  freebsd-zfs  (20G)
   41944104  208125536     3  freebsd-zfs  (99G)
  250069640          7        - free -  (3.5K)

0{backup4}#


-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6f2e4f4b-a320-7317-875b-d0e7df64a5b3>