{"action":"created","issue":{"url":"https://api.github.com/repos/zfsonlinux/zfs/issues/4416","repository_url":"https://api.github.com/repos/zfsonlinux/zfs","labels_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/4416/labels{/name}","comments_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/4416/comments","events_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/4416/events","html_url":"https://github.com/zfsonlinux/zfs/pull/4416","id":140824174,"number":4416,"title":"Add support for devid and phys_path keys in vdev disk labels.","user":{"login":"don-brady","id":12415697,"avatar_url":"https://avatars.githubusercontent.com/u/12415697?v=3","gravatar_id":"","url":"https://api.github.com/users/don-brady","html_url":"https://github.com/don-brady","followers_url":"https://api.github.com/users/don-brady/followers","following_url":"https://api.github.com/users/don-brady/following{/other_user}","gists_url":"https://api.github.com/users/don-brady/gists{/gist_id}","starred_url":"https://api.github.com/users/don-brady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/don-brady/subscriptions","organizations_url":"https://api.github.com/users/don-brady/orgs","repos_url":"https://api.github.com/users/don-brady/repos","events_url":"https://api.github.com/users/don-brady/events{/privacy}","received_events_url":"https://api.github.com/users/don-brady/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/zfsonlinux/zfs/milestones/11","html_url":"https://github.com/zfsonlinux/zfs/milestones/0.7.0","labels_url":"https://api.github.com/repos/zfsonlinux/zfs/milestones/11/labels","id":7013,"number":11,"title":"0.7.0","description":"ZFS on Linux v0.7.0 - Memory management\r\n\r\n","creator":{"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},"open_issues":67,"closed_issues":192,"state":"open","created_at":"2011-05-03T17:38:46Z","updated_at":"2016-03-31T20:46:40Z","due_on":null,"closed_at":null},"comments":35,"created_at":"2016-03-14T23:22:26Z","updated_at":"2016-04-01T02:19:14Z","closed_at":"2016-03-31T20:46:40Z","pull_request":{"url":"https://api.github.com/repos/zfsonlinux/zfs/pulls/4416","html_url":"https://github.com/zfsonlinux/zfs/pull/4416","diff_url":"https://github.com/zfsonlinux/zfs/pull/4416.diff","patch_url":"https://github.com/zfsonlinux/zfs/pull/4416.patch"},"body":"Add support for devid and phys_path keys in vdev disk labels.\r\n\r\nThis is foundational work for **ZED**.\r\n\r\nUpdates a leaf vdev's persistent device strings on Linux platform\r\n* only applies for a dedicated leaf vdev (aka whole disk)\r\n* updated during pool create|add|attach|import\r\n* used for matching device matching during auto-{online,expand,replace}\r\n* stored in a leaf disk config label (i.e. alongside 'path' NVP)\r\n* can opt-out using env var `ZFS_VDEV_DEVID_OPT_OUT=YES`\r\n\r\nSee details in http://github.com/zfsonlinux/zfs/issues/3978\r\n\r\nSome examples:\r\n\r\n    # zpool create dozer sdb\r\n    # zdb -C | grep 'path:\\|devid:'\r\n    \tpath: '/dev/sdb1'\r\n    \tdevid: 'scsi-350000394a8ca4fbc-part1'\r\n    \tphys_path: 'pci-0000:04:00.0-sas-0x50000394a8ca4fbf-lun-0'\r\n    \r\n    # zpool create tank mpatha\r\n    # zdb -C | grep 'path:\\|devid:'\r\n    \tpath: '/dev/mapper/mpatha'\r\n    \tdevid: 'dm-uuid-mpath-35000c5006304de3f'\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zfsonlinux/zfs/issues/comments/204212839","html_url":"https://github.com/zfsonlinux/zfs/pull/4416#issuecomment-204212839","issue_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/4416","id":204212839,"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":"2016-04-01T02:19:14Z","updated_at":"2016-04-01T02:19:14Z","body":"Yes I'm seeing this as well.   For the moment you can revert the last two patches. I can't look in to this until tomorrow, but I'll sort it out then.   Unless someone beats me to it."}}