Skip to contentSkip to conversation

resetting device stats

DISCUSSION Russell Coker 1 participant 1 message Nov 26, 2014 Btrfs file system

lore
Share & tools
lore
#0 lore raw

When running Debian kernel version 3.16.0-4-amd64 and btrfs-tools version 3.17-1.1 I ran a btrfs replace operation to replace a 3TB disk that was giving read errors with a new 4TB disk.

After the replace the "btrfs device stats" command reported that the 4TB disk had 16 read errors. It appears that the device stats are copied in a replace operation.

I believe that this is a bug. There is no reason to claim that the new 4TB disk had read errors when it was the old 3TB disk that had the errors.

Signature · 2 lines
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/