Re: Snapshot rollback

2011-10-23 Thread Fajar A. Nugraha
On Mon, Oct 24, 2011 at 12:45 PM, dima wrote: > Phillip Susi cfl.rr.com> writes: > >> I created a snapshot of my root subvol, then used btrfs-subvolume >> set-default to make the snapshot the default subvol and rebooted.  This >> seems to have correctly gotten the system to boot from the snapshot

Re: Snapshot rollback

2011-10-23 Thread dima
Phillip Susi cfl.rr.com> writes: > I created a snapshot of my root subvol, then used btrfs-subvolume > set-default to make the snapshot the default subvol and rebooted. This > seems to have correctly gotten the system to boot from the snapshot > instead of the original subvol, but now /home ( @h

Re: system hangs after deleting bad file

2011-10-23 Thread dima
Hello, I had a similar problem. Some files (2-3) got corrupted in my /home subvolume for no apparent reason. Trying to access the files gives kernel oops. Sometimes it freezes the machine, sometimes I am back to my console without any problems. Then I switched to the latest 3.1rc and freezes were

Re: Snapshot rollback

2011-10-23 Thread Goffredo Baroncelli
On Sunday, 23 October, 2011 15:42:50 you wrote: > there no way to move or hard link subvolumes to somewhere other > than their original location? You can use the 'mv' command. [__active is the subvolume which I use as root] ghigo@venice:/tmp$ btrfs sub crea a Create subvolume './a' ghigo@venice

Snapshot rollback

2011-10-23 Thread Phillip Susi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I created a snapshot of my root subvol, then used btrfs-subvolume set-default to make the snapshot the default subvol and rebooted. This seems to have correctly gotten the system to boot from the snapshot instead of the original subvol, but now /home

Re: Subvolume level allocation policy

2011-10-23 Thread Hugo Mills
On Sun, Oct 23, 2011 at 02:50:50PM -0400, Phillip Susi wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Is it ( yet? ) possible to manipulate the allocation policy on a > subvolume level instead of the fs level? For example, to make / use > raid1, and /home use raid0? Or to have / al

Subvolume level allocation policy

2011-10-23 Thread Phillip Susi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is it ( yet? ) possible to manipulate the allocation policy on a subvolume level instead of the fs level? For example, to make / use raid1, and /home use raid0? Or to have / allocated from an ssd and /home allocated from the giant 2tb hd. -BEGIN

Re: Kernel BUG unable to handle kernel NULL pointer dereference

2011-10-23 Thread Leonidas Spyropoulos
On Sun, Oct 23, 2011 at 4:37 PM, Mitch Harder wrote: > On Sat, Oct 22, 2011 at 3:23 PM, Leonidas Spyropoulos > wrote: >> Hello, I got a kernel bug error, my guess from BTRFS. >> >> Here is the report, >> Oct 22 20:44:43 localhost kernel: [25554.947970] BUG: unable to handle >> kernel NULL pointer

Re: how stable are snapshots at the block level?

2011-10-23 Thread Mathijs Kwik
On Sun, Oct 23, 2011 at 6:05 PM, Chris Mason wrote: > On Sun, Oct 23, 2011 at 09:45:10AM +0200, Mathijs Kwik wrote: >> Hi all, >> >> I'm currently doing backups by doing a btrfs snapshot, then rsync the >> snapshot to my backup location. >> As I have a lot of small files and quite some changes bet

Re: how stable are snapshots at the block level?

2011-10-23 Thread Chris Mason
On Sun, Oct 23, 2011 at 09:45:10AM +0200, Mathijs Kwik wrote: > Hi all, > > I'm currently doing backups by doing a btrfs snapshot, then rsync the > snapshot to my backup location. > As I have a lot of small files and quite some changes between > snapshots, this process is taking more and more time

Re: Kernel BUG unable to handle kernel NULL pointer dereference

2011-10-23 Thread Mitch Harder
On Sat, Oct 22, 2011 at 3:23 PM, Leonidas Spyropoulos wrote: > Hello, I got a kernel bug error, my guess from BTRFS. > > Here is the report, > Oct 22 20:44:43 localhost kernel: [25554.947970] BUG: unable to handle > kernel NULL pointer dereference at 0030 > Oct 22 20:44:43 localhost ke

Re: how stable are snapshots at the block level?

2011-10-23 Thread Mathijs Kwik
On Sun, Oct 23, 2011 at 4:08 PM, Edward Ned Harvey wrote: >> From: linux-btrfs-ow...@vger.kernel.org [mailto:linux-btrfs- >> ow...@vger.kernel.org] On Behalf Of Mathijs Kwik >> >> I'm currently doing backups by doing a btrfs snapshot, then rsync the >> snapshot to my backup location. >> As I have

RE: how stable are snapshots at the block level?

2011-10-23 Thread Edward Ned Harvey
> From: linux-btrfs-ow...@vger.kernel.org [mailto:linux-btrfs- > ow...@vger.kernel.org] On Behalf Of Mathijs Kwik > > I'm currently doing backups by doing a btrfs snapshot, then rsync the > snapshot to my backup location. > As I have a lot of small files and quite some changes between > snapshots,

how stable are snapshots at the block level?

2011-10-23 Thread Mathijs Kwik
Hi all, I'm currently doing backups by doing a btrfs snapshot, then rsync the snapshot to my backup location. As I have a lot of small files and quite some changes between snapshots, this process is taking more and more time. I looked at "btrfs find-new", which is promissing, but I need something