Thanks, I should have thought of looking at the script. Your workaround works, 
of course.

But I think there's still a problem. The script contains the following comment:

        #
        #  The only failures were lofs mounts, we can try again
        #  after zfs is mounted, there is a chance a lofs mount
        #  failed due to it depending on a zfs not yet mounted.
        #

That comment seems to refer to exactly the situation that I'm dealing with. The 
code preceding this comment is

cd /; /sbin/mountall -l >/var/run/fs-local 2>&1
rc=$?
if [ $rc -eq 111 ]; then

In the last line above, I changed "111" to "1", and tried booting again. Now, 
my UFS file system got mounted successfully at boot time.

I do not understand this "111" exit status from mountall that the script is 
looking for. The mountall man page says nothing about exit codes. Since 
mountall is called with the "-l" flag, however, which means "Limit the action 
to local file systems", then even when mountall returns exit status 1, as it 
has been doing for me, that means, in the words of the comment above, "the only 
failures were lofs mounts".

Thus, there seems to be both a discrepancy between the comment and the script's 
code, and between mountall's behavior and the behavior the script expects.
-- 
This message posted from opensolaris.org

Reply via email to