On Mon, 14 January 2002, "Peter Gork" wrote:
>>On Mon, 14 January 2002, "Steve Best" wrote:

>> One problem that could happen is that the file system is in such a bad
>> state that it can't
>> find /sbin/fsck.jfs, thus logredo can't be run. Are you seeing this type
of
>> problem?

> I'm not actually seeing the problem in practice. I have JFS only on a
test partition and not on root yet.
> It was more a theoretical question for my understanding. I was wondering
why JFS didn't do the log replay in an
> initrd first and how you can safely
> access a filesystem that hasn't got its root applied yet.


>>
>> Couple solutions:
>> 1) have fsck.jfs be loaded by initrd.img.
>> 2) bring the logredo functionality into the file system.

> Ok. I see. My question was born because I was wondering
> why (1) is not required for the JFS root setup.

This would be a great addition to the JFS Root Boot HOWTO, if any one
wants to write it up and send it in please do so, or I can add a section
about it soon.

>
> It would seem to me that it would be more safe to do it this way than to
hope that the file system is
> not too damaged to find fsck and logredo.
>
> Is it planned to implement (2) or recommend (1) in
> future versions of JFS?
>
> Is it possible to run logredo without fsck.jfs to save space in the
initrd image?

Yes, the general steps would be to add logredo to initrd image and then
invoke it by
having a /linuxrc

>
> Thanks for your comments and thanks for a good fs.

Steve

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

Reply via email to