Re: BTRFS partition won't mount

2011-08-05 Thread Yuri D';Elia
On Wed, 3 Aug 2011 16:46:01 -0400 Adam Newby wrote: > Hello all, > > I recently had a power failure and can no longer mount my /home directory. > The harddrive has two BTRFS partitions: sda7(/) and sda8(/home). The / > partition loads up just fine, but /home does not. I've tried btrfsck as sho

btrfs volume backup

2011-02-18 Thread Yuri D';Elia
Is there a way to backup/restore a btrfs volume without losing all the associated metadata? (something like xfsdump/restore?) brtfs-image looks somewhat what one would need, except that it clears the actual data (for debugging purposes I guess?). I guess it also doesn't work on a mounted filesy

Re: Building btrfs as a dkms module on Debian

2011-02-16 Thread Yuri D';Elia
, but in stock 2.6.37 only BLKDEV_SECURE has any effect. Just in case, I'm posting here the changes required to backport current btrfs to 2.6.37 (just a few minor changes). commit db77ab6c70a5c148ff4ab6d354603609c0eb73aa Author: Yuri D'Elia Date: Wed Feb 16 18:27:54 2011 +0100 B

Building btrfs as a dkms module on Debian

2011-02-15 Thread Yuri D';Elia
Hi everyone. I was trying to test a more recent version of btrfs on my current kernel (2.6.37) using dkms, without success. I followed these instructions: https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories - cloned the repo - symlinked to /usr/src/btrfs-git - patched version.sh:

Re: Question on subvolumes and mount options

2011-02-14 Thread Yuri D';Elia
On Sun, 13 Feb 2011 19:18:20 + Hugo Mills wrote: >Yes, it's the same piece of storage, just appearing at more than > one point in your overall filesystem. Similar to the way that bind > mounts work. I've noticed that I can also rename subvolumes as well using mv(1). Can I move/re-arrange

Re: Question on subvolumes and mount options

2011-02-13 Thread Yuri D';Elia
On Sun, 13 Feb 2011 17:30:59 +, Hugo Mills wrote: >> First: In the / filesystem I create a subvolume named /home. As soon as >> the subvolume is created, I can already see the entry point in /home >> without having to mount it separately. Is that expected? > >Yes. What happens if I mount t

Question on subvolumes and mount options

2011-02-13 Thread Yuri D';Elia
Hi everyone, I'm experimenting with btrfs but I have some question regarding subvolumes. First: In the / filesystem I create a subvolume named /home. As soon as the subvolume is created, I can already see the entry point in /home without having to mount it separately. Is that expected? Mounting t