{"action":"opened","issue":{"url":"https://api.github.com/repos/rear/rear/issues/1231","repository_url":"https://api.github.com/repos/rear/rear","labels_url":"https://api.github.com/repos/rear/rear/issues/1231/labels{/name}","comments_url":"https://api.github.com/repos/rear/rear/issues/1231/comments","events_url":"https://api.github.com/repos/rear/rear/issues/1231/events","html_url":"https://github.com/rear/rear/issues/1231","id":213057060,"number":1231,"title":"swap disk excluded from recovery","user":{"login":"gdha","id":888633,"avatar_url":"https://avatars1.githubusercontent.com/u/888633?v=3","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":2222609,"url":"https://api.github.com/repos/rear/rear/labels/discuss/RFC","name":"discuss/RFC","color":"ffdd00","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-09T14:42:26Z","updated_at":"2017-03-09T14:42:26Z","closed_at":null,"body":"* rear version (/usr/sbin/rear -V): 1.17.2 and higher\r\n* OS version (cat /etc/rear/os.conf or lsb_release -a): all\r\n* Brief description of the issue:\r\n\r\n````\r\n#-> grep swap /etc/fstab\r\n/dev/mapper/vg00-swap   swap                    swap    defaults        0 0\r\n/dev/mapper/swap-lvswap       swap    swap    defaults        0 0\r\n````\r\n\r\n````\r\n#-> cat /proc/swaps\r\nFilename                                Type            Size    Used    Priority\r\n/dev/dm-1                               partition       4194300 1444    -1\r\n/dev/dm-5                               partition       33553404        0       -2\r\n````\r\n\r\n````\r\n#-> grep swap /var/lib/rear/layout/disklayout.conf\r\n#lvmdev /dev/swap /dev/sdb N3Xb5L-Ueha-Q8Q6-JJbn-enEO-kOKO-mqkLnR 67108864\r\n#lvmgrp /dev/swap 1024 32767 33553408\r\n#lvmvol /dev/swap lvswap 32767 67106816\r\nlvmvol /dev/vg00 swap 1024 8388608\r\nswap /dev/mapper/vg00-swap uuid=109e1047-d5bb-4bd1-ad17-f013910321a7 label=\r\n#swap /dev/mapper/swap-lvswap uuid=65729f51-2de5-41ca-b03a-316de4365fcf label=\r\n````\r\nWe pin-pointed the issue in the script `layout/save/default/320_autoexclude.sh` and more specific in the area where disks are excluded which are **not** in use. Reason is the variable `AUTOEXCLUDE_DISKS=y` setting in the `conf/default.conf` file.\r\n\r\nThe question is  : should be add _swap_ devices automatically to the `used_disks` array in above mentioned script? Or, should be add a better explanation in the `default.conf` file about potential consequences of variable `AUTOEXCLUDE_DISKS` ?"}}
{"actor":{"display_login":"gdha"}}