Bug 204892

Summary: zpool refuses to work with device symlinks
Product: Base System Reporter: Mikhail Teterin <mi>
Component: kernAssignee: Bugmeister <bugmeister>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: junovitch
Priority: ---    
Version: 10.2-STABLE   
Hardware: Any   
OS: Any   

Description Mikhail Teterin freebsd_committer freebsd_triage 2015-11-29 07:19:17 UTC
My 3 SATA drives are listed under /dev as both sequentially-numbered ada as well as ad with numbers reflecting their positions:

lrwxr-xr-x  1 root  wheel  4 27 лис 14:45 /dev/ad4 -> ada0
lrwxr-xr-x  1 root  wheel  4 27 лис 14:45 /dev/ad6 -> ada1
lrwxr-xr-x  1 root  wheel  4 27 лис 14:45 /dev/ad8 -> ada2

I wanted zpool to use the aliases (ad4, ad6, and ad8) so that, should I plug in another device into slot 5 or 7, the pool continues to function.

Unfortunately, zpool didn't like that and kept rejecting my commands until I fed it ada0, ada1, and ada2.

Could it, please, be made wiser? Thanks!
Comment 1 Jason Unovitch freebsd_committer freebsd_triage 2015-11-29 16:38:41 UTC
FYI: Support for the kern.cam.ada.legacy_aliases was removed in https://svnweb.FreeBSD.org/changeset/base/289137.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2025-02-11 00:05:42 UTC
^Triage: I'm sorry that this PR did not get addressed in a timely fashion.

By now, the version that it was created against is long out of support.
Please re-open if it is still a problem on a supported version.