Interesting.

On Fri, 17 May 2002, Vagn Scott wrote:

> "Stephen J. Gowdy" wrote:
> > 
> > This isn't really a USB question, is it? Anyway, try "man dump" (if that
> > doesn't work install the dump package).
> 
> >From http://lwn.net/2001/0503/kernel.php3
> 
> 
>     Trashing your filesystem with dump. It has been known for a very
>     long time that using dump to back up live filesystems can result in
>     corrupt backups. It turns out that, with Linux kernels through
> 2.4.4,
>     dumping a live filesystem has the potential to corrupt the
> filesystem
>     in place, even if the dump process has no write access.
> 
>     Alexander Viro reported the bug which makes this possible. It can
>     happen only on SMP systems, and is not easy to trigger, but it is
>     there. Essentially, if the filesystem allocates a new metadata block
>     for the filesystem, and a separate process reads that block at the
>     wrong time, the wrong data will be written back to disk. The fix
>     is relatively straightforward, and has already been incorporated
>     into 2.4.5pre1.
> 
>     Linus pointed out an interesting little fact as part of this
>     discussion: dump will not work correctly on 2.4-based systems in
>     any case. The filesystem keeps quite a bit of useful information
>     in the page cache - and will do so even more in the future. dump,
>     however, works with the raw device, which deals with the buffer
> cache
>     instead. The two are not always synchronized, and it is possible
>     that dump will end up reading the wrong data. In case that's not
>     clear enough:
> 
>         So anybody who depends on "dump" getting backups right is
>         already playing russian rulette with their backups. It's not at
>         all guaranteed to get the right results - you may end up having
>         stale data in the buffer cache that ends up being "backed up".
> 
>     For now, there is really no easy way to fix dump for 2.4. If you're
>     using it, this might be a good time to go looking for a different
>     tool.
> 
> 
> 
> > > There are 12 partitions on one drive and one on another that I want to
> > > back up.
> 
> 
> If you have a partition mounted at /usr/foo  You can
> backup that one partition with something like
> 
>         cd /usr/foo && tar clzf /some/where/permanent/foo.tgz .
> 
> man tar for details.
> 
> 

-- 
 /------------------------------------+-------------------------\
|Stephen J. Gowdy                     | SLAC, MailStop 34,       |
|http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road,     |
|http://calendar.yahoo.com/gowdy      | Menlo Park CA 94025, USA |
|EMail: [EMAIL PROTECTED]       | Tel: +1 650 926 3144     |
 \------------------------------------+-------------------------/


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to