[OpenIndiana-discuss] OI will not boot to login after exporting a drive

Dylan Distasio interzone at gmail.com
Sat Feb 1 06:46:26 UTC 2014


Jim-

Thanks for the detailed reply, you nailed it with the zfs mount -a issue,
but I am not sure how to resolve it.

I first get a message of:
Cannot mount 'poolname/folder' directory is not empty
svc:/system/filesystem/local:default: WARNING: /usr/sbin zfs mount -a
failed: exit status 1

However, when I log in as single user and check the poolname/folder
directory, it is indeed not empty.  It's still got my array's subfolders in
it.

As a result, I am at a loss as to how to resolve this issue.  Apologies if
this is OI/Solaris 101, but my knowledge of the boot process is extremely
limited.  I'm hoping to use this as a learning experience.

Thanks again,
Dylan


On Fri, Jan 31, 2014 at 3:03 PM, Jim Klimov <jimklimov at cos.ru> wrote:

> On 2014-01-31 12:27, Dylan Distasio wrote:
>
>> Hi all-
>>
>> Apologies for the lack of detailed info, but I am having a problem with
>> oi_151a7.  After I export a RAIDZ3 array, I am subsequently unable to get
>> the system back to the login prompt after reboot.
>>
>> I get an error message that it can't mount a filesystem on my pool, and
>> then it exits with a fatal error  95.  I have been able to replicate the
>> behavior.
>>
>> Has anyone seen this issue, and if so, can you recommend a solution.
>>
>
> The error 95 is a pretty generic SMF_EXIT_FATAL (or somesuch).
> Probably the filesystem/local service has failed to initialize -
> see "svcs -xv" if you've managed to log in, and inspect the
> failed service's log file. Furthermore, I'd guess that the fault
> is with an error with "zfs mount -a" which can fail i.e. due to
> non-empty mountpoints. You can run this command on your single-user
> console and see which datasets it can't mount and why (i.e. some
> empty directories remain for mounting further datasets of your
> exported pool - you can remove these after making sure that there
> is in fact no dataset mounted over these at the moment).
>
> When you ensure that "zfs mount -a" succeeds, you can use
>   svcadm clear filesystem/local
> (or whatever service failed) and exit the single-user shell
> so the system proceeds to multi-user milestone as normal.
>
> HTH,
> //Jim Klimov
>
>
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>


More information about the OpenIndiana-discuss mailing list