Per-entry or per-subvolume physical location settings

2019-06-23 Thread Dark Penguin
Greetings! When using btrfs with multiple devices in a "single" mode, is it possible to force some files and directories onto one drive and some to the other? Or at least specify "single" mode on a specific device for some directories and "DUP" for some others. The following scenario, if it is po

Recover a damaged btrfs backup image

2019-06-30 Thread Dark Penguin
Greetings! I have a 50-Gb backup of a btrfs subvolume made with 'btrfs send mysubvolume | pigz > mysubvolume.btrfs.gz'. Later it turned out that the archive is damaged - there are a few consecutive gzip errors after 1 Gb. The rest of the file can be recovered with gzip recovery tools. However, 'b

Unexpected raid1 behaviour

2017-12-16 Thread Dark Penguin
Could someone please point me towards some read about how btrfs handles multiple devices? Namely, kicking faulty devices and re-adding them. I've been using btrfs on single devices for a while, but now I want to start using it in raid1 mode. I booted into an Ubuntu 17.10 LiveCD and tried to see ho

Re: Unexpected raid1 behaviour

2018-01-12 Thread Dark Penguin
On 18/12/17 16:31, Austin S. Hemmelgarn wrote: > On 2017-12-16 14:50, Dark Penguin wrote: >> Could someone please point me towards some read about how btrfs handles >> multiple devices? Namely, kicking faulty devices and re-adding them. >> >> I've been using btr