Re: Uneven load on drives in ZFS RAIDZ1

From: Peter Maloney <peter.maloney_at_brockmann-consult.de>
Date: Mon, 19 Dec 2011 21:40:13 +0100
Am 19.12.2011 17:48, schrieb Michael Reifenberger:
> On Mon, 19 Dec 2011, Peter Maloney wrote:
>
>> Swapping disks (or even removing one depending on controller, etc. when
>> it fails) without labels can be bad.
>> eg.
>
> Since ZFS uses (and searches for) its own UUID partition signatures s
> disk wapping shouldn't matter as long enough disks are found.
>
> Set vfs.zfs.debug=1 during boot to watch what is searched for.
>
> Bye/2
> ---
> Michael Reifenberger
> Michael_at_Reifenberger.com
> http://www.Reifenberger.com
>
Thanks for the info. But I am confused by it, because when my disks
moved around randomly on reboot, it really did mess things up. The first
few times it happened, there was no issue, but when a spare took the
place of a pool disk, it messed things up. I can see the UUIDs when I
look at zdb output, so I really have no idea why it messed things up.
... but it did, so I will always caution people anyway. I can't point
you to any relevant lines of code that cause the problem, but I know it
can happen... and it will when you least expect it. ;)

And I also see the opposite... people talking about their very old
pools, with many disks exchanged, and wonder why mine was so easily
messed up and theirs survived so long without labels. I just assumed it
was the way the controller arranged the disks. (and by the way, mine now
orders the disks perfectly consistently now that it is in IT mode, not
mostly random like before... could be a factor)

I am always very busy, but when I get the chance, it shouldn't take too
long, so I will try to recreate it on a virtual machine and try
vfs.zfs.debug=1.Thanks for the suggestion.
Received on Mon Dec 19 2011 - 19:40:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:22 UTC