On Wed, Aug 10, 2005 at 11:57:30PM +0200, evilninja wrote:
> Andi Kleen schrieb:
> > There is a problem when a unclean log from the 32bit kernel is replayed
> > on the 64bit kernel (or the other way round). Just make sure
> > you always have clean unmounts when you switch between 32bit and 64bit
> > kernels.
> hm, but how is the OP supposed to get his fs checked?
I don't think was the question the OP asked. It was a 32bit
userspace/64bit kernel interop question.
> as i understand it
> he has successfully run a 8TB xfs in 32bit. now it's somehow corrupt and
> the log was not replayed yet.
Please keep in mind that log replay is completely separate to
repairing the filesystem and doesn't run in userspace nor does it
consume much memory. You should always attempt to do log replay on
the same system and kernel or, in the case of hardware failures, on
a machine of the same architecture and endianness.
> but now he's forced to use a 64bit machine
> to make xfs_repair work (which takes up > 4GB of memory).
> so he *has* to switch from 32bit to 64bit with an unclean fs :-\
No, you only run xfs_repair after you've replayed the log. Once
you've replayed the log you can move the filesystem to any machine
you like to repair it.
R&D Software Enginner
SGI Australian Software Group