xfs
[Top] [All Lists]

Re: Linux/XFS equivalents of defrag, chkdsk?

To: mike <mike@xxxxxxxxxx>
Subject: Re: Linux/XFS equivalents of defrag, chkdsk?
From: Chris Wedgwood <cw@xxxxxxxx>
Date: Sun, 29 Aug 2004 14:49:15 -0700
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.61.0408291346070.7223@xxxxxxxxxxxxxxxxxxx>
References: <Pine.LNX.4.61.0408291321540.29465@xxxxxxxxxxxxxxxxxxx> <20040829204430.GA11930@xxxxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.61.0408291346070.7223@xxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Sun, Aug 29, 2004 at 01:47:15PM -0700, mike wrote:

> that's what i'm hoping to find BEFORE something bad happens.

how can you find something BEFORE it happens?  if it's BEFORE then
nothing has gone wrong yet

> how come windows can check it's filesystems and/or defrag while it's
> in use, but linux can't?

windows can't do a 100% check on a live fs last i checked, in suck
cases it actually will do the check on boot this might have changed.
the is also true for defrag.

and as for this checking (and defrag), it requires various hooks that
allow the application to lock parts of the device/filesystem down
during the check --- and it only works for some filesystems not all

in theory you could add similar things to linux but since it's not a
100% solution im not sure if it's really worth it

btw, XFS *can* defrag a line filesystem

> in summary, you're saying that if it's mounted, i'm SOL for doing
> any sort of filesystem optimizations or maintenance...?

no, i never said that

you can defrag[1] XFS as mentioned previously and above and as for
checking for errors, there are hacky ways to do this on a live
filesystem im just not sure it's worth the effort in practise though
since it's a lot of effort and work to deal with problems most people
don't see


  --cw


<Prev in Thread] Current Thread [Next in Thread>