Re: Backing up Btrfs (was: btrfs or ext4)

2021-01-09 Thread Patrick O'Callaghan
On Sat, 2021-01-02 at 20:02 -0700, Chris Murphy wrote: > On Sat, Jan 2, 2021 at 6:27 AM Patrick O'Callaghan > wrote: > > > > Brief recap: I'm currently using BorgBackup, which among other things > > does compression and deduplication. I'm looking at the pros and cons of > > changing to Btrfs for

Re: Backing up Btrfs (was: btrfs or ext4)

2021-01-02 Thread Chris Murphy
On Sat, Jan 2, 2021 at 6:27 AM Patrick O'Callaghan wrote: > > Brief recap: I'm currently using BorgBackup, which among other things > does compression and deduplication. I'm looking at the pros and cons of > changing to Btrfs for backup (I already use it as my main fs). The > backup drives are cur

Backing up Btrfs (was: btrfs or ext4)

2021-01-02 Thread Patrick O'Callaghan
Brief recap: I'm currently using BorgBackup, which among other things does compression and deduplication. I'm looking at the pros and cons of changing to Btrfs for backup (I already use it as my main fs). The backup drives are currently ext4 so would need to be converted. Now read on. Following C

Re: btrfs or ext4

2021-01-02 Thread Patrick O'Callaghan
On Fri, 2021-01-01 at 17:09 -0700, Chris Murphy wrote: > > However it seems that Btrfs can do both these things, so > > is there a case to be made for just setting it up that way, and > > using > > send and receive for the actual copying instead of Borg? It would > > have > > the advantage of makin

Re: btrfs or ext4

2021-01-01 Thread Chris Murphy
On Fri, Jan 1, 2021 at 6:47 AM Patrick O'Callaghan wrote: > > My current backup tool is BorgBackup, which does compression and > deduplication but took some effort to set up correctly, though it's > working now. Borg is awesome.[1] Any backup you use is better than none. So I'm not going to sugg

Re: btrfs or ext4

2021-01-01 Thread Chris Murphy
On Thu, Dec 31, 2020 at 1:58 PM Chris Murphy wrote: > > And the other one: > > btrfs device add /dev/sdXY /mnt/btrfs > btrfs balance start -dconvert=raid1 -mconvert=raid1 /mnt/btrfs It's not obvious that 'btrfs dev add' implies a few things: - mkfs. It will write Btrfs super blocks on this devi

Re: btrfs or ext4

2021-01-01 Thread Patrick O'Callaghan
On Thu, 2020-12-31 at 13:58 -0700, Chris Murphy wrote: > On Thu, Dec 31, 2020 at 12:18 PM Samuel Sieb wrote: > > > > On 12/31/20 4:03 AM, Patrick O'Callaghan wrote: > > > On Wed, 2020-12-30 at 20:16 -0700, Chris Murphy wrote: > > > > Btrfs in a raid1 configuration is significantly different than

Re: btrfs or ext4

2020-12-31 Thread Samuel Sieb
On 12/31/20 12:58 PM, Chris Murphy wrote: Yeah I'm pretty conservative when it comes to breaking a raid apart because it is introducing risk by reducing redundancy. I'd say it's better to get a 3rd drive. But, wie du willst. He did say it was only being used for backup. Otherwise I would have

Re: btrfs or ext4

2020-12-31 Thread Patrick O'Callaghan
On Thu, 2020-12-31 at 11:17 -0800, Samuel Sieb wrote: > On 12/31/20 4:03 AM, Patrick O'Callaghan wrote: > > On Wed, 2020-12-30 at 20:16 -0700, Chris Murphy wrote: > > > Btrfs in a raid1 configuration is significantly different than either > > > mdadm raid or single disk Btrfs. It will self-heal, un

Re: btrfs or ext4

2020-12-31 Thread Chris Murphy
On Thu, Dec 31, 2020 at 12:18 PM Samuel Sieb wrote: > > On 12/31/20 4:03 AM, Patrick O'Callaghan wrote: > > On Wed, 2020-12-30 at 20:16 -0700, Chris Murphy wrote: > >> Btrfs in a raid1 configuration is significantly different than either > >> mdadm raid or single disk Btrfs. It will self-heal, una

Re: btrfs or ext4

2020-12-31 Thread Samuel Sieb
On 12/31/20 4:03 AM, Patrick O'Callaghan wrote: On Wed, 2020-12-30 at 20:16 -0700, Chris Murphy wrote: Btrfs in a raid1 configuration is significantly different than either mdadm raid or single disk Btrfs. It will self-heal, unambiguously, both metadata and data. I currently have mdm RAID1 on

Re: btrfs or ext4

2020-12-31 Thread Patrick O'Callaghan
On Wed, 2020-12-30 at 20:16 -0700, Chris Murphy wrote: > Btrfs in a raid1 configuration is significantly different than either > mdadm raid or single disk Btrfs. It will self-heal, unambiguously, > both metadata and data. I currently have mdm RAID1 on two external drives that are used only for bac

Re: btrfs or ext4

2020-12-30 Thread Chris Murphy
On Mon, Dec 28, 2020 at 2:33 AM François Patte wrote: > > Bonjour, > > I try to build a home nas to make a dlna server for audio, video and > pictures. > > I have 2 disks for the data which I want to be mounted in raid1 (software). > > I formated the two disks using btrfs > (mkfs.btrfs -m raid1 -d

Re: btrfs or ext4

2020-12-28 Thread Samuel Sieb
On 12/28/20 1:32 AM, François Patte wrote: I try to build a home nas to make a dlna server for audio, video and pictures. I have 2 disks for the data which I want to be mounted in raid1 (software). I formated the two disks using btrfs (mkfs.btrfs -m raid1 -d raid1 /dev/sda /dev/sdb) It works

Re: btrfs or ext4

2020-12-28 Thread Patrick O'Callaghan
On Mon, 2020-12-28 at 10:32 +0100, François Patte wrote: > Bonjour, > > I try to build a home nas to make a dlna server for audio, video and > pictures. > > I have 2 disks for the data which I want to be mounted in raid1 (software). > > I formated the two disks using btrfs > (mkfs.btrfs -m raid

btrfs or ext4

2020-12-28 Thread François Patte
Bonjour, I try to build a home nas to make a dlna server for audio, video and pictures. I have 2 disks for the data which I want to be mounted in raid1 (software). I formated the two disks using btrfs (mkfs.btrfs -m raid1 -d raid1 /dev/sda /dev/sdb) It works but, up to now, I can't see the a