{"action":"created","issue":{"url":"https://api.github.com/repos/gdha/rear-automated-testing/issues/55","repository_url":"https://api.github.com/repos/gdha/rear-automated-testing","labels_url":"https://api.github.com/repos/gdha/rear-automated-testing/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/gdha/rear-automated-testing/issues/55/comments","events_url":"https://api.github.com/repos/gdha/rear-automated-testing/issues/55/events","html_url":"https://github.com/gdha/rear-automated-testing/issues/55","id":306951068,"number":55,"title":"OpenSuse Leap 42.3 - recover fails ","user":{"login":"gdha","id":888633,"avatar_url":"https://avatars2.githubusercontent.com/u/888633?v=4","gravatar_id":"","url":"https://api.github.com/users/gdha","html_url":"https://github.com/gdha","followers_url":"https://api.github.com/users/gdha/followers","following_url":"https://api.github.com/users/gdha/following{/other_user}","gists_url":"https://api.github.com/users/gdha/gists{/gist_id}","starred_url":"https://api.github.com/users/gdha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdha/subscriptions","organizations_url":"https://api.github.com/users/gdha/orgs","repos_url":"https://api.github.com/users/gdha/repos","events_url":"https://api.github.com/users/gdha/events{/privacy}","received_events_url":"https://api.github.com/users/gdha/received_events","type":"User","site_admin":false},"labels":[{"id":521844951,"url":"https://api.github.com/repos/gdha/rear-automated-testing/labels/RFValidation","name":"RFValidation","color":"f9d0c4","default":false},{"id":476998836,"url":"https://api.github.com/repos/gdha/rear-automated-testing/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-20T16:51:18Z","updated_at":"2018-03-21T08:34:42Z","closed_at":null,"author_association":"OWNER","body":"### Relax-and-Recover 2.3-git.0.4e40a7b.unknown.changed / 2018-01-24\r\n### Error: btrfs snapshot restore fails for some reason\r\n### Logs are available at:\r\n**https://gist.github.com/5b5b849279b22919507ee0f0aedff219**\r\n````\r\n+++ mkdir -p /mnt/local/.snapshots\r\n+++ mount -t btrfs -o rw,relatime,space_cache -o subvol=@/.snapshots /dev/sda2 /mnt/local/.snapshots\r\nmount: wrong fs type, bad option, bad superblock on /dev/sda2,\r\n       missing codepage or helper program, or other error\r\n````\r\n\r\n@jsmeix as you are most familiar with SUSE (for obvious reasons) and fairly knowledge with btrfs file systems could you do me a favour and look at the logs which I provided in above link? I do not understand what went wrong. If you need more info please drop me a note.\r\n\r\nDoes `/usr/lib/snapper/installation-helper not executable may indicate an error with btrfs default subvolume setup for @/.snapshots/1/snapshot on /dev/sda2` ring any bell with you?\r\n\r\nThanks Gratien"},"comment":{"url":"https://api.github.com/repos/gdha/rear-automated-testing/issues/comments/374864747","html_url":"https://github.com/gdha/rear-automated-testing/issues/55#issuecomment-374864747","issue_url":"https://api.github.com/repos/gdha/rear-automated-testing/issues/55","id":374864747,"user":{"login":"jsmeix","id":1788608,"avatar_url":"https://avatars0.githubusercontent.com/u/1788608?v=4","gravatar_id":"","url":"https://api.github.com/users/jsmeix","html_url":"https://github.com/jsmeix","followers_url":"https://api.github.com/users/jsmeix/followers","following_url":"https://api.github.com/users/jsmeix/following{/other_user}","gists_url":"https://api.github.com/users/jsmeix/gists{/gist_id}","starred_url":"https://api.github.com/users/jsmeix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsmeix/subscriptions","organizations_url":"https://api.github.com/users/jsmeix/orgs","repos_url":"https://api.github.com/users/jsmeix/repos","events_url":"https://api.github.com/users/jsmeix/events{/privacy}","received_events_url":"https://api.github.com/users/jsmeix/received_events","type":"User","site_admin":false},"created_at":"2018-03-21T08:34:42Z","updated_at":"2018-03-21T08:34:42Z","author_association":"NONE","body":"On a fist glance (without reproducing anything) the local.conf in\r\nhttps://gist.githubusercontent.com/gdha/5b5b849279b22919507ee0f0aedff219/raw/a0f78258d89b56d2dc4fa60a220f8b31f782a948/local.conf\r\nis insufficient to recover a (open)SUSE btrfs default structure.\r\n\r\nTo recover a (open)SUSE btrfs default structure one must use\r\none of the usr/share/rear/conf/examples/SLE12*-btrfs-example.conf\r\nas template - the one that matches the btrfs default structure, cf.\r\nhttps://github.com/rear/rear/issues/1368#issuecomment-302410707\r\n\r\nIn\r\nhttps://gist.githubusercontent.com/gdha/5b5b849279b22919507ee0f0aedff219/raw/a0f78258d89b56d2dc4fa60a220f8b31f782a948/rear-client-recover.log\r\nthere is also about 10 lines before the mount error this message:\r\n<pre>\r\n2018-03-20 16:17:05.286694671 /usr/lib/snapper/installation-helper not executable may indicate an error with btrfs default subvolume setup for @/.snapshots/1/snapshot on /dev/sda2\r\n</pre>\r\n\r\nRegarding the SUSE-specific special /usr/lib/snapper/installation-helper see\r\nhttps://raw.githubusercontent.com/rear/rear/master/usr/share/rear/conf/examples/SLE12-SP1-btrfs-example.conf\r\nand\r\nhttps://raw.githubusercontent.com/rear/rear/master/usr/share/rear/conf/examples/SLE12-SP2-btrfs-example.conf\r\n\r\nAs time permits I will reproduce a recovery on openSUSE Leap 42.3\r\nto find out what the right local.conf is for that kind of btrfs structure.\r\n"}}
{"actor":{"display_login":"jsmeix"}}