Boot On BTRFS With Debian
This tutorial will explain you how to boot from a BTRFS filesystem
with kernel 2.6.31-RC4 and BTRFS 0.19. BTRFS is a new filesystem with
some really interesting features like online defragmenting and
snapshots. BTRFS is an experimental filesystem, use at your own risk.
The kernel used is also experimental.
I have decided to give btrfs raid capabilities a try. I set up a btrfs with
sudo mkfs.btrfs -m raid10 -d raid10 /dev/sda9 /dev/sdb9 /dev/sdc9 /dev/sdd9
Now I want to clone my existing btrfs partition, (which sits on top of linux-raid).
A Beginner's Guide To btrfs
This guide shows how to work with the btrfs file system on Linux. It
covers creating and mounting btrfs file systems, resizing btrfs file
systems online, adding and removing devices, changing RAID levels,
creating subvolumes and snapshots, using compression and other things.
I've trawled mailing lists and finally finished up on Ubuntu's btrfs page, and am left feeling that btrfs still does not have a full fixing utility (as indicated on their home page). Even though months ago it was slated for being the default for Oracle's linux and is included in many distros.
So, in lieu of that, is there a troubleshooting guide somewhere about how to fix btrfs?
Alejandro Nova wrote:Rule of thumb: if there is no fsck for a given filesystem, then that filesystem is useless. btrfs won't be useful until there is a btrfsck.actually, a fscheck is available: btrfs scrub
Thanks to its use of Anaconda, the Fedora installer, Sabayon 5.3, the latest release of the Gentoo-based distribution, is one of the first Linux distributions with support for the btrfs file system. Btrfs is one of the newest filesystems in the Linux kernel. It is similar to Oracle’s ZFS, but lacks ZFS’ more advanced features. [...]
Code:
$ cat /etc/redhat-release
Fedora release 17 (Beefy Miracle)
$ uname -r
3.6.8-2.fc17.x86_64
$ btrfs version
Btrfs Btrfs v0.19
$ rpm -q lvm2
lvm2-2.02.95-6.fc17.x86_64
One device, an LVM2 LV.
I have a btrfs partition. When I run df -h, it shows:
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 113G 101G 8.3G 93% /home
From
Why is that? Is it because reserved space for root as wth ext2/3/4? Or is it something else?
Those who follow Linux have certainly heard of Btrfs, a relatively new high performance file system that has a lot of people excited about its potential. Two months ago during LinuxCon Japan, we were pleased to sit down with lead developer Chris Mason from Oracle to record a short webinar that focuses on demonstrating RAID5 and RAID6 as well as recently completed features in Btrfs.