9 Replies Latest reply: Aug 10, 2008 11:43 PM by 807559 RSS

    svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed:

    807559
      Hi

      We have a problem with local mount on a number of boxes, the error message we see on the screen is:
      svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed: exit status 32
      May 17 11:42:05 svc.startd[17769]: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95.
      [ system/filesystem/local:default failed fatally (see 'svcs -x' for details) ]
      In /var/svc/log/system-filesystem-local:default.log

      we have the following:
      [ May 17 11:48:59 Leaving maintenance because clear requested. ]
      [ May 17 11:48:59 Enabled. ]
      [ May 17 11:48:59 Executing start method ("/lib/svc/method/fs-local") ]
      [ May 17 11:48:59 Method "start" exited with status 0 ]
      [ May 17 11:49:45 Enabled. ]
      [ May 17 11:49:49 Executing start method ("/lib/svc/method/fs-local") ]
      mount: /tmp is already mounted or swap is busy
      WARNING: /sbin/mountall -l failed: exit status 32
      [ May 17 11:49:49 Method "start" exited with status 95 ]
      It looks to me like '/lib/svc/method/fs-local' is called twice. Though I have no idea of why.

      The workaround is:
      1) umount /tmp
      2) svcadm clear svc:/system/filesystem/local:default

      Has any one seen something like this?

      Any hints or suggestion for root cause would be appreciated?

      Sincerely

      Henry
        • 1. Re: svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed
          807559
          My guess is that svc.startd was restarted. What does "svcs restarter" report? Does
          /var/svc/log/svc.startd.log indicate a recent restart?
          • 2. Re: svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed
            abrante
            Also, what does your /etc/vfstab looks like?

            7/M.
            • 3. Re: svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed
              807559
              Hello

              Thank you very much for your input.

              It turned out that the proprietarry SW that I installed changed the /sbin/mountall, the /sbin/mountall that was installed where missing
               #
                 # Ignore entries already mounted
                 #
                 /usr/bin/grep "   $mountp   " /etc/mnttab >/dev/null 2>&1 && continue
              And it was necessary to replace:
              test -n "$mntlist" && /sbin/mount -a $mntlist
              with
              [ -z "$mntlist" ] || /sbin/mount -a $mntlist
              Otherwise return code is 1.

              I appologies for the inconvenience, and thank you for your time.

              Sincerely
              Henry
              • 4. Re: svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed
                807559
                I had the same issue, but my /usr/bin/grep was completely missing. I'm not sure what I've done to delete that... I created a symlink to the blastwave ggrep in /opt/csw/bin and that allowed me to proceed.
                • 5. Re: svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed
                  807559
                  1. svcs -a
                  bash-3.00# svcs -a
                  STATE STIME FMRI
                  legacy_run 13:02:34 lrc:/etc/rcS_d/S29wrsmcfg
                  disabled 12:58:53 svc:/network/iscsi_initiator:default
                  disabled 12:58:53 svc:/system/metainit:default
                  disabled 12:58:53 svc:/platform/sun4u/mpxio-upgrade:default
                  disabled 12:58:54 svc:/network/ipfilter:default
                  disabled 12:58:54 svc:/network/rpc/nisplus:default
                  disabled 12:58:54 svc:/network/nis/server:default
                  disabled 12:58:54 svc:/network/nis/client:default
                  disabled 12:58:54 svc:/network/dns/client:default
                  disabled 12:58:54 svc:/network/ldap/client:default
                  disabled 12:58:54 svc:/network/nfs/cbd:default
                  disabled 12:58:54 svc:/network/nfs/mapid:default
                  disabled 12:58:54 svc:/network/inetd-upgrade:default
                  disabled 12:58:54 svc:/system/auditd:default
                  disabled 12:58:54 svc:/application/print/server:default
                  disabled 12:58:54 svc:/platform/sun4u/sf880drd:default
                  disabled 12:58:55 svc:/system/mdmonitor:default
                  disabled 12:58:55 svc:/system/rcap:default
                  disabled 12:58:55 svc:/network/rpc/bootparams:default
                  disabled 12:58:55 svc:/network/nfs/server:default
                  disabled 12:58:55 svc:/network/rarp:default
                  disabled 12:58:55 svc:/network/dhcp-server:default
                  disabled 12:58:55 svc:/application/management/webmin:default
                  disabled 12:58:55 svc:/network/dns/server:default
                  disabled 12:58:56 svc:/network/security/kadmin:default
                  disabled 12:58:56 svc:/network/security/krb5kdc:default
                  disabled 12:58:56 svc:/network/nis/passwd:default
                  disabled 12:58:56 svc:/network/nis/update:default
                  disabled 12:58:56 svc:/network/nis/xfr:default
                  disabled 12:58:56 svc:/network/slp:default
                  disabled 12:58:56 svc:/platform/sun4u/dcs:default
                  disabled 12:58:56 svc:/platform/sun4u/efdaemon:default
                  disabled 12:58:56 svc:/system/filesystem/volfs:default
                  disabled 12:58:56 svc:/system/consadm:default
                  disabled 12:58:56 svc:/system/sar:default
                  disabled 12:58:56 svc:/system/cvc:default
                  disabled 12:58:56 svc:/application/management/common-agent-container-1:default
                  online 12:58:53 svc:/system/svc/restarter:default
                  online 12:58:55 svc:/network/pfil:default
                  online 12:58:55 svc:/network/loopback:default
                  online 12:58:55 svc:/system/installupdates:default
                  online 12:58:55 svc:/milestone/name-services:default
                  online 12:58:57 svc:/network/physical:default
                  online 12:58:57 svc:/milestone/network:default
                  online 12:58:57 svc:/system/identity:node
                  online 12:59:00 svc:/system/basicreg:default
                  online 13:02:23 svc:/system/vxvm/vxvm-sysboot:default
                  online 13:02:24 svc:/system/filesystem/root:default
                  online 13:02:24 svc:/system/boot-archive:default
                  online 13:02:26 svc:/system/vxvm/vxvm-startup1:default
                  online 13:02:26 svc:/system/filesystem/usr:default
                  online 13:02:26 svc:/system/keymap:default
                  online 13:02:27 svc:/system/device/local:default
                  online 13:02:27 svc:/system/filesystem/minimal:default
                  online 13:02:27 svc:/system/identity:domain
                  online 13:02:27 svc:/system/picl:default
                  online 13:02:27 svc:/system/rmtmpfiles:default
                  online 13:02:27 svc:/system/name-service-cache:default
                  online 13:02:27 svc:/system/coreadm:default
                  online 13:02:27 svc:/system/sysevent:default
                  online 13:02:27 svc:/application/print/cleanup:default
                  online 13:02:27 svc:/system/power:default
                  online 13:02:27 svc:/system/cryptosvc:default
                  online 13:02:28 svc:/system/manifest-import:default
                  online 13:02:28 svc:/system/device/fc-fabric:default
                  online 13:02:34 svc:/system/vxvm/vxvm-startup2:default
                  online 13:02:34 svc:/system/vxvm/vxvm-startvc:default
                  online 13:02:34 svc:/milestone/devices:default
                  online 13:02:34 svc:/milestone/single-user:default
                  online 13:02:35 svc:/system/vxvm/vxvm-reconfig:default
                  online 13:02:35 svc:/network/initial:default
                  online 13:02:35 svc:/network/service:default
                  online 13:02:35 svc:/network/ntp:default
                  online 13:02:36 svc:/milestone/sysconfig:default
                  online 13:02:36 svc:/system/utmp:default
                  online 13:02:36 svc:/system/console-login:default
                  offline 12:58:54 svc:/system/sysidtool:net
                  offline 12:58:54 svc:/network/rpc/bind:default
                  offline 12:58:54 svc:/system/sysidtool:system
                  offline 12:58:54 svc:/network/rpc/keyserv:default
                  offline 12:58:54 svc:/network/nfs/status:default
                  offline 12:58:54 svc:/network/nfs/nlockmgr:default
                  offline 12:58:54 svc:/network/inetd:default
                  offline 12:58:54 svc:/network/nfs/client:default
                  offline 12:58:54 svc:/system/filesystem/autofs:default
                  offline 12:58:54 svc:/system/system-log:default
                  offline 12:58:54 svc:/network/smtp:sendmail
                  offline 12:58:54 svc:/system/cron:default
                  offline 12:58:55 svc:/milestone/multi-user:default
                  offline 12:58:55 svc:/system/vxfs/vxfsldlic:default
                  offline 12:58:55 svc:/network/ssh:default
                  offline 12:58:55 svc:/milestone/multi-user-server:default
                  offline 12:58:55 svc:/application/font/fc-cache:default
                  offline 12:58:55 svc:/application/print/ipp-listener:default
                  offline 12:58:56 svc:/system/sac:default
                  offline 12:58:56 svc:/system/dumpadm:default
                  offline 12:58:56 svc:/system/fmd:default
                  offline 12:58:56 svc:/system/zones:default
                  offline 12:58:56 svc:/system/vxvm/vxvm-recover:default
                  maintenance 13:02:36 svc:/system/filesystem/local:default
                  uninitialized 12:58:54 svc:/network/rpc/gss:default uninitialized 12:58:55 svc:/network/rpc/meta:default uninitialized 12:58:55 svc:/application/x11/xfs:default uninitialized 12:58:55 svc:/application/font/stfsloader:default
                  uninitialized 12:58:55 svc:/application/print/rfc1179:default
                  uninitialized 12:58:55 svc:/network/rpc/ocfserv:default uninitialized 12:58:55 svc:/network/rpc/smserver:default uninitialized 12:58:55 svc:/network/rpc/rex:default uninitialized 12:58:55 svc:/network/rpc/mdcomm:default uninitialized 12:58:55 svc:/network/rpc/metamed:default uninitialized 12:58:55 svc:/network/rpc/metamh:default uninitialized 12:58:55 svc:/network/rpc/rstat:default uninitialized 12:58:55 svc:/network/rpc/rusers:default uninitialized 12:58:55 svc:/network/rpc/spray:default uninitialized 12:58:55 svc:/network/rpc/wall:default uninitialized 12:58:55 svc:/network/tname:default uninitialized 12:58:56 svc:/network/security/ktkt_warn:default
                  uninitialized 12:58:56 svc:/network/security/krb5_prop:default
                  uninitialized 12:58:56 svc:/network/telnet:default uninitialized 12:58:56 svc:/network/nfs/rquota:default uninitialized 12:58:56 svc:/network/apocd/udp:default uninitialized 12:58:56 svc:/network/uucp:default uninitialized 12:58:56 svc:/network/chargen:dgram uninitialized 12:58:56 svc:/network/chargen:stream uninitialized 12:58:56 svc:/network/daytime:dgram uninitialized 12:58:56 svc:/network/daytime:stream uninitialized 12:58:56 svc:/network/discard:dgram uninitialized 12:58:56 svc:/network/discard:stream uninitialized 12:58:56 svc:/network/echo:dgram uninitialized 12:58:56 svc:/network/echo:stream uninitialized 12:58:56 svc:/network/time:dgram uninitialized 12:58:56 svc:/network/time:stream uninitialized 12:58:56 svc:/network/ftp:default uninitialized 12:58:56 svc:/network/comsat:default uninitialized 12:58:56 svc:/network/finger:default uninitialized 12:58:56 svc:/network/login:eklogin uninitialized 12:58:56 svc:/network/login:klogin uninitialized 12:58:56 svc:/network/login:rlogin uninitialized 12:58:56 svc:/network/rexec:default uninitialized 12:58:56 svc:/network/shell:default uninitialized 12:58:56 svc:/network/shell:kshell uninitialized 12:58:56 svc:/network/talk:default uninitialized 12:58:56 svc:/network/rpc-100235_1/rpc_ticotsord:default
                  uninitialized 12:58:56 svc:/network/rpc-100083_1/rpc_tcp:default
                  uninitialized 12:58:56 svc:/network/rpc-100068_2-5/rpc_udp:default
                  uninitialized 12:58:56 svc:/network/bpcd/tcp:default uninitialized 12:58:56 svc:/network/vnetd/tcp:default uninitialized 12:58:56 svc:/network/vopied/tcp:default uninitialized 12:58:56 svc:/network/bpjava-msvc/tcp:default
                  bash-3.00#

                  2. bash-3.00# svcs -xv filesystem/local
                  svc:/system/filesystem/local:default (local file system mounts)
                  State: maintenance since Fri Nov 09 13:02:36 2007
                  Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
                  See: http://sun.com/msg/SMF-8000-KS
                  See: /var/svc/log/system-filesystem-local:default.log
                  Impact: 22 dependent services are not running:
                  svc:/system/sysidtool:net
                  svc:/network/rpc/bind:default
                  svc:/network/nfs/nlockmgr:default
                  svc:/network/nfs/client:default
                  svc:/system/filesystem/autofs:default
                  svc:/system/dumpadm:default
                  svc:/system/fmd:default
                  svc:/system/system-log:default
                  svc:/milestone/multi-user:default
                  svc:/milestone/multi-user-server:default
                  svc:/system/zones:default
                  svc:/system/vxvm/vxvm-recover:default
                  svc:/network/smtp:sendmail
                  svc:/network/ssh:default
                  svc:/network/nfs/status:default
                  svc:/network/rpc/keyserv:default
                  svc:/network/inetd:default
                  svc:/system/sysidtool:system
                  svc:/system/cron:default
                  svc:/system/vxfs/vxfsldlic:default
                  svc:/application/font/fc-cache:default
                  svc:/system/sac:default
                  bash-3.00#

                  when svc:/system/filesystem/local was fixed telnetd and inetd are all back in services.


                  tj
                  • 6. Re: svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed
                    807559
                    Hi

                    i have the same probleme with my server Solaris10:

                    with this command "tail system-filesystem-local:default.log" , i got :

                    mount: /dev/dsk/c1t0d0s7 est deja monte ou /home0 est occup
                    mount: /dev/dsk/c1t1d0s0 est deja monte ou /export/software est occup
                    mount: /dev/dsk/c1t1d0s1 est deja monte ou /export/home1 est occup
                    WARNING: /sbin/mountall -l failed: exit status 1
                    [ dec   4 17:03:21 Method "start" exited with status 95 ]
                    [ dec   4 17:13:05 Leaving maintenance because disable requested. ]
                    [ dec   4 17:13:05 Disabled. ]
                    [ dec   4 17:15:24 Executing start method ("/lib/svc/method/fs-local") ]
                    [ dec   4 17:15:36 Method "start" exited with status 0 ]

                    with the svc.startd.log file :

                    dec 4 09:58:57/140 ERROR: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95.
                    dec 4 09:58:57/140: system/filesystem/local:default failed fatally
                    dec 4 10:15:30/126 ERROR: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95.
                    dec 4 10:18:54/125 ERROR: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95.
                    dec 4 10:36:40/5: svc:/network/nis/server:default: Instance stopping because process dumped core.
                    dec 4 10:38:14/5: svc:/network/nis/server:default: Instance stopping because process dumped core.
                    dec 4 10:39:34/5: svc:/network/nis/server:default: Instance stopping because process dumped core.
                    dec 4 10:40:54/5: svc:/network/nis/server:default: Instance stopping because process dumped core.
                    dec


                    My problem is when i want to reboot my server, it start and stop in single mode with the console message :
                    svc:/system/filesystem/local:default : warning /sbin/mountall -l fail (status 1)

                    svc.started : svc:/system/filesystem/local:default : methode
                    "/lib/svc/method/fs-local" failed (status 95)

                    system/filesystem/local:default failed fataly

                    i use the nis authentification and share volumes with nfs

                    does anyone can help me ?
                    • 7. Re: svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed
                      807559
                      I am facing the same problem .mountall returns 1 for all concat/strip / mirror created in solaris 8 after upgrading to solaris 10 using liveupgrade .

                      Due to this services filesystem/local and 21 dependent services do not start. Do i need to remove these entries from /etc/vfstab and then mount this separately later on .
                      • 8. Re: svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed
                        807559
                        Thanks it worked for me after svcadm clear .... command it told me some zfs file zyztems can not me mounted and so I removed the bad zfs mount point then svcadm clear....
                        • 9. Re: svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed
                          791266
                          >

                          Hi,

                          Please, don't resurrect old threads. I'm locking this one.

                          Kaj