Antonello Cruz wrote:
Jan Hnatek wrote:


Bart Smaalders wrote:
Jan Hnatek wrote:
I should note that this is probably caused by my habit of turning the
notebook on before plugging in the external drive. Occasionally I plug the drive in when the system has already started booting, i.e. past grub. While this may not be correct behavior, the system should be able to handle that, what do you think?


Are the filesystems on the external drive part of filessytem local?

Sorry, I'm not sure I understand the question. The external drive
contains zfs filesystem and filesystem/local service is calling
/lib/svc/method/fs-local, which calls 'zfs mount -a'.
In that sense, any zfs filesystem connected at boot time is
a part of filesystem/local, or ...?

What I'd rather expect in this case is pkg/server going to
maintenance instead of blocking the rest of the services.
I didn't see any problem in pkg/server in the output of svcs -vx
What is blocking *the rest of the services* is filesystem/local, not pkg/server. At least according to the output of svcs -vx you sent.

If you run 'svcadm clear filesystem/local' after the external driver is connected and its zpool imported, your system should go back to normal.

/var/adm/messages should have logged you which filesystem failed to mount exactly.

Based on a question I posted to Liane, maybe our dependency on filesystem-local needs to change in pkg-server.xml?

        <dependency
                name='fs'
                grouping='require_all'
                restart_on='none'
                type='service'>
                <service_fmri value='svc:/system/filesystem/local' />
        </dependency>

Notably, restart_on='error' instead?

Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to