[XFS] xfs_repair time how long it takes??

Ryan ryanlee.lahk at gmail.com
Fri Mar 2 08:26:30 CST 2012


How about the dirty log. I use the xfs_repair because the dirty log must be removed when i mount HDD.

As you know xfs filesystem doen't repair the dirty log so i couldn't mount the HDD after when i do cold reset during writing the HDD. How i can solve this problem? 

Sent from my iPhone.



On Mar 2, 2012, at 11:01 PM, Brian Candler <B.Candler at pobox.com> wrote:

> On Fri, Mar 02, 2012 at 10:09:56PM +0900, Ryan Lee wrote:
>>   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 do you feel you need to run xfs_repair on every boot? Regular Linux
> systems do not attempt this, the same as they don't force a full "e2fsck -f"
> on every boot.
> 
> http://linux.die.net/man/8/fsck.xfs



More information about the xfs mailing list