xfs
[Top] [All Lists]

Re: Problem with XFS and JFS

To: linux-xfs@xxxxxxxxxxx
Subject: Re: Problem with XFS and JFS
From: Ivan Kocher <ikocher@xxxxxxxxxxxxxxxxx>
Date: Mon, 23 Feb 2004 16:05:03 -0600
In-reply-to: <1077557148.4497.1.camel@xxxxxxxxxxxxxxxxxxxxxx>
Organization: Fintec SA
References: <403A3366.3070809@xxxxxxxxxxxxxxxxx> <1077557148.4497.1.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313
Yes, I take care of /etc/fstab also.

Note that I started the machine with init=/bin/bash rw, so there is no /etc/fstab processing. But anyway, /etc/fstab was ok, with / declared as type jfs.



Ivan
--------

Russell Cattelan wrote:

Hi,

Yesterday I was hit by a nasty bug ...

I tried to change the filesystem of a couple machines from XFS to JFS, so compiled kernel 2.4.23 with XFS (patch) and JFS. Once the jfs root partition was up, it booted, and xfs "tried" to repair the partition. I booted using my default setup and later after remaking all again using init=/bin/bash rw, and even later init=/bin/bash ro

In the first two cases cases, xfs tried its "repair", teling that it recovered the journal... :( trashing the fs.

When I booted in the third case, (ro) no problem...

I wonder ... does xfs has some check for some magic in there? I tried in all machines, and in all it damaged the mounted / jfs fs ...
sounds like mkfs.jfs is not zeroing enough of the device prior to
writing its fs.  particularly block zero where the XFS superblock
lives. (some mkfs avoid zeroing this due to quirky partitioning setups
on some architectures, notably Suns).

Or make sure to change the fstab so that the system does not try to
mount a jfs partition as xfs.





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