Re: BTRFS and power loss ~= corruption?

2011-11-09 Thread Stefan Behrens
On 8/26/2011 1:01 AM, Gregory Maxwell wrote: On Wed, Aug 24, 2011 at 9:11 AM, Berend Dekens bt...@cyberwizzard.nl wrote: [snip] I thought the idea of COW was that whatever happens, you can always mount in a semi-consistent state? [snip] It seems to me that if someone created a block

Re: BTRFS and power loss ~= corruption?

2011-11-09 Thread Martin Steigerwald
Hi Maciej, Am Freitag, 26. August 2011 schrieb Maciej Marcin Piechotka: On Thu, 2011-08-25 at 19:55 +0200, Martin Steigerwald wrote: That said I also do not have any issues with BTRFS on a ThinkPad T23 for / and /home. But then the machine has an hibernate-to-disk-and-resume uptime of

Re: BTRFS and power loss ~= corruption?

2011-08-26 Thread Arne Jansen
On 26.08.2011 01:01, Gregory Maxwell wrote: On Wed, Aug 24, 2011 at 9:11 AM, Berend Dekens bt...@cyberwizzard.nl wrote: [snip] I thought the idea of COW was that whatever happens, you can always mount in a semi-consistent state? [snip] It seems to me that if someone created a block

Re: BTRFS and power loss ~= corruption?

2011-08-26 Thread Mike Fleetwood
On 26 August 2011 07:37, Arne Jansen sensi...@gmx.net wrote: On 26.08.2011 01:01, Gregory Maxwell wrote: On Wed, Aug 24, 2011 at 9:11 AM, Berend Dekens bt...@cyberwizzard.nl wrote: It seems to me that if someone created a block device which recorded all write operations a rather excellent

Re: BTRFS and power loss ~= corruption?

2011-08-26 Thread Arne Jansen
On 26.08.2011 09:48, Mike Fleetwood wrote: On 26.08.2011 01:01, Gregory Maxwell wrote: This article describes evaluating ext3, reiserfs and jfs using fault injection using a custom Linux block device driver. Model-Based Failure Analysis of Journaling File Systems

Re: BTRFS and power loss ~= corruption?

2011-08-25 Thread Martin Steigerwald
Am Donnerstag, 25. August 2011 schrieb Anand Jain: anyways, solutions containing disk-write-cache disabled and SSD is quite popular now a days. And in terms of random synchronous write performance they are awesome. There are SSD with capacitors such as Intel SSD 320. These according to

Re: BTRFS and power loss ~= corruption?

2011-08-25 Thread Maciej Marcin Piechotka
On Thu, 2011-08-25 at 19:55 +0200, Martin Steigerwald wrote: That said I also do not have any issues with BTRFS on a ThinkPad T23 for / and /home. But then the machine has an hibernate-to-disk-and-resume uptime of almost 120 days, so it didnĀ“t see a power loss for a long time. Thats

Re: BTRFS and power loss ~= corruption?

2011-08-25 Thread Gregory Maxwell
On Wed, Aug 24, 2011 at 9:11 AM, Berend Dekens bt...@cyberwizzard.nl wrote: [snip] I thought the idea of COW was that whatever happens, you can always mount in a semi-consistent state? [snip] It seems to me that if someone created a block device which recorded all write operations a rather

BTRFS and power loss ~= corruption?

2011-08-24 Thread Berend Dekens
Hi, I have followed the progress made in the btrfs filesystem over time and while I have experimented with it a little in a VM, I have not yet used it in a production machine. While the lack of a complete fsck was a major issue (I read the update that the first working version is about to

Re: BTRFS and power loss ~= corruption?

2011-08-24 Thread Arne Jansen
On 24.08.2011 15:11, Berend Dekens wrote: Hi, I have followed the progress made in the btrfs filesystem over time and while I have experimented with it a little in a VM, I have not yet used it in a production machine. While the lack of a complete fsck was a major issue (I read the

Re: BTRFS and power loss ~= corruption?

2011-08-24 Thread Berend Dekens
On 24/08/11 15:31, Arne Jansen wrote: On 24.08.2011 15:11, Berend Dekens wrote: Hi, I have followed the progress made in the btrfs filesystem over time and while I have experimented with it a little in a VM, I have not yet used it in a production machine. While the lack of a complete fsck

Re: *** GMX Spamverdacht *** Re: BTRFS and power loss ~= corruption?

2011-08-24 Thread Arne Jansen
On 24.08.2011 17:01, Berend Dekens wrote: On 24/08/11 15:31, Arne Jansen wrote: On 24.08.2011 15:11, Berend Dekens wrote: Hi, I have followed the progress made in the btrfs filesystem over time and while I have experimented with it a little in a VM, I have not yet used it in a production

Re: BTRFS and power loss ~= corruption?

2011-08-24 Thread Berend Dekens
On 24/08/11 17:04, Arne Jansen wrote: On 24.08.2011 17:01, Berend Dekens wrote: On 24/08/11 15:31, Arne Jansen wrote: On 24.08.2011 15:11, Berend Dekens wrote: Hi, I have followed the progress made in the btrfs filesystem over time and while I have experimented with it a little in a VM, I

Re: BTRFS and power loss ~= corruption?

2011-08-24 Thread Mitch Harder
On Wed, Aug 24, 2011 at 10:13 AM, Berend Dekens bt...@cyberwizzard.nl wrote: On 24/08/11 17:04, Arne Jansen wrote: On 24.08.2011 17:01, Berend Dekens wrote: On 24/08/11 15:31, Arne Jansen wrote: On 24.08.2011 15:11, Berend Dekens wrote: Hi, I have followed the progress made in the btrfs

Re: BTRFS and power loss ~= corruption?

2011-08-24 Thread Ahmed Kamal
AFAIK, ZFS compats lying disks by rolling back to the latest mountable uber block (i.e. the latest tree that was completely and successfully written to disk), does btrfs do something similar today ? On Wed, Aug 24, 2011 at 7:06 PM, Mitch Harder mitch.har...@sabayonlinux.org wrote: On Wed, Aug

Re: BTRFS and power loss ~= corruption?

2011-08-24 Thread Anand Jain
We have a bit of documentation on the disk power failure and corruption here: https://btrfs.wiki.kernel.org/index.php/FAQ Ref to the 2nd faq in the list. Things would have been a lot easier for the filesystem (in terms of maintaining the its consistency) if disks could have some kind of