Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Mike Novikoff                        2:5020/133.73  26 Jul 2002  21:07:18
 To : Valentin Nechayev
 Subject : Copy Linux -> new hdd
 -------------------------------------------------------------------------------- 
 
 
  VN> Стандартные гнутые dump/restore могут безнадежно лажаться на живых
  VN> дисках. См. lkml, даже его величество Линус соизволил признать, что
  VN> dump/restore сейчас вреден.
 
 Кстати, вот. Было даже в этой эхе. После прочтения я вообще удалил dump
 со своей машины, а текст сохранил на память.
 
 (И, кстати, куда теперь пропали эти постинги? Удобно было).
 
 ===========================================================================
  From : Sergey Lentsov                 2:4615/71.10    03.05.2001 17:11:10## To   : All
  Subj : URL: 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 [20]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 [21]already been incorporated into
    2.4.5pre1.
 
    Linus [22]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.
 References
 
   20. http://lwn.net/2001/0503/a/metadata-corruption.php3
   21. http://lwn.net/2001/0503/a/lt-metadata.php3
   22. http://lwn.net/2001/0503/a/lt-dump.php3
 
 ===========================================================================
 
 Mike
 ---
  * Origin: mn@localhost (2:5020/133.73)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Copy Linux -> new hdd   Pavel Krutogolov   20 Jul 2002 00:23:14 
 Re: Copy Linux -> new hdd   Dmitry Dmitriev   20 Jul 2002 10:15:10 
 Copy Linux -> new hdd   Vladimir Lazarenko   20 Jul 2002 08:54:20 
 Re: Copy Linux -> new hdd   Vladimir Bormotov   20 Jul 2002 12:17:36 
 Re: Copy Linux -> new hdd   Ramazan Ja-Far   21 Jul 2002 01:33:58 
 Re: Copy Linux -> new hdd   Vladimir Bormotov   21 Jul 2002 01:54:18 
 Re: Copy Linux -> new hdd   Ramazan Ja-Far   21 Jul 2002 18:08:55 
 Re: Copy Linux -> new hdd   Vladimir Bormotov   21 Jul 2002 18:48:06 
 Re: Copy Linux -> new hdd   Ramazan Ja-Far   21 Jul 2002 22:15:04 
 Re: Copy Linux -> new hdd   Vladimir Bormotov   21 Jul 2002 23:08:00 
 Re: Copy Linux -> new hdd   Ramazan Ja-Far   22 Jul 2002 02:47:20 
 Copy Linux -> new hdd   Pavel Krutogolov   22 Jul 2002 12:02:22 
 Re: Copy Linux -> new hdd   Victor Wagner   23 Jul 2002 07:38:03 
 Re: Copy Linux -> new hdd   partizan@fel.ntu-kpi.kiev.ua   23 Jul 2002 17:35:35 
 Re: Copy Linux -> new hdd   Moderator   24 Jul 2002 23:22:08 
 Re: Copy Linux -> new hdd   Victor Wagner   21 Jul 2002 21:12:15 
 Re: Copy Linux -> new hdd   Ramazan Ja-Far   21 Jul 2002 22:15:04 
 Re: Copy Linux -> new hdd   Victor Wagner   21 Jul 2002 22:27:19 
 Re: Copy Linux -> new hdd   Ramazan Ja-Far   21 Jul 2002 23:44:39 
 Re: Copy Linux -> new hdd   Aleksey Barabanov   22 Jul 2002 09:22:41 
 Re: Copy Linux -> new hdd   Victor Wagner   22 Jul 2002 12:18:14 
 Re: Copy Linux -> new hdd   Aleksey Barabanov   23 Jul 2002 00:23:08 
 Re: Copy Linux -> new hdd   Ramazan Ja-Far   22 Jul 2002 22:52:22 
 Re: Copy Linux -> new hdd   Aleksey Barabanov   23 Jul 2002 00:23:04 
 Re: Copy Linux -> new hdd   Dmitry Yasir   23 Jul 2002 14:36:49 
 Re: Copy Linux -> new hdd   Serguei Khvatov   22 Jul 2002 16:13:36 
 Re: Copy Linux -> new hdd   Serguei Khvatov   22 Jul 2002 16:29:30 
 Re: Copy Linux -> new hdd   Serguei Khvatov   22 Jul 2002 16:37:18 
 Re: Copy Linux -> new hdd   Serguei Khvatov   22 Jul 2002 16:37:34 
 Re: Copy Linux -> new hdd   Serguei Khvatov   22 Jul 2002 16:59:59 
 Re: Copy Linux -> new hdd   Valentin Nechayev   22 Jul 2002 18:16:47 
 Copy Linux -> new hdd   Mike Novikoff   26 Jul 2002 21:07:18 
 Copy Linux -> new hdd   Pavel Krutogolov   22 Jul 2002 11:02:13 
 Re: Copy Linux -> new hdd   Aleksey Barabanov   21 Jul 2002 00:30:46 
Архивное /ru.linux/39173d4181e9.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional