xfs
[Top] [All Lists]

Re: FW: log mount/recovery failed

To: Justin@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: FW: log mount/recovery failed
From: Daniel Moore <dxm@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 23 Jul 2001 16:17:36 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: Your message of "Mon, 23 Jul 2001 02:01:31 -0400." <000001c1133c$f34c1660$0101a8c0@enterprise>
Sender: owner-linux-xfs@xxxxxxxxxxx
"Justin Hamilton" writes:
 => Here's the logprint of my filesystem:
 => 
 => [root@Voyager /]# xfs_logprint -t /dev/vg04/lv_movies 
 => xfs_logprint:
 =>     data device: 0x3a07
 =>     log device: 0x3a07 daddr: 10485792 length: 9600
 => 
 => * ERROR: mismatched uuid in log
 => *            SB : 5a0fad57-e48c-41be-bee6-308250aecd17
 => *            log: 00000100-0000-0100-0000-a00000000000
 => Bad log
 => 
 => Looks like a problem... How do I set the UUID for the log?

You can't and shouldn't have to set the uuid for the log. It
gets written out in every log header and should always match
the one in the SB. It looks like the log may have been clobbered
somehow. You could try xfs_logprint with no '-t' and check out
the uuids in the other log records. Maybe that would tell you
something...

If all else fails, you can run 'xfs_repair'. It will erase the
log (NOT play it back) and repair the filesystem to a consistent
state which should get you going again.

But it would be nice to know what's going on here since this
shouldn't happen.



-----------------------------------------------------
 Daniel Moore                  dxm@xxxxxxx
 R&D Software Engineer         Phone: +61-3-98348209
 SGI Performance Tools Group   Fax:   +61-3-98132378
-----------------------------------------------------



<Prev in Thread] Current Thread [Next in Thread>