Hans Reiser found guilty of Murder.

View: New views
2 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

Re: ext3 fsck on reboot

by Robert Krawitz-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

   Date: Sat, 03 May 2008 12:51:42 -0400
   From: Tom Metro <blu@...>

   Robert Krawitz wrote:
   > On a 500 GB partition, even if extN only checks once every 30 reboots
   > or so, it's going to take an awfully long time on those unusual
   > occasions.

   I use XFS on my big disks, so I haven't noticed this, but does
   anyone know why this check isn't performed by a daemon running in
   the background? Sure, it'd have to be read-only, but if it observed
   problems, it could record where, and notify the user that they need
   to reboot for repairs. The repairs should then happen pretty quick,
   now that the locations have already been found.

You wouldn't want to write to the filesystem if it's inconsistent (how
do you know what's safe to write to and correct to read from?).  It's
also a lot harder to validate the consistency of something that's
changing behind your back.

--
Robert Krawitz                                     <rlk@...>

Tall Clubs International  --  http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail lpf@...
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Discuss mailing list
Discuss@...
http://lists.blu.org/mailman/listinfo/discuss

Re: ext3 fsck on reboot

by Ben Eisenbraun :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, May 03, 2008 at 01:34:05PM -0400, Robert Krawitz wrote:
> Tom Metro <blu@...> wrote:
>    I use XFS on my big disks, so I haven't noticed this, but does
>    anyone know why this check isn't performed by a daemon running in
>    the background?
>
> You wouldn't want to write to the filesystem if it's inconsistent (how
> do you know what's safe to write to and correct to read from?).

FreeBSD can do background fsck on a live system.  It actually creates a
snapshot of the dirty filesystem and runs the fsck on the snapshot.

http://www.usenix.org/events/bsdcon/mckusick/mckusick_html/index.html

-b

--
work is the curse of the drinking class.                   <oscar wilde>

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Discuss mailing list
Discuss@...
http://lists.blu.org/mailman/listinfo/discuss
< Prev | 1 - 2 | Next >
LightInTheBox - Buy quality products at wholesale price