My Oracle Support Banner

The Service svc:/system/filesystem/local Fails to Start in the Zone after Added ZFS Filesystem (Doc ID 2135467.1)

Last updated on JULY 16, 2018

Applies to:

Solaris Operating System - Version 10 6/06 U2 and later
Information in this document applies to any platform.

Symptoms

Adding a ZFS file system to the zone by running the following command:

global # zonecfg -z zone1 'add fs ; set dir=/export/data1 ; set special=rpool/data1 ; set type=zfs ; end ; commit'
global # zonecfg -z zone1 export
create -b
set brand=solaris
set zonepath=/zones/zone1
set autoboot=false
set autoshutdown=shutdown
set ip-type=exclusive
add fs
set dir=/export/data1
set special=rpool/data1
set type=zfs
end
add device
set match=/dev/zvol/dsk/rpool/export/vol1
end


At reboot of the zone the service svc:/system/filesystem/local fails to start

zone1 # svcs -xv
svc:/system/filesystem/local:default (local file system mounts)
State: maintenance since Mon May 09 10:34:05 2016
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://support.oracle.com/msg/SMF-8000-KS
See: /var/svc/log/system-filesystem-local:default.log
Impact: 14 dependent services are not running:
svc:/system/filesystem/ufs/quota:default
svc:/milestone/multi-user:default
svc:/system/fm/smtp-notify:default
svc:/milestone/multi-user-server:default
svc:/system/system-log:default
svc:/network/smtp:sendmail
svc:/network/sendmail-client:default
svc:/system/filesystem/autofs:default
svc:/network/ssh:default
svc:/network/inetd:default
svc:/system/cron:default
svc:/application/security/compliance:generate-guide
svc:/network/shares:default
svc:/application/pkg/repositories-setup:default
zone1 # tail -6 /var/svc/log/system-filesystem-local:default.log
[ May 9 10:34:05 Executing start method ("/lib/svc/method/fs-local"). ]
cannot mount 'rpool/export' on '/export': directory is not empty
cannot mount 'rpool/export' on '/export': directory is not empty
cannot mount 'rpool/export/home' on '/export/home': failure mounting parent dataset
WARNING: /usr/sbin/zfs mount -a failed: one or more file systems failed to mount
[ May 9 10:34:05 Method "start" exited with status 95. ]

 

Changes

Adding a ZFS file system to the zone

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.