Welcome! » Log In » Create A New Profile

file-mode vs. inode-mode?

Posted by Anonymous 
file-mode vs. inode-mode?
December 01, 2004 10:06AM
Hi David,

I think the deletes in the background are a great idea. Unfortunately
I've been very busy lately and haven't had as much time as I would like
to spend on rsnapshot.

If anyone is interested in writing this, I would certainly consider
including it in the main source tree.

Any dissenting opinions? The only drawback I could see is that it could
require more disk space. Perhaps it could be (yet another) option?

Thanks for the input!
-Nathan

David Cantrell wrote:

Quote

Incidentally, no-one commented on my mutterings a week or so ago about
doing deletes in the background. Am I to take it that people don't
think this is a stupid idea?

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
[productguide.itmanagersjournal.com]
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
[lists.sourceforge.net]
file-mode vs. inode-mode?
November 24, 2004 05:44PM
Dick Visser wrote:

Quote

As far as I understood, the rsnapshot utility creates hard links when a
file did not change.
This means a great improvement is used disk space.

However, if I add one byte to a really big file, the file is considered
changed, and a complete copy will be made (?).

Would it be possible to do this on inode-level, so that only diffs *in*
files would make it into the snapshot?
Do you mean blocks, and not inodes?

My understanding is that this would require first writing a filesystem,
and may also require writing an OS, because any block can, under most
(all?) Unixy filesystems, only belong to one file. Of course that file
can be pointed at by multiple directory entries. To have only the
differences stored, you would need to have two files sharing most of
their blocks.

This defnitly won't work on any of the most common Unixy filesystems -
fsck will throw a screaming fit next time you reboot. It may not fit
particularly well with the Unix Way - there are probably some pretty
deeply embedded assumptions about how filesystems are structured.

Incidentally, no-one commented on my mutterings a week or so ago about
doing deletes in the background. Am I to take it that people don't
think this is a stupid idea?

--
David Cantrell | Official London Perl Mongers Bad Influence

One person can change the world, but most of the time they shouldn't
-- Marge Simpson

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
[productguide.itmanagersjournal.com]
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
[lists.sourceforge.net]
file-mode vs. inode-mode?
November 24, 2004 11:26AM
Hi guys

As far as I understood, the rsnapshot utility creates hard links when a
file did not change.
This means a great improvement is used disk space.

However, if I add one byte to a really big file, the file is considered
changed, and a complete copy will be made (?).

Would it be possible to do this on inode-level, so that only diffs *in*
files would make it into the snapshot?
I have seen this functionality in NetApp boxes, but I remember a Linux
Expo in Amsterdam a few years ago where such functionality was proposed
for the linux kernel. Anybody heard of this lately?

Anyway, thanks for the excellent tool,

--
* *** Dick Visser TIENHUIS Networking
** * * Marco Polostraat 234-3 P: +31206843731
* * *** 1056 DP Amsterdam F: +31208641420
* * * * The Netherlands M: +31622698108
* ** * WWW: [www.tienhuis.nl]
* * * Email: d.n.m.visser < at > tienhuis.nl
* * * IP Phone: sip:dick < at > tienhuis.nl
*** *** PGP-key: [www.tienhuis.nl]
Live IPv6 webcam: [www.terena.nl]

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
[productguide.itmanagersjournal.com]
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
[lists.sourceforge.net]
Sorry, only registered users may post in this forum.

Click here to login