{"action":"created","issue":{"url":"https://api.github.com/repos/zfsonlinux/zfs/issues/2856","labels_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/2856/labels{/name}","comments_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/2856/comments","events_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/2856/events","html_url":"https://github.com/zfsonlinux/zfs/issues/2856","id":47340357,"number":2856,"title":"Alternate paths for drives","user":{"login":"prometheanfire","id":1869923,"avatar_url":"https://avatars.githubusercontent.com/u/1869923?v=3","gravatar_id":"","url":"https://api.github.com/users/prometheanfire","html_url":"https://github.com/prometheanfire","followers_url":"https://api.github.com/users/prometheanfire/followers","following_url":"https://api.github.com/users/prometheanfire/following{/other_user}","gists_url":"https://api.github.com/users/prometheanfire/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheanfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheanfire/subscriptions","organizations_url":"https://api.github.com/users/prometheanfire/orgs","repos_url":"https://api.github.com/users/prometheanfire/repos","events_url":"https://api.github.com/users/prometheanfire/events{/privacy}","received_events_url":"https://api.github.com/users/prometheanfire/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zfsonlinux/zfs/labels/Difficulty%20-%20Medium","name":"Difficulty - Medium","color":"207de5"},{"url":"https://api.github.com/repos/zfsonlinux/zfs/labels/Feature","name":"Feature","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-10-30T22:49:37Z","updated_at":"2015-12-10T01:02:45Z","closed_at":null,"body":"we could also use guids maybe?\r\n\r\n#2155 for more info"},"comment":{"url":"https://api.github.com/repos/zfsonlinux/zfs/issues/comments/163453570","html_url":"https://github.com/zfsonlinux/zfs/issues/2856#issuecomment-163453570","issue_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/2856","id":163453570,"user":{"login":"behlendorf","id":148917,"avatar_url":"https://avatars.githubusercontent.com/u/148917?v=3","gravatar_id":"","url":"https://api.github.com/users/behlendorf","html_url":"https://github.com/behlendorf","followers_url":"https://api.github.com/users/behlendorf/followers","following_url":"https://api.github.com/users/behlendorf/following{/other_user}","gists_url":"https://api.github.com/users/behlendorf/gists{/gist_id}","starred_url":"https://api.github.com/users/behlendorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behlendorf/subscriptions","organizations_url":"https://api.github.com/users/behlendorf/orgs","repos_url":"https://api.github.com/users/behlendorf/repos","events_url":"https://api.github.com/users/behlendorf/events{/privacy}","received_events_url":"https://api.github.com/users/behlendorf/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T01:02:45Z","updated_at":"2015-12-10T01:02:45Z","body":"It absolutely could be.  This is basically what illumos does using the devid when it can't find the right device at the expected path.  Although that's less common on illumos because they always enumerate the devices sequentially and they block until all the devices are enumerated.  That's not fast but it has the advantage of being dead simple.\r\n\r\nUnder Linux that was never implemented because given the kernel interfaces available it wasn't an easy thing to do.  And honestly very few people have revisited this code since I first implemented it.  \r\n\r\nI completely agree we should integrated more tightly with blkid but so far it hasn't been a critical issue.  It's also worth pointing out that relying on blkid exclusively probably isn't desirable because that will have the side effect of changing the device names in commands like `zpool status`.  Many people like the ability to give those devices meaningful human readable names.  But I completely agree we should use libblkid more to identify the devices."}}