Re: Snapshots in tmpfs

2012-03-05 Thread David Young
On Mon, Mar 05, 2012 at 06:14:04AM +, David Holland wrote: The problem with that scheme is that you rewrite everything to the flash over and over again anytime something changes, which is going to generate vastly more write cycles than just using a normal fs. This scheme doesn't write

Re: Snapshots in tmpfs

2012-03-05 Thread Thor Lancelot Simon
On Mon, Mar 05, 2012 at 01:12:43PM -0600, David Young wrote: On Mon, Mar 05, 2012 at 06:14:04AM +, David Holland wrote: The problem with that scheme is that you rewrite everything to the flash over and over again anytime something changes, which is going to generate vastly more write

Re: Snapshots in tmpfs

2012-03-04 Thread David Holland
On Wed, Feb 29, 2012 at 06:45:41PM -0600, David Young wrote: Oh, my mistake, since there was concern about filesystem type I thought you were talking about raw flash, but apparently CompactFlash is not raw flash, same as USB sticks aren't. In that case, just use wapbl.

Re: Snapshots in tmpfs

2012-02-29 Thread David Young
On Thu, Feb 23, 2012 at 08:04:01PM -0500, Thor Lancelot Simon wrote: On Fri, Feb 24, 2012 at 12:45:32AM +, David Holland wrote: On Thu, Feb 23, 2012 at 11:20:18PM +, David Holland wrote: Is CHFS really suitable for CompactFlash? Is LFS even usable? No I

Re: Snapshots in tmpfs

2012-02-28 Thread Manuel Bouyer
On Tue, Feb 28, 2012 at 08:12:03AM +0100, Adam Hamsik wrote: I can help with both zfs and ext3. If requirement for your thesis is to design and implement something new then implementing DRBD like network raid on top of device-mapper would be amazing. [1], [2] A DRDB-like functionality is

Re: Snapshots in tmpfs

2012-02-28 Thread Adam Hamsik
On Feb,Tuesday 28 2012, at 9:29 AM, Manuel Bouyer wrote: On Tue, Feb 28, 2012 at 08:12:03AM +0100, Adam Hamsik wrote: I can help with both zfs and ext3. If requirement for your thesis is to design and implement something new then implementing DRBD like network raid on top of device-mapper

Re: Snapshots in tmpfs

2012-02-28 Thread Manuel Wiesinger
I can help with both zfs and ext3. If requirement for your thesis is to design and implement something new then implementing DRBD like network raid on top of device-mapper would be amazing. [1], [2] It is not required to do something new (awkward, I know). But there is no reason, not to do so.

Re: Snapshots in tmpfs

2012-02-28 Thread Manuel Wiesinger
A DRDB-like functionality is something we need. It could even be a gsoc project ... I thought about that too. I decided that gsoc + the thesis is too much. I'm to busy to have to start in April, and it's impossible to stick to the given deadlines. Thank you anyway! Manuel

Re: Snapshots in tmpfs

2012-02-27 Thread Manuel Wiesinger
As it seems, implementing the snapshot feature does not really pay off. Other projects seem to be much more rewarding for me. An attractive alternative, is the ext3 journaling feature. It seems to be an appropriate amount of work, even more interesting and much more useful. Is there anybody

Re: Snapshots in tmpfs

2012-02-27 Thread Christos Zoulas
In article 4f4c09c6.3040...@bsdstammtisch.at, Manuel Wiesinger man...@bsdstammtisch.at wrote: As it seems, implementing the snapshot feature does not really pay off. Other projects seem to be much more rewarding for me. An attractive alternative, is the ext3 journaling feature. It seems to be

Re: Snapshots in tmpfs

2012-02-27 Thread Manuel Wiesinger
No, I don't think anyone is. Even better, how about getting zfs in a working state? Hrm... I don't have enough experience with zfs to feel confident with it. But I consider it.

Re: Snapshots in tmpfs

2012-02-24 Thread Jonathan Stone
I think you mean halves the write rate. --- On Thu, 2/23/12, Thor Lancelot Simon t...@panix.com wrote: From: Thor Lancelot Simon t...@panix.com Subject: Re: Snapshots in tmpfs To: David Holland dholland-t...@netbsd.org Cc: tech-kern@netbsd.org Date: Thursday, February 23, 2012, 5:04 PM On Fri

Re: Snapshots in tmpfs

2012-02-24 Thread David Laight
On Fri, Feb 24, 2012 at 12:45:32AM +, David Holland wrote: On Thu, Feb 23, 2012 at 11:20:18PM +, David Holland wrote: Is CHFS really suitable for CompactFlash? Is LFS even usable? No I thought the whole point of chfs was to be able to operate on raw flash devices

Re: Snapshots in tmpfs

2012-02-23 Thread David Young
On Thu, Feb 23, 2012 at 07:58:11AM +, David Holland wrote: On Wed, Feb 22, 2012 at 08:17:15AM -0600, David Young wrote: On Wed, Feb 22, 2012 at 01:42:45PM +0100, Manuel Wiesinger wrote: *) What is it good for? The only practical use I can imagine are backups on thin clients,

Re: Snapshots in tmpfs

2012-02-23 Thread Adam Hoka
On 2/23/2012 7:34 PM, David Young wrote: On Thu, Feb 23, 2012 at 07:58:11AM +, David Holland wrote: On Wed, Feb 22, 2012 at 08:17:15AM -0600, David Young wrote: On Wed, Feb 22, 2012 at 01:42:45PM +0100, Manuel Wiesinger wrote: *) What is it good for? The only practical use I can

Re: Snapshots in tmpfs

2012-02-23 Thread J. Hannken-Illjes
On Feb 22, 2012, at 1:52 PM, Martin Husemann wrote: Note that we already have file system snapshots for ffs file systems, see fss(4). They are used for backup purposes (atomically create a snapshot, while the file system is busy, then backup the now quiet snapshot) - among others. Right --

Re: Snapshots in tmpfs

2012-02-23 Thread David Holland
On Thu, Feb 23, 2012 at 08:07:50PM +0100, Adam Hoka wrote: Is CHFS really suitable for CompactFlash? Is LFS even usable? No I thought the whole point of chfs was to be able to operate on raw flash devices that don't have their own flash translation layer. and no. Do you have any

Re: Snapshots in tmpfs

2012-02-23 Thread David Holland
On Thu, Feb 23, 2012 at 11:20:18PM +, David Holland wrote: Is CHFS really suitable for CompactFlash? Is LFS even usable? No I thought the whole point of chfs was to be able to operate on raw flash devices that don't have their own flash translation layer. Oh, my mistake,

Re: Snapshots in tmpfs

2012-02-23 Thread Thor Lancelot Simon
On Fri, Feb 24, 2012 at 12:45:32AM +, David Holland wrote: On Thu, Feb 23, 2012 at 11:20:18PM +, David Holland wrote: Is CHFS really suitable for CompactFlash? Is LFS even usable? No I thought the whole point of chfs was to be able to operate on raw flash devices

Re: Snapshots in tmpfs

2012-02-23 Thread David Holland
On Thu, Feb 23, 2012 at 08:04:01PM -0500, Thor Lancelot Simon wrote: Is CHFS really suitable for CompactFlash? Is LFS even usable? No I thought the whole point of chfs was to be able to operate on raw flash devices that don't have their own flash translation layer.

Re: Snapshots in tmpfs

2012-02-22 Thread Martin Husemann
Note that we already have file system snapshots for ffs file systems, see fss(4). They are used for backup purposes (atomically create a snapshot, while the file system is busy, then backup the now quiet snapshot) - among others. *) What is it good for? The only practical use I can imagine are

Re: Snapshots in tmpfs

2012-02-22 Thread Greg Troxel
Another possible thing to do (instead) would be to look at Coda, and consider something like porting Coda to use FUSE instead of a homegrown (pre-FUSE, to be fair) kernel module. A bigger challenge is to separate the write-back caching from the upstream server protocol, so that one could use

Re: Snapshots in tmpfs

2012-02-22 Thread David Young
On Wed, Feb 22, 2012 at 01:42:45PM +0100, Manuel Wiesinger wrote: *) What is it good for? The only practical use I can imagine are backups on thin clients, which operate without a hard disk. But this is clearly far-fetched, in my eyes. It's good for writing checkpoints of a tmpfs to

Re: Snapshots in tmpfs

2012-02-22 Thread David Holland
On Wed, Feb 22, 2012 at 08:17:15AM -0600, David Young wrote: On Wed, Feb 22, 2012 at 01:42:45PM +0100, Manuel Wiesinger wrote: *) What is it good for? The only practical use I can imagine are backups on thin clients, which operate without a hard disk. But this is clearly far-fetched,