can xfs_repair guarantee a complete clean filesystem?
hank peng
pengxihan at gmail.com
Mon Nov 30 22:37:42 CST 2009
2009/12/1 Eric Sandeen <sandeen at sandeen.net>:
> hank peng wrote:
>> When using xfs_repair, I want my XFS filesystem complete clean and
>> continue to work even if some files lost. Becase we use XFS in low-end
>> NAS box, customers want a tool to repair the filesystem when it has
>> problem and they allow some files be lost and don't want the whole
>> system to stop.
>> So, I wonder if xfs_repair or some other tools can satisfy this funciton?
>>
>
> Yes, that is exactly its purpose (any potential bugs notwithstanding...)
>
Thanks for your reply.
Is there some points I should notice about when using xfs_repair? I
used to encounter some cases in which xfs_repair complete successfully
but some errors like "Corrupt in memory detected" occured when the
filesytem is put into online for short time.
Should I reboot the machine and use xfs_repair before the damaged
filesystem is used, or some other options I should use?
In addition, I googled some information and found that some people say
xfs_check should be used before xfs_repair, is it right?
> -Eric
>
--
The simplest is not all best but the best is surely the simplest!
More information about the xfs
mailing list