Bug 204892

Summary: zpool refuses to work with device symlinks
Product: Base System Reporter: Mikhail Teterin <mi>
Component: kernAssignee: freebsd-fs (Nobody) <fs>
Status: New ---    
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.