[PATCH] xfs_repair: suggest reboot after dangerous repair
Eric Sandeen
sandeen at redhat.com
Wed Dec 4 13:42:42 CST 2013
On 12/4/13, 1:38 PM, Ben Myers wrote:
> On Tue, Nov 12, 2013 at 11:14:46AM -0600, Eric Sandeen wrote:
>> If a "dangerous" repair (repair of a readonly mounted fs)
>> has been done, suggest an immediate reboot upon completion.
>>
>> Signed-off-by: Eric Sandeen <sandeen at redhat.com>
>> ---
>>
>> TBH, I don't know how "dangerous" dangerous is. Is this
>> still required?
>
> Was there a crash or something after a repair that led to
> this patch?
>
> Reviewed-by: Ben Myers <bpm at sgi.com>
>
No, it was generated by a "bug" saying that it was impossible
to run fsck.xfs on a root filesystem.
That was largely an RTFM kind of thing but since it's normal
for some systems to come up w/ RO-root in rescue mode, and people
are used to being able to run e2fsck in that mode, it might be worth
adding a little help to our tool to accomplish the same thing.
-Eric
More information about the xfs
mailing list