Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2017 01:38:43 -0400
From:      Chris Ross <cross+freebsd@distal.com>
To:        freebsd-fs@freebsd.org
Subject:   ZFS: Device names in a raidz1 pool after changing controllers
Message-ID:  <6976A8FF-994C-48D3-99B1-2181CD15C94C@distal.com>

next in thread | raw e-mail | index | archive | help

--Apple-Mail=_1D3F2DAA-63D3-44F2-A91F-0614A480169E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


 I=E2=80=99m moving one of my systems from the on-board SATA controller =
to a SATA/SAS controller.  A side effect of the first experiement, of =
moving half of the SATA drives onto the new controller, is that they =
went from being named =E2=80=9Cada2=E2=80=9D and =E2=80=9Cada3=E2=80=9D =
to being =E2=80=9Cda0=E2=80=9D and =E2=80=9Cda1=E2=80=9D.

 ZFS, happily, just coped with this.  But, the raidz1 pool that was =
spread across parts of disks on both sides, now looks like:

	NAME                            STATE     READ WRITE CKSUM
	tank                            ONLINE       0     0     0
	  raidz1-0                      ONLINE       0     0     0
	    ada1p4                      ONLINE       0     0     0
	    diskid/DISK-WOL240261932p1  ONLINE       0     0     0
	    diskid/DISK-WOL240261922p1  ONLINE       0     0     0

 (where before, the second and third components were ada2p1 and ada3p1).

 1) Is it possible to rename how zpool lists these disk identifiers?
 2) If so, is there consensus on whether device names or diskid are =
=E2=80=9Cbetter=E2=80=9D, perhaps simply =E2=80=9Cmore recommended"?  In =
a way, I=E2=80=99d like an idea how to tell which disk in the enclosure =
is which device in the pool, which I think diskid would make harder=E2=80=A6=


 Thanks.

             - Chris


--Apple-Mail=_1D3F2DAA-63D3-44F2-A91F-0614A480169E
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJZjULkAAoJEPFBDnXvoNg0JhIP/jkoj5C+Ro+kHEs3xZ0HFrsy
xrCYgft/uk69jlWNDEF+bhG99sb6OIPrvu2ltVaYlVNX3j7PyyBY8O0u/Og32mx3
wxhJvp7ALrNY6ioKdQjtbIrgjF+6JHZt2vIGoLJDG6DQ/C/G6OGP9c6zrJ0QKG3D
p7nZ7X3yR47Dty9RDf2Xrr6UKlDlRsr0AdY5JVBppv3QtsdyqYQql7X3LgD52x2D
n9lXbUwJXNN11vGtcgHfbI9tY8uU5wzMNdxyDThEs6+Y3+5rMk5MvYm9XHdP7l55
8nbmvhroBa8IJjZlhxrpb9K6Oj0swqXXxKzvczZ307HDjIuwVrYAmhL6rv7uJonV
a3LC4UyZUTqYvUYp/I1bFQgI140Wa18VZYjHVCQylUvqKOYZyqiLsfywHitZJ2RV
lRxziU/zRNvVHUy5TlSwPrhzXldhKTzS8JRN5HAb07YhhOwRkm6ZWbQVtNkfrhSp
4FNxBP55I97VTOjaQ5moaM5RkkyR3oXpegte1fm9WhyVkV5mMRo7Wl990kLuWQl0
6FAYh4YLPncN65baZRibNue3Fw/G3Q93Bj1grpjBP30l3jNnGp9u+/nZCEmbsvzF
er7F4WYEEVUQ72XV6NyxVW5KoVjVzvU/KYPk/IAgyl2cMToOz/wf0og+jyY4JRYP
X6HhzzFKnmd1bM/8O5jH
=QezY
-----END PGP SIGNATURE-----

--Apple-Mail=_1D3F2DAA-63D3-44F2-A91F-0614A480169E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6976A8FF-994C-48D3-99B1-2181CD15C94C>