#164 Issue closed: Format workflow stops with error if device has a btrfs filesystem

Labels: bug

thumm opened issue at 2012-09-27 14:54:

Running

rear -v format /dev/sdb1

with a device that already has a btrfs filesystem rear stops with the following error message

Relax-and-Recover 1.14 / Git
Using log file: /home/thomas/src/rear_deb/var/log/rear/rear-precises.log
Setting filesystem label to REAR-000
ERROR: Could not label '/dev/sdb1' with REAR-000
Aborting due to an error, check /home/thomas/src/rear_deb/var/log/rear/rear-precises.log for details

Here is the log file.

dagwieers commented at 2012-09-28 06:45:

Looking at the format/label script, I don't see any btrfs support and we default to ext3. I would remove the btrfs support altogether.

@gdha Is that acceptable ? Or do you prefer to fix btrfs label support in this case ?

gdha commented at 2012-09-28 08:34:

Rear doesn't supprt btrfs file system format for USB-disks (for the moment). However, I would not remove btrfs support from rear altogether. It is still experimental, but it did work in my case...

dagwieers commented at 2012-09-28 19:53:

We're only considering the btrfs support in rear format here when I am talking about removing it.

So do you prefer to fix btrfs label support, or do we remove it as a supported filesystem ?

gdha commented at 2012-10-01 06:25:

remove btrfs for the moment for (USB) extrenal storage (sorry about closing and re-opening actions - was busy cleaning my mouse...)


[Export of Github issue for rear/rear.]