Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2014 02:17:46 -0500
From:      Scott Bennett <bennett@sdf.org>
To:        kpneal@pobox.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re:  some ZFS questions
Message-ID:  <201408260717.s7Q7Hkua012200@sdf.org>
In-Reply-To: <20140825014249.GA28995@neutralgood.org>
References:  <201408070816.s778G9ug015988@sdf.org> <40AF5B49-80AF-4FE2-BA14-BFF86164EAA8@kraus-haus.org> <201408211007.s7LA7YGd002430@sdf.org> <E32981BF-613C-49D9-B7F8-18B9A99C0141@kraus-haus.org> <201408241015.s7OAFRv7010196@sdf.org> <20140825014249.GA28995@neutralgood.org>

next in thread | previous in thread | raw e-mail | index | archive | help
kpneal@pobox.com wrote:
> On Sun, Aug 24, 2014 at 05:15:27AM -0500, Scott Bennett wrote:
> > Paul Kraus <paul@kraus-haus.org> wrote:
> > > ZFS uses the header written to the device to identify it. Note that this was not always the case and *if* you have a zfs cache file you *may* run into device renaming issues. I have not seen any, but I am also particularly paranoid about not moving devices around before exporting them. I have seen too many stories of lost zpools due to this many years ago on the ZFS list.
> > 
> >      Well, I don't have an SSD at present, so maybe it won't matter then.
> > Nevertheless, if a crash and reboot can result in loss of a pool because
> > the device names get reshuffled, that would seem like a real hazard to
> > using ZFS, so I hope that is no longer the case.
>
> If you can use GPT partitioning then you can have GPT labels on partitions
> spanning entire disks. Then you can rearrange physical disks to your hearts
> content. 

     Of course, doing it that way, as opposed to giving ZFS the raw devices,
is what others here have been recommending against for compatibility reasons.
>
> The bonus is that you can put identifying information in the label name
> to be even more sure you are replacing the correct disk when the time
> comes.
>
     Certainly.


                                  Scott Bennett, Comm. ASMELG, CFIAG
**********************************************************************
* Internet:   bennett at sdf.org   *xor*   bennett at freeshell.org  *
*--------------------------------------------------------------------*
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."                                               *
*    -- Gov. John Hancock, New York Journal, 28 January 1790         *
**********************************************************************



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