public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: Ryan Lee <ryanlee.lahk@gmail.com>
Cc: xfs@oss.sgi.com
Subject: Re: [XFS] xfs_repair time how long it takes??
Date: Fri, 02 Mar 2012 08:55:47 -0600	[thread overview]
Message-ID: <4F50DF73.7050006@sandeen.net> (raw)
In-Reply-To: <CABF-5WptGU3vmScFcpHVstd2UZfCAqiY4dGvL=_1+feFvYuS6g@mail.gmail.com>

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.

-Eric

> 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@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

      parent reply	other threads:[~2012-03-02 14:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-02 13:09 [XFS] xfs_repair time how long it takes?? Ryan Lee
2012-03-02 14:01 ` Brian Candler
2012-03-02 14:26   ` Ryan
2012-03-02 14:52     ` Brian Candler
     [not found]     ` <4F50E246.4020502@sandeen.net>
2012-03-02 15:48       ` Ryan Lee
2012-03-02 15:56         ` Ryan Lee
2012-03-02 16:18         ` Brian Candler
2012-03-02 14:55 ` Eric Sandeen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F50DF73.7050006@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=ryanlee.lahk@gmail.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox