Difference between revisions of "Talk:Btrfs"

From ArchWiki
Jump to: navigation, search
(RAID-1 or RAID-5?: see btrfs wiki)
("Displaying used/free space" needs rewrite: rm closed discussion)
 
(99 intermediate revisions by 23 users not shown)
Line 1: Line 1:
== Comment about stability ==
+
{{Note|The name of the file system does not seem to have an official capitalization, so the rule for the ArchWiki has been arbitrarily set to use "Btrfs" (capital "B" and the rest lower-case); "btrfs" and "BTRFS" are therefore wrong spellings in this wiki. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 09:36, 6 January 2014 (UTC)}}
Btrfs is still under heavy development; it might be useful if someone familiar with btrfs were to add a section commenting on its overall stability. [[User:Vikingurinn|Vikingurinn]] ([[User talk:Vikingurinn|talk]]) 16:52, 17 December 2012 (UTC)
 
 
 
== RAID-1 or RAID-5? ==
 
 
 
"''3 1TB disks in an md based raid1 yields a /dev/md0 with 1TB free space and the ability to safely loose 2 disks without losing data. '''3 1TB disks in a btrfs volume with data=raid1 will allow the storage of approximately 1.5TB of data before reporting full. Only 1 disk can safely be lost without losing data'''.''"
 
 
 
That sounds more like some kind of weird, inefficient RAID-5 arrangement than RAID-1. I don't know btrfs enough to say it's wrong, but I know RAID-1 enough to question it?
 
 
 
[[User:Fukawi2|Fukawi2]] ([[User talk:Fukawi2|talk]]) 23:52, 29 April 2013 (UTC)
 
:See [https://btrfs.wiki.kernel.org/index.php/FAQ#What_are_the_differences_among_MD-RAID_.2F_device_mapper_.2F_btrfs_raid.3F btrfs wiki]:
 
:''btrfs combines all the drives into a storage pool first, and then duplicates the chunks as file data is created. RAID-1 is defined currently as "2 copies of all the data on different disks". This differs from MD-RAID and dmraid, in that those make exactly n copies for n disks. In a btrfs RAID-1 on 3 1TB drives we get 1.5TB of usable data. Because each block is only copied to 2 drives, writing a given block only requires exactly 2 drives spin up, reading requires only 1 drive to spinup.''
 
: -- [[User:Karol|Karol]] ([[User talk:Karol|talk]]) 15:59, 17 June 2013 (UTC)
 
 
 
== btrfs with fsck hook and fstab pass ==
 
 
 
Apparently one does not need to have a btrfs partition fscked on boot, so there should be a '0' for 'pass' in the fstab for any btrfs partion.
 
I had relatively slow boot ups with a pass of '1' (btrfs was root)
 
 
 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/791020/comments/27
 
 
 
the genfstab script puts a '1' in for 'pass' by default
 

Latest revision as of 22:40, 4 April 2018

Note: The name of the file system does not seem to have an official capitalization, so the rule for the ArchWiki has been arbitrarily set to use "Btrfs" (capital "B" and the rest lower-case); "btrfs" and "BTRFS" are therefore wrong spellings in this wiki. -- Kynikos (talk) 09:36, 6 January 2014 (UTC)