Quote:
The advanced Butter/Better/B-tree Filesystem, Btrfs, is still labeled as experimental in the Btrfs Wiki and on Oracle's Btrfs page though the Oracle page looks outdated.
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).
My /home partition consists of an entire physical disk. It is formatted as btrfs. I want to snapshot it. I'm confused regarding subvolume naming, in particular.
I am aware that there are similar questions, but each similar question seems to be asking something different from what I'm asking (and they are older, which means probably outdated, given the rapid development of btrfs).
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.
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.
The SuSE Linux Enterprise Server 11 Service Pack 2 release notes state that SuSE offers "commercial support" for btrfs, while Ubuntu and Fedora appear to be holding back until a working fsck utility is available. Does SuSE have some special tools/people to support btrfs that other distros don't?
(N.B.
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.
After getting a little annoyed with no space left errors when deleting files
I started a btrfs balance process and 2-3 times this popped up:
[ 693.130413] ------------[ cut here ]------------
[ 693.130509] kernel BUG at /build/buildd/linux-3.5.0/fs/btrfs/relocation.c:2278!
[ 693.130645] invalid opcode: 0000 [#1] SMP
[ 693.130744] CPU 0
[ 693.130787] Modules linked in: sp5100_tco kvm_amd kvm
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