svc:/system/filesystem/local is always in maintenance status

Hello Friends,

I need to change network filesystem status as online but it always seems in maintenance mode, I appreciate your any suggestion to change its state as online.

shell>svcadm enable svc:/system/filesystem/local
shell>svcs -l svc:/system/filesystem/local
fmri         svc:/system/filesystem/local:default
name         local file system mounts
enabled      true
state        maintenance
next_state   none
state_time   Thu Jun 03 18:00:01 2010
logfile      /var/svc/log/system-filesystem-local:default.log
restarter    svc:/system/svc/restarter:default
dependency   require_all/none svc:/milestone/single-user (online)
dependency   require_all/none svc:/system/filesystem/minimal (online)
dependency   require_all/none svc:/system/vxvm/vxvm-reconfig (online)
shell>

Solaris OS is newly setup, there is no zone or any related system.

shell>who -r
   .       run-level 3  Jun  3 17:59     3      0  S
shell>uname -a
SunOS shell 5.10 Generic_139555-08 sun4v sparc SUNW,SPARC-Enterprise-T1000

Regards

What does /var/svc/log/system-filesystem-local:default.log say? Are there any error messages?

i tried to below command but,

shell>mount -a
mount: /dev/md/dsk/d8 is already mounted or /globaldevices is busy
mount: /tmp is already mounted or swap is busy
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/taplog: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/tap: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
shell>/sbin/mountall
mount: /dev/md/dsk/d8 is already mounted or /globaldevices is busy
mount: /tmp is already mounted or swap is busy
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/tap: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/taplog: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
shell>

after than i tried to this,

shell>svcadm -v disable svc:/system/filesystem/local
svc:/system/filesystem/local:default disabled.
shell>svcadm -v enable svc:/system/filesystem/local
svc:/system/filesystem/local:default enabled.
shell>svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed: exit status 1
Reading ZFS config: done.
Jun  4 14:35:56 svc.startd[7]: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95.
Jun  4 14:35:56 svc.startd[7]: system/filesystem/local:default failed fatally: transitioned to maintenance (see 'svcs -xv' for details)
shell>
shell>cat /var/svc/log/system-filesystem-local:default.log
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/taplog: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/tap: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
WARNING: /sbin/mountall -l failed: exit status 1
[ May 25 12:03:28 Method "start" exited with status 95 ]
[ May 26 16:12:37 Executing start method ("/lib/svc/method/fs-local") ]
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/taplog: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/tap: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
WARNING: /sbin/mountall -l failed: exit status 1
[ May 26 16:12:39 Method "start" exited with status 95 ]
[ Jun  2 16:16:29 Executing start method ("/lib/svc/method/fs-local") ]
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/taplog: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/tap: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
WARNING: /sbin/mountall -l failed: exit status 1
[ Jun  2 16:16:31 Method "start" exited with status 95 ]
[ Jun  2 17:36:17 Executing start method ("/lib/svc/method/fs-local") ]
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/taplog: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/tap: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
WARNING: /sbin/mountall -l failed: exit status 1
[ Jun  2 17:36:19 Method "start" exited with status 95 ]
[ Jun  3 17:59:58 Executing start method ("/lib/svc/method/fs-local") ]
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/tap: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/taplog: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
WARNING: /sbin/mountall -l failed: exit status 1
[ Jun  3 18:00:01 Method "start" exited with status 95 ]
[ Jun  4 14:35:43 Leaving maintenance because disable requested. ]
[ Jun  4 14:35:43 Disabled. ]
[ Jun  4 14:35:56 Enabled. ]
[ Jun  4 14:35:56 Executing start method ("/lib/svc/method/fs-local") ]
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/tap: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/taplog: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
WARNING: /sbin/mountall -l failed: exit status 1
[ Jun  4 14:35:56 Method "start" exited with status 95 ]
shell>

It seems you have two entries in your /etc/vfstab file that cannot be mounted. Try to find the two lines beginning with /dev/vx/dsk/tapcgwdg/tap and /dev/vx/dsk/tapcgwdg/taplog, then place a # in front of the two lines and finally run

svcadm clear filesystem/local
1 Like

First of all my aim was to be able to use ssh daemon so thats way i asked for your help.

Now It works like a charm after trying below commands:

#svcadm -v clear svc:/system/filesystem/local:default
#svcadm -v enable svc:/system/filesystem/local:default

#svcadm disable ssh
#svcadm enable ssh

Danke Sch�n :smiley: