NOTE: Existing XFS FSes with external logs won't mount after
this change. This is due to the version number being made endian
safe (ie big-endian) and the magic number changing.
It's easy to transition old external logs to the new format -
just unmount the FS and use xfs_db:
ie for a FS on /dev/foo with log on /dev/foo_log:
xfs_db -r /dev/foo -l /dev/foo_log -c "uuid rewrite"
This will rewrite the log footer in the new format. You'll need
an up-to-date xfs_db for this to work.
Modid: 2.4.0-test1-xfs:slinx:73272a
Date: Tue Aug 29 17:37:21 PDT 2000
Workarea: snort:/build1/people/dxm/isms/slinx-xfs
Author: dxm
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.0-test1-xfs
cmd/xfs/include/xfs_log_priv.h - 1.2
linux/fs/xfs/xfs_log_priv.h - 1.74
- Define XFS_EXTERNAL_LOG_VERSION & XFS_EXTERNAL_LOG_MAGIC
cmd/xfs/libxfs/rdwr.c - 1.12
cmd/xfs/sim/src/libdisk.c - 1.14
linux/fs/xfs/xfs_log_recover.c - 1.187
- use new XFS_EXTERNAL_LOG_* defines & make version endian safe
cmd/xfs/logprint/logprint.c - 1.46
- fix error messages
|