Bug 204892 - zpool refuses to work with device symlinks
Summary: zpool refuses to work with device symlinks
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.2-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-29 07:19 UTC by Mikhail Teterin
Modified: 2015-11-29 22:34 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.