{"action":"created","issue":{"url":"https://api.github.com/repos/openzfsonosx/zfs/issues/312","labels_url":"https://api.github.com/repos/openzfsonosx/zfs/issues/312/labels{/name}","comments_url":"https://api.github.com/repos/openzfsonosx/zfs/issues/312/comments","events_url":"https://api.github.com/repos/openzfsonosx/zfs/issues/312/events","html_url":"https://github.com/openzfsonosx/zfs/issues/312","id":76422557,"number":312,"title":"Invariant Disk not ready when using Areca Controller","user":{"login":"mruepp","id":10906913,"avatar_url":"https://avatars.githubusercontent.com/u/10906913?v=3","gravatar_id":"","url":"https://api.github.com/users/mruepp","html_url":"https://github.com/mruepp","followers_url":"https://api.github.com/users/mruepp/followers","following_url":"https://api.github.com/users/mruepp/following{/other_user}","gists_url":"https://api.github.com/users/mruepp/gists{/gist_id}","starred_url":"https://api.github.com/users/mruepp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mruepp/subscriptions","organizations_url":"https://api.github.com/users/mruepp/orgs","repos_url":"https://api.github.com/users/mruepp/repos","events_url":"https://api.github.com/users/mruepp/events{/privacy}","received_events_url":"https://api.github.com/users/mruepp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-14T16:58:33Z","updated_at":"2015-05-14T17:33:31Z","closed_at":null,"body":"In combination with an Areca ARC-1320 Controller, the Invariant Disks are not ready when using the default plist settings.\r\n\r\nOnly with\r\n        <key>ProgramArguments</key>\r\n        <array>\r\n                <string>/usr/sbin/InvariantDisks</string>\r\n                <string>-t</string>\r\n                <string>16000</string>\r\n        </array>\r\n\r\nit is working.\r\n\r\nThis results in log or cache device beeing unavail when running on the Areca Controller and other diskpaths beeing randomly chosen from /dev or /var/run/disk/by-id \r\n\r\nI suggest to expand the timeout as a default setting or to implement some kind of doublecheck to detect if InvariantDisk is finished with import/symlink creation."},"comment":{"url":"https://api.github.com/repos/openzfsonosx/zfs/issues/comments/102111594","html_url":"https://github.com/openzfsonosx/zfs/issues/312#issuecomment-102111594","issue_url":"https://api.github.com/repos/openzfsonosx/zfs/issues/312","id":102111594,"user":{"login":"mruepp","id":10906913,"avatar_url":"https://avatars.githubusercontent.com/u/10906913?v=3","gravatar_id":"","url":"https://api.github.com/users/mruepp","html_url":"https://github.com/mruepp","followers_url":"https://api.github.com/users/mruepp/followers","following_url":"https://api.github.com/users/mruepp/following{/other_user}","gists_url":"https://api.github.com/users/mruepp/gists{/gist_id}","starred_url":"https://api.github.com/users/mruepp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mruepp/subscriptions","organizations_url":"https://api.github.com/users/mruepp/orgs","repos_url":"https://api.github.com/users/mruepp/repos","events_url":"https://api.github.com/users/mruepp/events{/privacy}","received_events_url":"https://api.github.com/users/mruepp/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T17:33:31Z","updated_at":"2015-05-14T17:33:31Z","body":"The kernel dev should already be populated when launchd is run by the kernel. So what I don´t understand is why InvariantDisk takes such a long time populating the /var/run/disk folder, it should not be depending on the Areca Controller to finish initializing because the areca kext is loaded and initialized already in the Bootloader sequence and kernel devs are established. \r\nMaybe pool import should depend on successful return of InvariantDisk Daemon.\r\n\r\nI suggest thinking about a programatic solution and consider this a bug (but low priority) as long as one has to edit files on every update of the zfs stack."}}