{"action":"opened","issue":{"url":"https://api.github.com/repos/openzfsonosx/zfs/issues/323","labels_url":"https://api.github.com/repos/openzfsonosx/zfs/issues/323/labels{/name}","comments_url":"https://api.github.com/repos/openzfsonosx/zfs/issues/323/comments","events_url":"https://api.github.com/repos/openzfsonosx/zfs/issues/323/events","html_url":"https://github.com/openzfsonosx/zfs/issues/323","id":85887119,"number":323,"title":"dry-run doesn't seem to support cache devices","user":{"login":"JMoVS","id":7354506,"avatar_url":"https://avatars.githubusercontent.com/u/7354506?v=3","gravatar_id":"","url":"https://api.github.com/users/JMoVS","html_url":"https://github.com/JMoVS","followers_url":"https://api.github.com/users/JMoVS/followers","following_url":"https://api.github.com/users/JMoVS/following{/other_user}","gists_url":"https://api.github.com/users/JMoVS/gists{/gist_id}","starred_url":"https://api.github.com/users/JMoVS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JMoVS/subscriptions","organizations_url":"https://api.github.com/users/JMoVS/orgs","repos_url":"https://api.github.com/users/JMoVS/repos","events_url":"https://api.github.com/users/JMoVS/events{/privacy}","received_events_url":"https://api.github.com/users/JMoVS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-07T10:21:29Z","updated_at":"2015-06-07T10:21:29Z","closed_at":null,"body":"My zpool is called \"ZFSPower\" and running a dry-run to add a cache-deive provided the following output:\r\n\r\n````\r\nSergeant-Pepper-Senior-2:~ user$ sudo zpool add -n ZFSPower cache media-AEF99EC2-B9CE-4D56-8800-39836E8CB350\r\nwould update 'ZFSPower' to the following configuration:\r\n\tZFSPower\r\n\t  disk4\r\n\r\n````\r\n\r\nwhereas the actual result looks like this:\r\n\r\n````\r\nSergeant-Pepper-Senior-2:~ user$ sudo zpool add ZFSPower cache media-AEF99EC2-B9CE-4D56-8800-39836E8CB350\r\nSergeant-Pepper-Senior-2:~ user$ zpool status\r\n  pool: ZFSPower\r\n state: ONLINE\r\n  scan: scrub repaired 0 in 1h45m with 0 errors on Thu Apr 30 23:16:58 2015\r\nconfig:\r\n\r\n\tNAME                                          STATE     READ WRITE CKSUM\r\n\tZFSPower                                      ONLINE       0     0     0\r\n\t  disk4                                       ONLINE       0     0     0\r\n\tcache\r\n\t  media-AEF99EC2-B9CE-4D56-8800-39836E8CB350  ONLINE       0     0     0\r\n\r\nerrors: No known data errors\r\n````"}}