threads / discuss / 4452

Redhat stateless Linux and git

Subject: Redhat stateless Linux and git

## tl;dr

3 messages between Jun 9, 2006 and Jun 11, 2006.

replies: 2people: 2as markdown or json

Jon Smirl· Jun 9, 2006, 22:59 UTC · lore

Redhat is looking for a scheme to sync the disk system of their stateless Linux client. They were using rsync and now they are looking at doing it with LVM.

What about using git?
-- 
Jon Smirl
jonsmirl@gmail.com
Geert Bosch· Jun 11, 2006, 12:21 UTC · re: Jon Smirl · lore

Re: Redhat stateless Linux and git

On Jun 9, 2006, at 18:59, Jon Smirl wrote:
Show 5 quoted lines
> Redhat is looking for a scheme to sync the disk system of their
> stateless Linux client. They were using rsync and now they are looking
> at doing it with LVM.
>
> What about using git?

The data model is fine in principle, but git as-is isn't suitable for general backup/sync-like schemes. Large (multi-GB) files are not really supported yet. Still, I think the underlying data model, with some modifications to split large files on content-determined boundaries, would be really great for distributed filesystems.

Many people using laptops these days connect to different filesystems on their office networks, home networks, digital cameras and even their PDA, cellphone and MP3-player. What is commonly described as "synching", really is just a merge between different branches. All arguments in favor of using a distributed SCM hold here too.

Right now I'm using a hodge-podge of different manual and semi-automated methods to keep my local filesystem with 1.5M files totalling 90GB somewhat in synch with various homedirectories on different remote systems and backup disks. IMO, git is tantalizing close to be able to handle this, just needs to get a bit more scalable. Probably you'd want to use a different user interface as well, but all the underlying data structures and merge strategies may be equally valid.

   -Geert
Jon Smirl· Jun 11, 2006, 15:07 UTC · re: Geert Bosch · lore

Re: Redhat stateless Linux and git

On 6/11/06, Geert Bosch <bosch@adacore.com> wrote:
Show 30 quoted lines
>
> On Jun 9, 2006, at 18:59, Jon Smirl wrote:
> > Redhat is looking for a scheme to sync the disk system of their
> > stateless Linux client. They were using rsync and now they are looking
> > at doing it with LVM.
> >
> > What about using git?
>
> The data model is fine in principle, but git as-is isn't suitable
> for general backup/sync-like schemes. Large (multi-GB) files
> are not really supported yet. Still, I think the underlying
> data model, with some modifications to split large files on
> content-determined boundaries, would be really great for
> distributed filesystems.
>
> Many people using laptops these days connect to different
> filesystems on their office networks, home networks,
> digital cameras and even their PDA, cellphone and MP3-player.
> What is commonly described as "synching", really is just a
> merge between different branches. All arguments in favor
> of using a distributed SCM hold here too.
>
> Right now I'm using a hodge-podge of different manual and
> semi-automated methods to keep my local filesystem with 1.5M
> files totalling 90GB somewhat in synch with various
> homedirectories on different remote systems and backup disks.
> IMO, git is tantalizing close to be able to handle this, just
> needs to get a bit more scalable. Probably you'd want to use
> a different user interface as well, but all the underlying
> data structures and merge strategies may be equally valid.

That's why I though stateless Linux was a good place to start. The client is read only so it is the simplest case to start with. I would much prefer a file orientated system for syncing over a block oriented one, with the block one there is no easy way to tell what is being copied to your machine.

I added the stateless list to the cc, maybe they'll join in.
-- 
Jon Smirl
jonsmirl@gmail.com

← back to recent threads