xfs
[Top] [All Lists]

Re: [XFS] xfs_repair time how long it takes??

To: Ryan <ryanlee.lahk@xxxxxxxxx>
Subject: Re: [XFS] xfs_repair time how long it takes??
From: Brian Candler <B.Candler@xxxxxxxxx>
Date: Fri, 2 Mar 2012 14:52:58 +0000
Cc: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=sasl; bh=zyzfgMilW0Ae2fpVdB2x0pvTCbY=; b=Nij1TnU CSoaaC9x4hXxU51+1tOlJjqPOiW5+88Lv0q4jPoVCLYYCTJ0ZlOsteqaaNbGiQMr LWIpcAlfSRtj/u86UJXfI23WL/OFkwhDMXGfmC2Sz9Qvk9f5QR+1fPWzhP7FfBt6 puCZoHX5mhNRx0ZjgQWcBgHQ2T1Bhx7Z1Dq0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=pobox.com; h=date:from:to:cc :subject:message-id:references:mime-version:content-type :in-reply-to; q=dns; s=sasl; b=ggMmwoA7dXBnYTHAEQvTYTcT9mNnYFBk6 BOv2/r/d1sojYLGj25b1U2dHvGFpaElIRBz/EdyIzDXij/I8f4LW/GjLDFkIDy9I sxnrxPgYslGTjqj4bIPuXC2vpTT5ntvOp552w27B3UCvDZfF1aZhgPGfr+o9HdOa Z6G8xwAuaM=
In-reply-to: <37B5727D-1E3B-4A96-BF7F-4CA6DAF9B63C@xxxxxxxxx>
References: <CABF-5WptGU3vmScFcpHVstd2UZfCAqiY4dGvL=_1+feFvYuS6g@xxxxxxxxxxxxxx> <20120302140145.GA11911@xxxxxxxx> <37B5727D-1E3B-4A96-BF7F-4CA6DAF9B63C@xxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Fri, Mar 02, 2012 at 11:26:30PM +0900, Ryan wrote:
> How about the dirty log. I use the xfs_repair because the dirty log must be 
> removed when i mount HDD.

Google for "xfs dirty log" and I get this as the second hit:

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/xfsrepair.html

What it says is the exact opposite of what you said above:

- the dirty log is automatically dealt with when you mount the filesystem
- xfs_repair will refuse to run if a dirty log is present

So running xfs_repair on boot is actually a bad idea.

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