ZFS: Device names in a raidz1 pool after changing controllers
Chris Ross
cross+freebsd at distal.com
Fri Aug 11 05:38:56 UTC 2017
I’m 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 “ada2” and “ada3” to being “da0” and “da1”.
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 “better”, perhaps simply “more recommended"? In a way, I’d like an idea how to tell which disk in the enclosure is which device in the pool, which I think diskid would make harder…
Thanks.
- Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20170811/dc5c0935/attachment.sig>
More information about the freebsd-fs
mailing list