Size: 310
Comment: Initial TOC dump. To be revised later.
|
Size: 2755
Comment: update patch link. Still not really working.
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
Basic description of btrfs. Strengths, weaknesses, why is this important, etc. == Features: == * Extent based file storage (2^64 max file size) * Space efficient packing of small files * Space efficient indexed directories * Dynamic inode allocation * Writable snapshots * Subvolumes (separate internal filesystem roots) * Object level mirroring and striping * Checksums on data and metadata (multiple algorithms available) * Compression * Integrated multiple device support, with several raid algorithms * Online filesystem check * Very fast offline filesystem check * Efficient incremental backup and FS mirroring * Online filesystem defragmentation |
|
Line 7: | Line 25: |
'''NOT ACTUALLY WORKING YET''' [[http://btrfs.wiki.kernel.org/index.php/Getting_started | btrfs wiki getting started page]] === Kernel Module Dependencies === 8.10 Kernel 2.6.27-9-generic * CONFIG_LIBCRC32C=m * CONFIG_ZLIB_INFLATE=y * CONFIG_ZLIB_DEFLATE=m * build-essential: make, compiler, etc * linux-headers-2.6.27-9-generic: latest kernel headers {{{ sudo apt-get install build-essential linux-headers-2.6.27-9-generic }}} Patch: [[http://permalink.gmane.org/gmane.comp.file-systems.btrfs/2562]] Download, patch and compile code: {{{ wget http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/btrfs-0.17.tar.bz2 tar -jxvf btrfs-0.17.tar.bz2 cd btrfs-0.17 #apply patch make }}} '''Currently btrfs does not work with kernel 2.6.27''' Ensure modules are up and running, and insert btrfs module into kernel. {{{ sudo modprobe libcrc32c zlib_inflate zlib_deflate sudo insmod btrfs.ko }}} === btrfs progs dependencies === {{{ sudo apt-get install e2fsprogs uuid-dev }}} {{{ wget http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/btrfs-progs-0.17.tar.bz2 tar -jxvf btrfs-progs-0.17.tar.bz2 make }}} '''btrfs-progs compile fine''' |
|
Line 10: | Line 80: |
* How to format disk as btrfs * How to grow/shrink file system * How to create snapshots * How to access snapshots * How to convert ext2/3(/4?) partitions to btrfs * How to create an image of a btrfs file system * How to restore from an image of a btrfs file system * How to recover from a failed device * How to add another device to file system |
|
Line 11: | Line 90: |
= Trouble shooting = | [[http://btrfs.wiki.kernel.org/index.php/Category:Documentation|btrfs wiki documentation category]] |
Line 13: | Line 92: |
= Troubleshooting = | |
Line 14: | Line 94: |
= Alternatives = * Tux3? * ZFS over Fuse? |
|
Line 15: | Line 98: |
[http://btrfs.wiki.kernel.org/ btrfs home page] [http://en.wikipedia.org/wiki/Btrfs btrfs wikipedia page] |
= Links = * [[http://btrfs.wiki.kernel.org/|btrfs home page]] * [[http://en.wikipedia.org/wiki/Btrfs|btrfs wikipedia page]] |
Placeholder page for btrfs info and usage instructions.
What is btrfs
Basic description of btrfs. Strengths, weaknesses, why is this important, etc.
Features:
- Extent based file storage (2^64 max file size)
- Space efficient packing of small files
- Space efficient indexed directories
- Dynamic inode allocation
- Writable snapshots
- Subvolumes (separate internal filesystem roots)
- Object level mirroring and striping
- Checksums on data and metadata (multiple algorithms available)
- Compression
- Integrated multiple device support, with several raid algorithms
- Online filesystem check
- Very fast offline filesystem check
- Efficient incremental backup and FS mirroring
- Online filesystem defragmentation
How to install
Ubuntu 8.10 Intrepid
NOT ACTUALLY WORKING YET
btrfs wiki getting started page
Kernel Module Dependencies
8.10 Kernel 2.6.27-9-generic
- CONFIG_LIBCRC32C=m
- CONFIG_ZLIB_INFLATE=y
- CONFIG_ZLIB_DEFLATE=m
- build-essential: make, compiler, etc
- linux-headers-2.6.27-9-generic: latest kernel headers
sudo apt-get install build-essential linux-headers-2.6.27-9-generic
Patch: http://permalink.gmane.org/gmane.comp.file-systems.btrfs/2562
Download, patch and compile code:
wget http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/btrfs-0.17.tar.bz2 tar -jxvf btrfs-0.17.tar.bz2 cd btrfs-0.17 #apply patch make
Currently btrfs does not work with kernel 2.6.27
Ensure modules are up and running, and insert btrfs module into kernel.
sudo modprobe libcrc32c zlib_inflate zlib_deflate sudo insmod btrfs.ko
btrfs progs dependencies
sudo apt-get install e2fsprogs uuid-dev
wget http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/btrfs-progs-0.17.tar.bz2 tar -jxvf btrfs-progs-0.17.tar.bz2 make
btrfs-progs compile fine
Ubuntu 9.04 Jaunty
How to use
- How to format disk as btrfs
- How to grow/shrink file system
- How to create snapshots
- How to access snapshots
- How to convert ext2/3(/4?) partitions to btrfs
- How to create an image of a btrfs file system
- How to restore from an image of a btrfs file system
- How to recover from a failed device
- How to add another device to file system
btrfs wiki documentation category
Troubleshooting
Alternatives
- Tux3?
- ZFS over Fuse?