Brothers,

I've fixed the issue by reconfigure the system device tree as:

# devfsadm -Cv

Some new devices were added,and then zfs works fine.

Thanks for your kind attention.

Rgds,
Simon

On 5/10/07, Simon <[EMAIL PROTECTED]> wrote:
Gurus,

My fresh installed Solaris 10 U3 can't bootup normally on T2000
server(System Firmware 6.4.4 ),the OS can only enter into the
single-user mode,as one critical service fails to start:

# uname -a
SunOS t2000 5.10 Generic_118833-33 sun4v sparc SUNW,Sun-Fire-T200
(it's not patched,just finished the installation)

# svcs -vx
svc:/system/device/local:default (Standard Solaris device configuration.)
 State: maintenance since Thu May 10 12:04:36 2007
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
   See: http://sun.com/msg/SMF-8000-KS
   See: /etc/svc/volatile/system-device-local:default.log
Impact: 12 dependent services are not running:
        svc:/system/filesystem/minimal:default
        svc:/system/manifest-import:default
        svc:/milestone/single-user:default
        svc:/system/filesystem/local:default
        svc:/milestone/multi-user:default
        svc:/milestone/multi-user-server:default
        svc:/network/inetd-upgrade:default
        svc:/application/font/fc-cache:default
        svc:/system/console-login:default
        svc:/network/rpc/bind:default
        svc:/milestone/devices:default
        svc:/network/initial:default

# svcprop svc:/system/device/local:default |grep 'start\/exec'
start/exec astring /lib/svc/method/devices-local

Then I try to run the startup script with debug mode,the output as:
+ /sbin/zonename
+ [ global != global ]
+ . /lib/svc/share/smf_include.sh
SMF_EXIT_OK=0
SMF_EXIT_ERR_FATAL=95
SMF_EXIT_ERR_CONFIG=96
SMF_EXIT_MON_DEGRADE=97
SMF_EXIT_MON_OFFLINE=98
SMF_EXIT_ERR_NOSMF=99
SMF_EXIT_ERR_PERM=100
+ svcprop -q -p system/reconfigure system/svc/restarter:default
+ [ 1 -eq 0 ]
+ /usr/sbin/prtconf -F
fbdev=
+ [ 1 -eq 0 ]
+ [ -x /usr/sbin/zfs ]
+ /usr/sbin/zfs volinit
internal error: Bad file number
Abort - core dumped
+ exit 95

It's obvious that the script exit with non-zero is due to the code
'zfs volinit':

# zfs volinit
internal error: Bad file number
Abort - core dumped

# zpool status
internal error: Bad file number
Abort - core dumped
#
# zfs list
internal error: Bad file number
Abort - core dumped
#

seems that the  'zfs' not function well,How to fix it?

TIA.

Rgds,
Simon

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to