Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
BTRFS DUP profile...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1396
Location: Fayetteville, NC, USA

PostPosted: Thu Sep 14, 2017 12:51 am    Post subject: BTRFS DUP profile... Reply with quote

Since I am reinstalling Gentoo onto my laptop I am debating using the DUP profile on my Linux partition. I can either get two copies of the metadata, two copies of actual data, or two copies of both. This cuts the size of the disk in half, but protects against data loss. It also allows BTRFS to keep data like in RAID1 if a single sector fails on the disk since there is a second copy of the data. I am assuming that if I only use DUP for metadata and SINGLE for data and a sector with actual data dies, I have still lost my data. Is this correct?
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5962

PostPosted: Thu Sep 14, 2017 7:31 am    Post subject: Reply with quote

Yes, but as long as you have backups and run scrub regularly it should be fine. DUP metadata + single data is best for when you can afford small losses like that but not total filesystem failure.

(Would be nice if there was some sort of ECC profile, wouldn't it?)
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1396
Location: Fayetteville, NC, USA

PostPosted: Thu Sep 14, 2017 2:14 pm    Post subject: Reply with quote

It's OK, I run DUP for data and metadata when creating the filesystem, so I should be good. The Linux partition on this setup is 411GiB, so I get to use about 205.5GiB for the OS and /home, so I should be good. Half the drive is ext4 for virtual machines. It's a 1TB drive.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum