#2165 Issue closed
: SLES15: rear recover fails due to missing chattr¶
Labels: support / question
, fixed / solved / done
abbbi opened issue at 2019-06-27 14:39:¶
Hi,
while trying rear 2.5 on SLES15 i fail to recover the system due to missing chattr in the recovery iso:
+++ mkfs -t btrfs -U e74b1c2a-4f50-4dc2-9a73-20bb37dea702 -f /dev/sda2
WARNING: failed to open /dev/btrfs-control, skipping device registration: No such file or directory
btrfs-progs v4.15
See http://btrfs.wiki.kernel.org for more information.
Performing full device TRIM /dev/sda2 (18.60GiB) ...
Label: (null)
UUID: e74b1c2a-4f50-4dc2-9a73-20bb37dea702
Node size: 16384
Sector size: 4096
Filesystem size: 18.60GiB
Block group profiles:
Data: single 8.00MiB
Metadata: DUP 1.00GiB
System: DUP 8.00MiB
SSD detected: no
Incompat features: extref, skinny-metadata
Number of devices: 1
Devices:
ID SIZE PATH
1 18.60GiB /dev/sda2
+++ LogPrint 'Mounting filesystem /'
+++ Log 'Mounting filesystem /'
+++ echo '2019-06-27 16:36:17.574861836 Mounting filesystem /'
2019-06-27 16:36:17.574861836 Mounting filesystem /
+++ Print 'Mounting filesystem /'
+++ mkdir -p /mnt/local/
+++ mount -t btrfs -o rw,relatime,space_cache /dev/sda2 /mnt/local/
+++ btrfs subvolume create /mnt/local//@
Create subvolume '/mnt/local/@'
+++ test -d /mnt/local//@
+++ btrfs subvolume create /mnt/local//@/var
Create subvolume '/mnt/local//@/var'
+++ chattr +C /mnt/local//@/var
/var/lib/rear/layout/diskrestore.sh: line 161: chattr: command not found
2019-06-27 16:36:18.211308881 UserInput: called in /usr/share/rear/layout/recreate/default/200_run_layout_code.sh line 127
2019-06-27 16:36:18.214873192 UserInput: Default input in choices - using choice number 1 as default input
2019-06-27 16:36:18.216434170 The disk layout recreation script failed
2019-06-27 16:36:18.218694732 1) Rerun disk recreation script (/var/lib/rear/layout/diskrestore.sh)
2019-06-27 16:36:18.221574259 2) View 'rear recover' log file (/var/log/rear/rear-sles15.log)
2019-06-27 16:36:18.224507135 3) Edit disk recreation script (/var/lib/rear/layout/diskrestore.sh)
2019-06-27 16:36:18.227625714 4) View original disk space usage (/var/lib/rear/layout/config/df.txt)
2019-06-27 16:36:18.230540532 5) Use Relax-and-Recover shell and return back to here
2019-06-27 16:36:18.233112799 6) Abort 'rear recover'
2019-06-27 16:36:18.235169920 (default '1' timeout 300 seconds)
2019-06-27 16:36:23.159355766 UserInput: 'read' got as user input '2'
abbbi commented at 2019-06-27 14:44:¶
sorry, i missed the part that btrfs still need special config on sles.
[Export of Github issue for rear/rear.]