3 Replies Latest reply: Apr 18, 2012 1:55 PM by thor22 RSS

    Mounting ZFS filesystems: (1/10)cannot mount  directory is not empt(10/10

    thor22
      Hi

      in zone:

      bash-3.00# reboot

      [NOTICE: Zone rebooting]


      SunOS Release 5.10 Version Generic_144488-17 64-bit
      Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
      Hostname: dbspfox1
      Reading ZFS config: done.
      Mounting ZFS filesystems: (1/10)cannot mount '/zonedev/dbspfox1/biblio/P622/dev': directory is not empt(10/10 )
      svc:/system/filesystem/local:default: WARNING: /usr/sbin/zfs mount -a failed: exit status 1
      Nov 4 10:07:33 svc.startd[12427]: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" fa iled with exit status 95.
      Nov 4 10:07:33 svc.startd[12427]: system/filesystem/local:default failed fatally: transitioned to maintenanc e (see 'svcs -xv' for details)


      For sure the directory in not empty, but the others too are not empty.

      bash-3.00# zfs list
      NAME USED AVAIL REFER MOUNTPOINT
      zonedev 236G 57.6G 23K /zonedev
      zonedev/dbspfox1 236G 57.6G 1.06G /zonedev/dbspfox1
      zonedev/dbspfox1/biblio 235G 57.6G 23K /zonedev/dbspfox1/biblio
      zonedev/dbspfox1/biblio/P622 235G 57.6G 10.4G /zonedev/dbspfox1/biblio/P622
      zonedev/dbspfox1/biblio/P622/31mars 81.3G 57.6G 47.3G /zonedev/dbspfox1/biblio/P622/31mars
      zonedev/dbspfox1/biblio/P622/31mars/data 34.0G 57.6G 34.0G /zonedev/dbspfox1/biblio/P622/31mars/data
      zonedev/dbspfox1/biblio/P622/dev 89.7G 57.6G 50.1G /zonedev/dbspfox1/biblio/P622/dev
      zonedev/dbspfox1/biblio/P622/dev/data 39.6G 57.6G 39.6G /zonedev/dbspfox1/biblio/P622/dev/data
      zonedev/dbspfox1/biblio/P622/preprod 53.3G 57.6G 12.9G /zonedev/dbspfox1/biblio/P622/preprod
      zonedev/dbspfox1/biblio/P622/preprod/data 40.4G 57.6G 40.4G /zonedev/dbspfox1/biblio/P622/preprod/data


      bash-3.00# svcs -xv
      svc:/system/filesystem/local:default (local file system mounts)
      State: maintenance since Fri Nov 04 10:07:33 2011
      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: 33 dependent services are not running:
      svc:/system/webconsole:console
      svc:/system/filesystem/autofs:default
      svc:/system/system-log:default
      svc:/milestone/multi-user:default
      svc:/milestone/multi-user-server:default
      svc:/application/autoreg:default
      svc:/application/stosreg:default
      svc:/application/graphical-login/cde-login:default
      svc:/application/cde-printinfo:default
      svc:/network/smtp:sendmail
      svc:/application/management/seaport:default
      svc:/application/management/snmpdx:default
      svc:/application/management/dmi:default
      svc:/application/management/sma:default
      svc:/network/sendmail-client:default
      svc:/network/ssh:default
      svc:/system/sysidtool:net
      svc:/network/rpc/bind:default
      svc:/network/nfs/nlockmgr:default
      svc:/network/nfs/client:default
      svc:/network/nfs/status:default
      svc:/network/nfs/cbd:default
      svc:/network/nfs/mapid:default
      svc:/network/inetd:default
      svc:/system/sysidtool:system
      svc:/system/postrun:default
      svc:/system/filesystem/volfs:default
      svc:/system/cron:default
      svc:/application/font/fc-cache:default
      svc:/system/boot-archive-update:default
      svc:/network/shares/group:default
      svc:/network/shares/group:zfs
      svc:/system/sac:default

      svc:/network/rpc/gss:default (Generic Security Service)
      State: uninitialized since Fri Nov 04 10:07:31 2011
      Reason: Restarter svc:/network/inetd:default is not running.
      See: http://sun.com/msg/SMF-8000-5H
      See: man -M /usr/share/man -s 1M gssd
      Impact: 17 dependent services are not running:
      svc:/network/nfs/client:default
      svc:/system/filesystem/autofs:default
      svc:/system/webconsole:console
      svc:/system/system-log:default
      svc:/milestone/multi-user:default
      svc:/milestone/multi-user-server:default
      svc:/application/autoreg:default
      svc:/application/stosreg:default
      svc:/application/graphical-login/cde-login:default
      svc:/application/cde-printinfo:default
      svc:/network/smtp:sendmail
      svc:/application/management/seaport:default
      svc:/application/management/snmpdx:default
      svc:/application/management/dmi:default
      svc:/application/management/sma:default
      svc:/network/sendmail-client:default
      svc:/network/ssh:default

      svc:/application/print/server:default (LP print server)
      State: disabled since Fri Nov 04 10:07:31 2011
      Reason: Disabled by an administrator.
      See: http://sun.com/msg/SMF-8000-05
      See: man -M /usr/share/man -s 1M lpsched
      Impact: 1 dependent service is not running:
      svc:/application/print/ipp-listener:default

      svc:/network/rpc/smserver:default (removable media management)
      State: uninitialized since Fri Nov 04 10:07:32 2011
      Reason: Restarter svc:/network/inetd:default is not running.
      See: http://sun.com/msg/SMF-8000-5H
      See: man -M /usr/share/man -s 1M rpc.smserverd
      Impact: 1 dependent service is not running:
      svc:/system/filesystem/volfs:default

      svc:/network/rpc/rstat:default (kernel statistics server)
      State: uninitialized since Fri Nov 04 10:07:31 2011
      Reason: Restarter svc:/network/inetd:default is not running.
      See: http://sun.com/msg/SMF-8000-5H
      See: man -M /usr/share/man -s 1M rpc.rstatd
      See: man -M /usr/share/man -s 1M rstatd
      Impact: 1 dependent service is not running:
      svc:/application/management/sma:default


      bash-3.00# df -h
      Filesystem size used avail capacity Mounted on
      / 59G 1.1G 58G 2% /
      /dev 59G 1.1G 58G 2% /dev
      /lib 261G 7.5G 253G 3% /lib
      /platform 261G 7.5G 253G 3% /platform
      /sbin 261G 7.5G 253G 3% /sbin
      /usr 261G 7.5G 253G 3% /usr
      proc 0K 0K 0K 0% /proc
      ctfs 0K 0K 0K 0% /system/contract
      mnttab 0K 0K 0K 0% /etc/mnttab
      objfs 0K 0K 0K 0% /system/object
      swap 2.1G 248K 2.1G 1% /etc/svc/volatile
      fd 0K 0K 0K 0% /dev/fd
      swap 2.1G 0K 2.1G 0% /tmp
      swap 2.1G 16K 2.1G 1% /var/run
      zonedev/dbspfox1/biblio
      293G 23K 58G 1% /zonedev/dbspfox1/biblio
      zonedev/dbspfox1/biblio/P622
      293G 10G 58G 16% /zonedev/dbspfox1/biblio/P622
      zonedev/dbspfox1/biblio/P622/31mars
      293G 47G 58G 46% /zonedev/dbspfox1/biblio/P622/31mars
      zonedev/dbspfox1/biblio/P622/31mars/data
      293G 34G 58G 38% /zonedev/dbspfox1/biblio/P622/31mars/data
      zonedev/dbspfox1/biblio/P622/dev/data
      293G 40G 58G 41% /zonedev/dbspfox1/biblio/P622/dev/data
      zonedev/dbspfox1/biblio/P622/preprod
      293G 13G 58G 19% /zonedev/dbspfox1/biblio/P622/preprod
      zonedev/dbspfox1/biblio/P622/preprod/data
      293G 40G 58G 42% /zonedev/dbspfox1/biblio/P622/preprod/data


      What i missed? what happen with zfs dev directory?

      thank you

      Walter