[Top] [All Lists]

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

To: Ryan Lee <ryanlee.lahk@xxxxxxxxx>
Subject: Re: [XFS] xfs_repair time how long it takes??
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Fri, 02 Mar 2012 08:55:47 -0600
Cc: xfs@xxxxxxxxxxx
In-reply-to: <CABF-5WptGU3vmScFcpHVstd2UZfCAqiY4dGvL=_1+feFvYuS6g@xxxxxxxxxxxxxx>
References: <CABF-5WptGU3vmScFcpHVstd2UZfCAqiY4dGvL=_1+feFvYuS6g@xxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
On 3/2/12 7:09 AM, Ryan Lee wrote:
> Hi, My name is Ryan.
> I am a computer programmer who are making  embedded linux products.
> Nowadays one of  my job is porting the XFS Filesystem in our embedded linux 
> products.
> Everything is going well until the day before Yesterday.
> The problem is the taking time with xfs_repair like this "]# xfs_repair -P -L 
> /dev/sda2" is to long to wait in our embedded system and for me, so the 
> booing time is increasing around 2 minutes totally.

Why are you running it with -L?
And why are you running it with -P?

As others mentioned, there is no reason to run xfs_repair on every boot.
And if you run it with -L on every boot, you've ruined the whole reason for 
using a journaling filesystem in the first place.


> If the HDD has a big size of data what  I wrote,  the xfs_repair takes time 
> more and more next booting time as I mention it.
> So, it makes a big problem with my company products.
> Would you mind helping me to solve this problem.
> I think many company who use XFS Filesystem without  this kind problem.
> Please sharing any information with XFS Filesystem.
> I attached the console message what i saw.
> I really appreciate you read my e-mail.
> Have a good day.
> Thanks, Ryan.
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs

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