Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2015 17:06:55 -0400
From:      Paul Kraus <paul@kraus-haus.org>
To:        Chris Stankevitz <chris@stankevitz.com>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Name/label/id metadata: how do I make it go away
Message-ID:  <EB443F8F-7E2A-4233-9150-4E18A0FB5EAC@kraus-haus.org>
In-Reply-To: <5603114C.2060105@stankevitz.com>
References:  <56004C68.4020904@stankevitz.com> <alpine.BSF.2.20.1509212126470.4544@wonkity.com> <5600F0DF.8000805@stankevitz.com> <e1abb521ab324532b3445d26984f5638@SERVER.ad.usd-group.com> <5601A82A.7040304@stankevitz.com> <5601B2AF.7040306@stankevitz.com> <alpine.BSF.2.20.1509221500580.14674@wonkity.com> <5601CB85.8070400@stankevitz.com> <93BD5F1D-9A64-4430-8519-FCF71E817A29@kraus-haus.org> <5603114C.2060105@stankevitz.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 23, 2015, at 16:53, Chris Stankevitz <chris@stankevitz.com> =
wrote:

> I feel the same way about my data.  Like you, I am paranoid and I want =
to understand exactly what is going on.  How can I guarantee that my =
data is safe when I'm at a loss to explain why my "zpool status" is such =
a mess?
>=20
> Can you tell me how you go about "preferring and using diskids" when =
you import a zpool?  Do you always import on the command line using =
"zpool import -d=94?

I create the zpool using the /dev/diskid/nnn device names. If I build =
the zpool using those device names I have not had ZFS use any others on =
import.

When I have a zpool that does not use the diskid device names I usually =
(and very carefully) replace the device with one using the diskid name. =
You clearly can=92t do that =93in-place=94 with RAIDz vdevs, but for =
mirrors I take the small risk by removing one of the mirror components =
and then attach it using the diskid name.

If you have even one =93spare=94 drive you can do a walking replacement =
of one device at a time to the new naming scheme.

I have not run into the exact case you have with device names but no =
idea (really) where they came from.

If your zpool started under FreeNAS, then you need to be looking at how =
9.x handles device names to figure out where they came from. As far as I =
know, FreeNAS is still 9.x based.

NOTE: I am running 10.0 and 10.1, I have not gone to 10.2 yet.

--
Paul Kraus
paul@kraus-haus.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EB443F8F-7E2A-4233-9150-4E18A0FB5EAC>