Neil Carlson wrote:
> I'm experimenting with JFS for the first time, and have found it
> unable to repair the filesystem after a simulated "crash".  I
> suppose I'm confused about the capabilities of JFS, and am
> hoping one of you can straighten me out.
>
> Here's what I tried.  I'm using linux-2.4.16, jfs-1.0.10, lvm-1.0.1
> (latest stuff as of today).  I created a 500MB jfs partition over
> lvm, added it to /etc/fstab, and mounted it.  Went into single user
> mode and unmounted all other partitions I could; sync'ed; copied
> about a dozen files (~7MB) into the new jfs partition and hit the
> reset button.

Tell me about the JFS partition, I assume that it doesn't have anything
on it when you copy these dozen files onto it. Where do the files get
copied to? Do they all go to the root sub dir or are sub directories
created during the copy, if so how many sub directories are created.
I haven't been able to re-create this one and any details you could
provide could be helpful.

> When the machine rebooted, it had to fsck the ext2
> partitions I couldn't unmount (naturally), but I expected it to
> be able to mount the jfs partition (after transparently replaying
> the journal?).  Instead I get the failure messages (repeatedly):
>
>   jfs_mount: Mount Failure: File System Dirty.
>  Mount JFS Failure: 22
>   jfs_mount failed with w/return code = 22
>

What does your fstab look like for the jfs partition?
It should look something like
/dev/hdb1      /jfs           jfs  defaults       1 1


> After being unable to mount it manually, I ran fsck.jfs on it:


Steve

_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion

Reply via email to