BUG REPORT: XFS LOG FORWARD COMPATIBILITY PROBLEM
Eddy Zhao
eddy.y.zhao at gmail.com
Fri Jul 24 06:04:05 CDT 2009
>
> I don't recommend you pull the usb disk out while the filesystem is still
> mounted (if you can avoid it).
>
Doing that to emulate power loss scenario our device might experience.
>
> I would start by looking through the change history for
fs/xfs/xfs_log_recover.c
> and paying particular attention to anything to do with inode
transactions.
>
Not quite familiar with XFS code :(
>
> Or try some intermediate kernels and see if you can narrow the fix down to
a set of
> changes.
>
I'll try to bisect (It will take some time...)
>
> # mount /dev/sda1 /mnt/
> UDF-fs: No VRS found
> XFS mounting filesystem sda1
> Starting XFS recovery on filesystem: sda1 (dev: sda1)
> Filesystem "sda1": xfs_inode_recover: Bad inode magic number, dino ptr
> = 0xc8266700, dino bp = 0xc8281b40, ino = 0
Because XFS log is OK to 2.6.28 system, which means the log is correct in
itself.
Would it be easy for you to debug the problem by compare 2.6.10 log recovery
code fail point and the corresponding 2.6.28 log record?
Thanks
Eddy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20090724/e710b32c/attachment.htm>
More information about the xfs
mailing list