Btrfs

Btrfs
Developer(s)SUSE, Meta, Western Digital, Oracle Corporation, Fujitsu, Fusion-io, Intel, The Linux Foundation, Red Hat, and Strato AG[1]
Full nameB-tree file system
IntroducedMarch 23, 2009; 15 years ago (2009-03-23) with Linux kernel 2.6.29
Partition IDs
  • MBR: 0x83: Linux native filesystem
  • GPT: 0FC63DAF-8483-4772-8E79-3D69D8477DE4: Linux native filesystem[2]
Structures
Directory contentsB-tree
File allocationExtents
Bad blocksNone recorded
Limits
Max volume size16 EiB[3][a]
Max file size16 EiB[3][a]
Max no. of files264[b][4]
Max filename length255 ASCII characters (fewer for multibyte character encodings such as Unicode)
Allowed filename
characters
All except '/' and NUL ('\0')
Features
Dates recordedCreation (otime),[5] modification (mtime), attribute modification (ctime), and access (atime)
Date range64-bit signed int offset from 1970-01-01T00:00:00Z[6]
Date resolutionNanosecond
AttributesPOSIX and extended attributes
File system
permissions
Unix permissions, POSIX ACLs
Transparent
compression
Yes (zlib, LZO[7] and (since 4.14) ZSTD[8])
Transparent
encryption
Planned[9]
Data deduplicationYes[10]
Copy-on-writeYes
Other
Supported
operating systems
Linux, Windows,[11] ReactOS[12]
Websitedocs.kernel.org/filesystems/btrfs.html Edit this at Wikidata

Btrfs (pronounced as "better F S",[9] "butter F S",[13][14] "b-tree F S",[14] or B.T.R.F.S.) is a computer storage format that combines a file system based on the copy-on-write (COW) principle with a logical volume manager (distinct from Linux's LVM), developed together. It was created by Chris Mason in 2007[15] for use in Linux, and since November 2013, the file system's on-disk format has been declared stable in the Linux kernel.[16]

Btrfs is intended to address the lack of pooling, snapshots, checksums, and integral multi-device spanning in Linux file systems.[9] Mason, the principal Btrfs author, stated that its goal was "to let [Linux] scale for the storage that will be available. Scaling is not just about addressing the storage but also means being able to administer and to manage it with a clean interface that lets people see what's being used and makes it more reliable".[17]

  1. ^ "Contributors at BTRFS documentation". kernel.org. 15 June 2022. Retrieved 5 December 2022.
  2. ^ "GPT fdisk - ArchWiki".
  3. ^ a b Cite error: The named reference file-system-limits was invoked but never defined (see the help page).
  4. ^ Cite error: The named reference btrfs-wiki-1 was invoked but never defined (see the help page).
  5. ^ Corbet, Jonathan (26 July 2010). "File creation times". LWN.net. Retrieved 15 August 2015.
  6. ^ "On-disk Format - btrfs Wiki". btrfs.wiki.kernel.org.
  7. ^ "btrfs Wiki". kernel.org. Retrieved 19 April 2015.
  8. ^ "Linux_4.14 - Linux Kernel Newbies". kernelnewbies.org.
  9. ^ a b c Cite error: The named reference CM090622 was invoked but never defined (see the help page).
  10. ^ "Deduplication". kernel.org. Retrieved 19 April 2015.
  11. ^ "Windows Driver on GitHub.com". GitHub. Retrieved 10 January 2023.
  12. ^ "ReactOS 0.4.1 Released". reactos.org. Retrieved 11 August 2016.
  13. ^ "Oracle Linux 7 Q&A with Wim Coekaerts". Oracle. Event occurs at 1m 15s. Archived from the original on 18 August 2016. Retrieved 6 February 2016.
  14. ^ a b Henson, Valerie (31 January 2008). Chunkfs: Fast file system check and repair. Melbourne, Australia. Event occurs at 18m 49s. Retrieved 5 February 2008. It's called Butter FS or B-tree FS, but all the cool kids say Butter FS
  15. ^ Salter, Jim (24 September 2021). "Examining btrfs, Linux's perpetually half-finished filesystem". Ars Technica. Retrieved 11 June 2023. Chris Mason is the founding developer of btrfs, which he began working on in 2007 while working at Oracle. This leads many people to believe that btrfs is an Oracle project—it is not. The project belonged to Mason, not to his employer, and it remains a community project unencumbered by corporate ownership to this day.
  16. ^ "Linux kernel commit changing stability status in fs/btrfs/Kconfig". Retrieved 8 February 2019.
  17. ^ Kerner, Sean Michael (30 October 2008). "A Better File System for Linux?". InternetNews.com. Archived from the original on 8 April 2011. Retrieved 27 August 2020.


Cite error: There are <ref group=lower-alpha> tags or {{efn}} templates on this page, but the references will not show without a {{reflist|group=lower-alpha}} template or {{notelist}} template (see the help page).