Skip to contentSkip to conversation

XFS Recovery

DISCUSSION Richard Scobie 4 participants 6 messages Jul 6, 2008 – Jul 7, 2008

lore
Share & tools
lore
#0 lore raw

If the following log entry appears after mounting an XFS fs, is it safe to assume that whatever issue initiated the recovery has been repaired, or is further checking/repair required?

XFS mounting filesystem md5
Starting XFS recovery on filesystem: md5 (logdev: /dev/md0) Ending XFS recovery on filesystem: md5 (logdev: /dev/md0)

Regards,

Richard

#1 lore raw
Quoted 3 lines · Richard Scobie

If the following log entry appears after mounting an XFS fs, is it safe to assume that whatever issue initiated the recovery has been repaired, or is further checking/repair required?

No.

Quoted 3 lines

XFS mounting filesystem md5
Starting XFS recovery on filesystem: md5 (logdev: /dev/md0) Ending XFS recovery on filesystem: md5 (logdev: /dev/md0)

That's normal output when mounting an XFS filesystem - if you see more than this then there might be problems...

Cheers,

Dave.

Signature · 2 lines
Dave Chinner
[email protected]
#2 lore raw
Quoted 7 lines · Dave Chinner
Quoted 3 lines

XFS mounting filesystem md5
Starting XFS recovery on filesystem: md5 (logdev: /dev/md0) Ending XFS recovery on filesystem: md5 (logdev: /dev/md0)

That's normal output when mounting an XFS filesystem - if you see more than this then there might be problems...

Thanks Dave,

I was more used to seeing:

XFS mounting filesystem md5
Ending clean XFS mount for filesystem: md5

Maybe the message has changed with later kernels.

In any case, it sounds like I have no issues.

Regards,

Richard

#3 lore raw
In reply to Dave Chinner
Quoted 5 lines · Dave Chinner
Quoted 3 lines · Richard Scobie

If the following log entry appears after mounting an XFS fs, is it safe to assume that whatever issue initiated the recovery has been repaired, or is further checking/repair required?

Quoted 9 lines

No.

Quoted 3 lines

XFS mounting filesystem md5
Starting XFS recovery on filesystem: md5 (logdev: /dev/md0) Ending XFS recovery on filesystem: md5 (logdev: /dev/md0)

That's normal output when mounting an XFS filesystem - if you see more than this then there might be problems...

Hmmm....I don't know if I would describe that as "normal" unless I am misunderstanding Dave here.
There has been some recovery happening indicating that there wasn't a clean unmount (it didn't find an unmount record in the log). But recovery should have replayed the
outstanding metadata to a time point in the near past
and so no repair should be necessary (we have qa tests which do the test anyway and check that there are no complaints).

--Tim

#4 lore raw
Quoted 10 lines · Timothy Shimmin
Quoted 2 lines
Quoted 2 lines

XFS mounting filesystem md5
Starting XFS recovery on filesystem: md5 (logdev:

/dev/md0)

Quoted 1 line
Quoted 1 line

Ending XFS recovery on filesystem: md5 (logdev:

/dev/md0)

Quoted 2 lines

That's normal output when mounting an XFS

filesystem - if

Quoted 2 lines

you see more than this then there might be problems...

Quoted 12 lines

Hmmm....I don't know if I would describe that as "normal"
unless I am misunderstanding Dave here.
There has been some recovery happening indicating that there
wasn't a clean unmount (it didn't find an unmount record in the log).
But recovery should have replayed the outstanding metadata to a time point in the near past and so no repair should be necessary (we have qa tests which do the
test anyway and check that there are no complaints).

Maybe not "normal," but at least "acceptable"?

If it's a regular occurrence, it might be worth looking into. If it was a one-off, with no further complaints, I'd ignore it.

Signature · 5 lines
Mark

"What better place to find oneself than
 on the streets of one's home village?"
      --Capt. Jean-Luc Picard, "Family"
#5 lore raw
In reply to Timothy Shimmin
Quoted 12 lines · Timothy Shimmin
Quoted 11 lines · Dave Chinner
Quoted 3 lines · Richard Scobie

If the following log entry appears after mounting an XFS fs, is it safe to assume that whatever issue initiated the recovery has been repaired, or is further checking/repair required?

No.

Quoted 3 lines

XFS mounting filesystem md5
Starting XFS recovery on filesystem: md5 (logdev: /dev/md0) Ending XFS recovery on filesystem: md5 (logdev: /dev/md0)

Quoted 5 lines
Quoted 3 lines

That's normal output when mounting an XFS filesystem - if you see more than this then there might be problems...

Hmmm....I don't know if I would describe that as "normal" unless I am misunderstanding Dave here.

Normal as in "everything is OK - there's no need to worry". Recovery at mount time happens quite frequently for a variety of reasons - it's not a sign that there's something wrong as such....

Cheers,

Dave.

Signature · 2 lines
Dave Chinner
[email protected]