Kristof: We had not been able to test diskless clients due to the following bugids:
6493699 - smosservice/smdiskless needs to be Theobroma aware and smdiskless fails Workaround: Use the sharemgr command to manually share the root, swap, usr areas with correct permissions after the smosservice add is done. The old share command will be like: share -F nfs -o ro /export/exec/Solaris_11_i386.all/usr share -F nfs -o rw=<clientname>,root=<clientname> \ /export/root/<clientname> share -F nfs -o rw=<clientname>,root=<clientname> \ /export/dump/<clientname> The following bugid also impact x86 diskless client as well: 6387034 - x86 Diskless client can't get the specific grub menu. Workaround: create the link file in /tftpboot. # pwd /tftpboot # ln -s ./ tftpboot As for the missing "fi" in /usr/sdam/lib/wbem/config_tftp, this is a bug and it should be filed. If you need to delete diskless client manually, you can try the following: 1. First halt the client. On the file server unshare /export/root/dc1-5 rm -rf /export/root/dc1-5 unshare /export/swap/dc1-5 rm -rf /export/swap/dc1-5 unshare /export/dump/dc1-5 (if it exists) rm -rf /export/dump/dc1-5 (if it exists) rm /tftpboot/menu.01<etheraddress> kristof wrote: > I'm tryng to setup a server for diskless clients. I'm using opensolaris b68 > and we are using a mirrored zpool to host the files. > > Running smosservice add succeeded, but smdiskless always fails :-( > > /usr/sadm/bin/smosservice list -H 127.0.0.1 -u root Loading Tool: > com.sun.admin.osservermgr.cli.OsServerMgrCli from 127.0.0.1Login to 127.0.0.1 > as user root was successful. > Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from 127.0.0.1 was > successful. > Platform > -------------------------------------------------------------------------------- > Services may have been added but corresponding "/export/root/clone" areas do > not exist. Check "/export" and delete or add service again. Services: > i386.i86pc.Solaris_11 > > Any help is welcome ... > > I my first attemps I always got: > > EXM_RMIERROR , there was also an error log in the root filesystem (see at the > end of this post) > > This is the error I'm getting ath this time: > > [root at FileServer-07:55 PM-/export]# /usr/sadm/bin/smdiskless add -H > 127.0.0.1 -u root -- -n test100 -i 192.168.10.100 -e 00:0e:0c:b3:cc:f8 -x > os=i386.i86pc.Solaris_11 -x root=/export/root/test100 -x > swap=/export/swap/test100 -x dump=/export/dump/test100 -x dumpsize=512 -x > swapsize=512 -x tz=Europe/Brussels -x netmask=255.255.255.0 -x > security_policy=none -x locale=C > Loading Tool: com.sun.admin.osservermgr.cli.OsServerMgrCli from 127.0.0.1 > Login to 127.0.0.1 as user root was successful. > Debugging enabled > Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from 127.0.0.1 was > successful. > OsServerMgrCli.setProperties > calling initCommandLineOptions > calling doFirstArgPass > parseMyArgs->args.length = 28 > args[0] = -n > args[1] = test100 > args[2] = -i > args[3] = 192.168.10.100 > args[4] = -e > args[5] = 00:0e:0c:b3:cc:f8 > args[6] = -x > args[7] = os=i386.i86pc.Solaris_11 > args[8] = -x > args[9] = root=/export/root/test100 > args[10] = -x > args[11] = swap=/export/swap/test100 > args[12] = -x > args[13] = dump=/export/dump/test100 > args[14] = -x > args[15] = dumpsize=512 > args[16] = -x > args[17] = swapsize=512 > args[18] = -x > args[19] = tz=Europe/Brussels > args[20] = -x > args[21] = netmask=255.255.255.0 > args[22] = -x > args[23] = security_policy=none > args[24] = -x > args[25] = locale=C > args[26] = -K > args[27] = DA > Task = DA > Action: Add a diskless client > calling parseAndValidateArgs > ipAddress=192.168.10.100 > ethernetAddress=00:0e:0c:b3:cc:f8 > hostName=test100 > in parseXDcAddOptions() > Parsed out x property: os > Parsed out x property value: i386.i86pc.Solaris_11 > Parsed out x property: root > Parsed out x property value: /export/root/test100 > Parsed out x property: swap > Parsed out x property value: /export/swap/test100 > Parsed out x property: dump > Parsed out x property value: /export/dump/test100 > Parsed out x property: dumpsize > Parsed out x property value: 512 > Parsed out x property: swapsize > Parsed out x property value: 512 > Parsed out x property: tz > Parsed out x property value: Europe/Brussels > Parsed out x property: netmask > Parsed out x property value: 255.255.255.0 > Parsed out x property: security_policy > Parsed out x property value: none > Parsed out x property: locale > Parsed out x property value: C > XArgs=[os=i386.i86pc.Solaris_11, root=/export/root/test100, > swap=/export/swap/test100, dump=/export/dump/test100, dumpsize=512, > swapsize=512, tz=Europe/Brussels, netmask=255.255.255.0, > security_policy=none, locale=C] > validateOsServerOption: null 127.0.0.1 file > runCommandLine, OsServerMgrException: Could not add/modify/remove entry for > "host251.office.qlayer.com" in /export/root/test100//etc/inet/hosts. > Could not add/modify/remove entry for "host251.office.qlayer.com" in > /export/root/test100//etc/inet/hosts. > > I found 1 possible related bug in one of the wbem scripts > (/usr/sdam/lib/wbem/config_tftp) but still it's not working. > > In /usr/sdam/lib/wbem/config_tftp there was a missing "fi" on line 83 > > The following log was found in the root > > # > # An unexpected error has been detected by Java Runtime Environment: > # > # SIGSEGV (0xb) at pc=0xfee8919b, pid=5178, tid=107 > # > # Java VM: Java HotSpot(TM) Server VM (1.6.0_01-b06 mixed mode) > # Problematic frame: > # C [libc.so.1+0x3919b] strlen+0xb > # > # If you would like to submit a bug report, please visit: > # http://java.sun.com/webapps/bugreport/crash.jsp > # > > --------------- T H R E A D --------------- > > Current thread (0x08612800): JavaThread "RMI TCP Connection(8)-10.0.2.1" > daemon [_thread_in_native, id=107] > > siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x683d7772 > > Registers: > EAX=0x683d7772, EBX=0xfef45000, ECX=0xedccb2c5, EDX=0x00000002 > ESP=0xedccb12c, EBP=0xedccb14c, ESI=0x00000000, EDI=0xedccb288 > EIP=0xfee8919b, EFLAGS=0x00010202 > > Top of Stack: (sp=0xedccb12c) > 0xedccb12c: feeded14 683d7772 08111e18 00000000 > 0xedccb13c: edc0d6cc edccb288 edccc864 edab0e70 > 0xedccb14c: edccc864 edbe764a 00000000 edccb288 > 0xedccb15c: 00000000 084524d0 00000000 00000001 > 0xedccb16c: edccba8c edcccaa4 edccca7c edccc8d0 > 0xedccb17c: edc0d6cc edccb2a4 74736f68 2e373131 > 0xedccb18c: 74736574 2e62616c 79616c71 632e7265 > 0xedccb19c: fe006d6f edccb2a4 edccb2a0 edccb21c > > Instructions: (pc=0xfee8919b) > 0xfee8918b: 44 24 08 5f c3 8b 54 24 04 8b c2 83 e2 03 74 25 > 0xfee8919b: 80 38 00 74 41 40 83 fa 03 74 1a 80 38 00 74 36 > > Stack: [0xedc7e000,0xedcce000), sp=0xedccb12c, free space=308k > Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native > code) > C [libc.so.1+0x3919b] strlen+0xb > C [libsmoss.so+0x1764a] setup_server_info+0x13a > C [libsmoss.so+0xef3a] smossdcadd+0xee > C [libsmoss.so+0x13cf3] smossdcadd_jni+0x7f > C [libsmoss.so+0x1c2ae] > Java_com_sun_wbem_solarisprovider_osserver_OsServerNative_dc_1add_1native+0x7a > j > com.sun.wbem.solarisprovider.osserver.OsServerNative.dc_add_native(Lcom/sun/wbem/solarisprovider/osserver/DisklessClient;Lcom/sun/wbem/solarisprovider/osserver/OsServerLog;)I+0 > j > com.sun.wbem.solarisprovider.osserver.OsServerNative.dc_add(Lcom/sun/wbem/solarisprovider/osserver/DisklessClient;Lcom/sun/wbem/solarisprovider/osserver/OsServerLog;)V+8 > j > com.sun.wbem.solarisprovider.osserver.Solaris_DisklessClient.createInstance(Ljavax/wbem/cim/CIMObjectPath;Ljavax/wbem/cim/CIMInstance;)Ljavax/wbem/cim/CIMObjectPath;+922 > j > com.sun.wbem.cimom.adapters.provider.java.OldInterfaceConverter.createInstance(Ljavax/wbem/cim/CIMObjectPath;Ljavax/wbem/cim/CIMInstance;)Ljavax/wbem/cim/CIMObjectPath;+21 > j > com.sun.wbem.cimom.CIMOMImpl.csInstance(Ljavax/wbem/cim/CIMNameSpace;Ljavax/wbem/cim/CIMObjectPath;Ljavax/wbem/cim/CIMInstance;ZZZ[Ljava/lang/String;Z)Ljavax/wbem/cim/CIMObjectPath;+301 > j > com.sun.wbem.cimom.CIMOMImpl.intaddCIMElement(Ljavax/wbem/cim/CIMNameSpace;Ljavax/wbem/cim/CIMObjectPath;Ljavax/wbem/cim/CIMInstance;Z)Ljavax/wbem/cim/CIMObjectPath;+36 > j > com.sun.wbem.cimom.CIMOMImpl.createInstance(Ljava/lang/String;Ljavax/wbem/cim/CIMNameSpace;Ljavax/wbem/cim/CIMObjectPath;Ljavax/wbem/cim/CIMInstance;Lcom/sun/wbem/cimom/ServerSecurity;)Ljavax > /wbem/cim/CIMObjectPath;+41 > j > com.sun.wbem.cimom.adapters.client.rmi.CIMOMRMIImpl.createInstance(Ljava/lang/String;Ljavax/wbem/cim/CIMNameSpace;Ljavax/wbem/cim/CIMObjectPath;Ljavax/wbem/cim/CIMInstance;Ljavax/wbem/securit > y/SecurityToken;)Ljavax/wbem/cim/CIMObjectPath;+79 > j > com.sun.wbem.cimom.adapters.client.rmi.CIMOM_1Impl.createInstance(Ljava/lang/String;Ljavax/wbem/cim/CIMNameSpace;Ljavax/wbem/cim/CIMObjectPath;Ljavax/wbem/cim/CIMInstance;Ljavax/wbem/security > /SecurityToken;)Ljavax/wbem/cim/CIMObjectPath;+11 > v ~StubRoutines::call_stub > V [libjvm.so+0xc8923] > V [libjvm.so+0xc8bcb] > V [libjvm.so+0xc8c03] > V [libjvm.so+0x466b4a] > V [libjvm.so+0x16b55f] > V [libjvm.so+0x16c605] > C [libjava.so+0xe843] Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x27 > j > sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 > j > sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87 > j > sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 > j > java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161 > j > sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V+242 > j sun.rmi.transport.Transport$1.run()Ljava/lang/Object;+23 > v ~StubRoutines::call_stub > V [libjvm.so+0xc8923] > V [libjvm.so+0xc8bcb] > V [libjvm.so+0xc8c03] > V [libjvm.so+0x10f4cc] > C [libjava.so+0xd7e7] > Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2Ljava_security_AccessControlContext_2+0x2b > j > java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0 > j sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z+163 > j > sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V+185 > j sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V+685 > j sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V+50 > j > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Ljava/lang/Runnable;)V+59 > j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+28 > j java.lang.Thread.run()V+11 > v ~StubRoutines::call_stub > V [libjvm.so+0xc8923] > V [libjvm.so+0xc8bcb] > V [libjvm.so+0xc8c03] > V [libjvm.so+0x1434a5] > V [libjvm.so+0x14bafe] > V [libjvm.so+0x15dd1a] > V [libjvm.so+0x15a090] > V [libjvm.so+0x15a03a] > V [libjvm.so+0x4403eb] > C [libc.so.1+0xacd82] _thr_setup+0x52 > C [libc.so.1+0xacfe0] _lwp_start+0x0 > > Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) > j > com.sun.wbem.solarisprovider.osserver.OsServerNative.dc_add_native(Lcom/sun/wbem/solarisprovider/osserver/DisklessClient;Lcom/sun/wbem/solarisprovider/osserver/OsServerLog;)I+0 > j > com.sun.wbem.solarisprovider.osserver.OsServerNative.dc_add(Lcom/sun/wbem/solarisprovider/osserver/DisklessClient;Lcom/sun/wbem/solarisprovider/osserver/OsServerLog;)V+8 > j > com.sun.wbem.solarisprovider.osserver.Solaris_DisklessClient.createInstance(Ljavax/wbem/cim/CIMObjectPath;Ljavax/wbem/cim/CIMInstance;)Ljavax/wbem/cim/CIMObjectPath;+922 > j > com.sun.wbem.cimom.adapters.provider.java.OldInterfaceConverter.createInstance(Ljavax/wbem/cim/CIMObjectPath;Ljavax/wbem/cim/CIMInstance;)Ljavax/wbem/cim/CIMObjectPath;+21 > j > com.sun.wbem.cimom.CIMOMImpl.csInstance(Ljavax/wbem/cim/CIMNameSpace;Ljavax/wbem/cim/CIMObjectPath;Ljavax/wbem/cim/CIMInstance;ZZZ[Ljava/lang/String;Z)Ljavax/wbem/cim/CIMObjectPath;+301 > j > com.sun.wbem.cimom.CIMOMImpl.intaddCIMElement(Ljavax/wbem/cim/CIMNameSpace;Ljavax/wbem/cim/CIMObjectPath;Ljavax/wbem/cim/CIMInstance;Z)Ljavax/wbem/cim/CIMObjectPath;+36 > j > com.sun.wbem.cimom.CIMOMImpl.createInstance(Ljava/lang/String;Ljavax/wbem/cim/CIMNameSpace;Ljavax/wbem/cim/CIMObjectPath;Ljavax/wbem/cim/CIMInstance;Lcom/sun/wbem/cimom/ServerSecurity;)Ljavax > /wbem/cim/CIMObjectPath;+41 > j > com.sun.wbem.cimom.adapters.client.rmi.CIMOMRMIImpl.createInstance(Ljava/lang/String;Ljavax/wbem/cim/CIMNameSpace;Ljavax/wbem/cim/CIMObjectPath;Ljavax/wbem/cim/CIMInstance;Ljavax/wbem/securit > y/SecurityToken;)Ljavax/wbem/cim/CIMObjectPath;+79 > j > com.sun.wbem.cimom.adapters.client.rmi.CIMOM_1Impl.createInstance(Ljava/lang/String;Ljavax/wbem/cim/CIMNameSpace;Ljavax/wbem/cim/CIMObjectPath;Ljavax/wbem/cim/CIMInstance;Ljavax/wbem/security > /SecurityToken;)Ljavax/wbem/cim/CIMObjectPath;+11 > v ~StubRoutines::call_stub > j > sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 > j > sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87 > j > sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 > j > java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161 > j > sun.rmi.server.UnicastServerRef.dispatch(Ljava/rmi/Remote;Ljava/rmi/server/RemoteCall;)V+242 > j sun.rmi.transport.Transport$1.run()Ljava/lang/Object;+23 > v ~StubRoutines::call_stub > j > java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0 > j sun.rmi.transport.Transport.serviceCall(Ljava/rmi/server/RemoteCall;)Z+163 > j > sun.rmi.transport.tcp.TCPTransport.handleMessages(Lsun/rmi/transport/Connection;Z)V+185 > j sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0()V+685 > j sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run()V+50 > j > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Ljava/lang/Runnable;)V+59 > j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+28 > j java.lang.Thread.run()V+11 > v ~StubRoutines::call_stub > > --------------- P R O C E S S --------------- > > Java Threads: ( => current thread ) > 0x083ab400 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, > id=134] > =>0x08612800 JavaThread "RMI TCP Connection(8)-10.0.2.1" daemon > [_thread_in_native, id=107] > 0x08071000 JavaThread "DestroyJavaVM" [_thread_blocked, id=2] > 0x085a4400 JavaThread "Thread-6" [_thread_in_native, id=29] > 0x0852dc00 JavaThread "Thread-5" daemon [_thread_blocked, id=28] > 0x0844f800 JavaThread "RMI HttpServerEndpoint Accept (port 5988)" daemon > [_thread_in_native, id=26] > 0x083b3400 JavaThread "GC Daemon" daemon [_thread_blocked, id=24] > 0x081f0800 JavaThread "RMI RenewClean-[10.0.2.1:36515]" daemon > [_thread_blocked, id=23] > 0x081f0000 JavaThread "RMI Scheduler(0)" daemon [_thread_blocked, id=22] > 0x08531000 JavaThread "RMI Reaper" [_thread_blocked, id=20] > 0x081f4800 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=19] > 0x085e9400 JavaThread "RMI TCP Accept-5987" daemon [_thread_in_native, > id=18] > 0x08514c00 JavaThread "Thread-3" [_thread_in_native, id=17] > 0x08588400 JavaThread "Thread-2" [_thread_blocked, id=16] > 0x08547c00 JavaThread "snapshot thread" daemon [_thread_blocked, id=15] > 0x0828a800 JavaThread "Thread-1" [_thread_in_native, id=14] > 0x08289800 JavaThread "Thread-0" daemon [_thread_blocked, id=13] > 0x0817f000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=11] > 0x0817d800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=10] > 0x0817c800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=9] > 0x0817b400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=8] > 0x08165800 JavaThread "Finalizer" daemon [_thread_blocked, id=7] > 0x08164c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=6] > > Other Threads: > 0x08161800 VMThread [id=5] > 0x08180800 WatcherThread [id=12] > > VM state:not at safepoint (normal execution) > > VM Mutex/Monitor currently owned by a thread: None > > Heap > PSYoungGen total 14208K, used 10870K [0xfa000000, 0xfb000000, 0xfb000000) > eden space 12288K, 75% used [0xfa000000,0xfa910d08,0xfac00000) > from space 1920K, 82% used [0xfae20000,0xfafacbe0,0xfb000000) > to space 2048K, 0% used [0xfac00000,0xfac00000,0xfae00000) > PSOldGen total 10240K, used 4095K [0xf2e00000, 0xf3800000, 0xfa000000) > object space 10240K, 39% used [0xf2e00000,0xf31ffff8,0xf3800000) > PSPermGen total 18432K, used 9358K [0xeee00000, 0xf0000000, 0xf2e00000) > object space 18432K, 50% used [0xeee00000,0xef723b50,0xf0000000) > > Dynamic libraries: > 0x08050000 /usr/jdk/instances/jdk1.6.0/bin/java > 0xfefa0000 /lib/libthread.so.1 > 0xfef70000 /usr/jdk/instances/jdk1.6.0/bin/../jre/lib/i386/jli/libjli.so > 0xfef90000 /lib/libdl.so.1 > 0xfee50000 /lib/libc.so.1 > 0xfe600000 /usr/jdk/instances/jdk1.6.0/jre/lib/i386/server/libjvm.so > 0xfee00000 /lib/libsocket.so.1 > 0xfee30000 /usr/lib/libsched.so.1 > 0xfedd0000 /lib/libm.so.1 > 0xfeda0000 /usr/lib/libCrun.so.1 > 0xfedf0000 /lib/libdoor.so.1 > 0xfecd0000 /lib/libnsl.so.1 > 0xfec70000 /lib/libm.so.2 > 0xfe5d0000 /lib/libscf.so.1 > 0xfec40000 /lib/libuutil.so.1 > 0xfe5b0000 /lib/libgen.so.1 > 0xfe570000 /lib/libmd.so.1 > 0xfe550000 /lib/libmp.so.2 > 0xfe480000 > /usr/jdk/instances/jdk1.6.0/jre/lib/i386/native_threads/libhpi.so > 0xfe410000 /usr/jdk/instances/jdk1.6.0/jre/lib/i386/libverify.so > 0xfe3c0000 /usr/jdk/instances/jdk1.6.0/jre/lib/i386/libjava.so > 0xfe380000 /usr/jdk/instances/jdk1.6.0/jre/lib/i386/libzip.so > 0xeea30000 /usr/jdk/instances/jdk1.6.0/jre/lib/i386/libnet.so > 0xee920000 /usr/jdk/instances/jdk1.6.0/jre/lib/i386/libj2pkcs11.so > 0xee8f0000 /usr/lib/libpkcs11.so > 0xee8c0000 /usr/lib/libcryptoutil.so.1 > 0xee860000 /usr/lib/security/pkcs11_softtoken.so > 0xee7a0000 /usr/lib/libadt_jni.so.1 > 0xee750000 /lib/libbsm.so.1 > 0xee730000 /lib/libsecdb.so.1 > 0xee710000 /lib/libtsol.so.2 > 0xee4f0000 /usr/jdk/instances/jdk1.6.0/jre/lib/i386/librmi.so > 0xee320000 /usr/sadm/lib/smc/lib/libpassauthen.so > 0xee300000 /lib/libpam.so.1 > 0xee250000 /var/sadm/smc/lib/libvsyslog.so > 0xee230000 /usr/sadm/lib/smc/lib/libsolAttrs.so > 0xee210000 /usr/sadm/lib/smc/lib/libtsolAttrs.so > 0xee140000 /usr/sadm/lib/wbem/libprovutil.so > 0xee0f0000 /usr/lib/libldap.so.5 > 0xee0b0000 /usr/lib/libsasl.so.1 > 0xee060000 /usr/lib/mps/libnspr4.so > 0xee040000 /usr/lib/mps/libplc4.so > 0xedf90000 /usr/lib/mps/libnss3.so > 0xedf30000 /usr/lib/mps/libssl3.so > 0xee180000 /lib/libpthread.so.1 > 0xee270000 /lib/librt.so.1 > 0xede90000 /usr/lib/mps/libsoftokn3.so > 0xede70000 /usr/lib/mps/libplds4.so > 0xedd40000 /usr/sadm/lib/smc/lib/libUnixUtilities.so > 0xedcd0000 /usr/sadm/lib/wbem/libcimom.so > 0xedc20000 /var/sadm/smc/lib/libroleauth.so > 0xedbd0000 /usr/sadm/lib/wbem/libsmoss.so > 0xedc60000 /lib/libintl.so.1 > 0xedba0000 /usr/snadm/lib/libspmicommon.so > 0xed530000 /usr/snadm/lib/libspmistore.so > 0xed470000 /usr/snadm/lib/libspmisoft.so > 0xedb20000 /lib/libadm.so > 0xedad0000 /lib/libdevinfo.so > 0xeda90000 /lib/libnvpair.so.1 > 0xeda60000 /lib/libsec.so.1 > 0xeda40000 /lib/libavl.so.1 > 0xeda20000 /usr/snadm/lib/libsvm.so > 0xed880000 /lib/libmeta.so.1 > 0xeda00000 /lib/libdevid.so.1 > 0xed9e0000 /lib/libefi.so.1 > 0xed9c0000 /lib/libuuid.so.1 > 0xed9a0000 /lib/libdlpi.so.1 > 0xed970000 /lib/libdladm.so.1 > 0xed860000 /lib/libinetutil.so.1 > 0xed830000 /usr/lib/libzonecfg.so.1 > 0xed810000 /lib/libsysevent.so.1 > 0xed7f0000 /usr/lib/libbrand.so.1 > 0xed7c0000 /usr/lib/libpool.so.1 > 0xed780000 /lib/libproc.so.1 > 0xed640000 /usr/lib/libxml2.so.2 > 0xed610000 /usr/lib/libexacct.so.1 > 0xed5f0000 /lib/librtld_db.so.1 > 0xed5a0000 /lib/libelf.so.1 > 0xed570000 /lib/libctf.so.1 > 0xed500000 /usr/lib/libz.so.1 > 0xed440000 /usr/snadm/lib/libspmizones.so > 0xed410000 /usr/snadm/lib/libspmiapp.so > 0xed370000 /usr/snadm/lib/libspmisvc.so > > VM Arguments: > jvm_args: -Dviper.fifo.path=/var/run/smc898/boot.fifo -Xmx128m > -Dsun.security.key.serial.interop=true > -Djava.security.policy=/usr/sadm/lib/smc/policy/smcwbemserver.policy > -Dviper.argv0=/usr/sadm > /lib/smc/bin/smcwbemserver -Dviper.home=/usr/sadm/lib/smc > -Dviper.rthome=/var/sadm/smc -Dviper.display=false > -Dpropdir=/usr/sadm/lib/wbem > -Dsun.rmi.dgc.server.gcInterval=0x7fffffffffffffff -Dsun > .rmi.dgc.client.gcInterval=360000 > java_command: com.sun.management.viperimpl.server.ViperWbemServer -p 898 -f > start > Launcher Type: SUN_STANDARD > > Environment Variables: > JAVA_HOME=/usr/java > CLASSPATH=/usr/sadm/lib/smc/lib/TrustedSolaris.jar:/usr/sadm/lib/wbem:/usr/sadm/lib/smc/lib/preload/jsdk21.jar:/usr/sadm/lib/smc/lib/smcwbemserver_rt.jar:/usr/sadm/lib/smc/lib/server_rt.jar:/usr > /sadm/lib/smc/lib/preload/xml.jar:/usr/sadm/lib/smc:/usr/sadm/lib/smc/lib/smcapi.jar:/usr/sadm/lib/wbem/extension:/usr/sadm/lib/smc/lib/preload/cimapi.jar:/usr/sadm/lib/smc/lib/preload/cimom.jar > :/usr/sadm/lib/smc/lib/preload/jh.jar:/usr/sadm/lib/smc/lib/preload/jsdk21.jar:/usr/sadm/lib/smc/lib/preload/providerutility.jar:/usr/sadm/lib/smc/lib/preload/sunwbem.jar:/usr/sadm/lib/smc/lib/p > reload/wbem.jar:/usr/sadm/lib/smc/lib/preload/xml.jar:/usr/sadm/lib/wbem/prodregapi.jar:/usr/sadm/lib/wbem/jini-core.jar:/usr/sadm/lib/wbem/jini-ext.jar:/usr/sadm/lib/wbem/outrigger.jar:/usr/sad > m/lib/wbem/transient-outrigger.jar:/usr/sadm/lib/wbem/cimrepository.jar:/usr/sadm/lib/wbem/snmpprovider.jar:/usr/sadm/lib/wbem/jsnmpapi.jar:/usr/sadm/lib/wbem/nativeprovider.jar:/usr/sadm/lib/wb > em/osserver.jar:/usr/sadm/lib/wbem/mofcomp.jar:/usr/sadm/lib/wbem/suncimom.jar:/usr/sadm/lib/wbem/sunwbem.jar:/usr/sadm/lib/wbem/wbemstartup.jar:/usr/lib/audit/Audit.jar > PATH=/usr/bin:/usr/sbin > LD_LIBRARY_PATH=/usr/jdk/instances/jdk1.6.0/jre/lib/i386/server:/usr/jdk/instances/jdk1.6.0/jre/lib/i386:/usr/jdk/instances/jdk1.6.0/jre/../lib/i386:/usr/sadm/lib/smc/lib:/var/sadm/smc/lib:/usr/ > lib/audit:/usr/sadm/lib/wbem:/usr/snadm/lib > > Signal Handlers: > SIGSEGV: [libjvm.so+0x4d3090], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c > SIGBUS: [libjvm.so+0x4d3090], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c > SIGFPE: [libjvm.so+0xf0fa8], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c > SIGPIPE: [libjvm.so+0xf0fa8], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c > SIGILL: [libjvm.so+0xf0fa8], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c > SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 > SIGUSR2: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 > SIGHUP: [libjvm.so+0x44171c], sa_mask[0]=0xffbffeff, sa_flags=0x00000004 > SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000 > SIGQUIT: [libjvm.so+0x44171c], sa_mask[0]=0xffbffeff, sa_flags=0x00000004 > SIGTERM: [libjvm.so+0x44171c], sa_mask[0]=0xffbffeff, sa_flags=0x00000004 > SIGQUIT: [libjvm.so+0x44171c], sa_mask[0]=0xffbffeff, sa_flags=0x00000004 > SIGTERM: [libjvm.so+0x44171c], sa_mask[0]=0xffbffeff, sa_flags=0x00000004 > SIG39: [libjvm.so+0x442b90], sa_mask[0]=0x00000000, sa_flags=0x00000008 > SIG40: [libjvm.so+0xf0fa8], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c > > > --------------- S Y S T E M --------------- > > OS: Solaris Express Community Edition snv_68 X86 > Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. > Use is subject to license terms. > Assembled 02 July 2007 > > uname:SunOS 5.11 snv_68 i86pc (T2 libthread) > rlimit: STACK 10240k, CORE infinity, NOFILE 65536, AS infinity > load average:0.16 0.06 0.03 > > CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, mmxext, 3dnowext, > 3dnow > > Memory: 4k page, physical 4192948k(2259596k free) > > vm_info: Java HotSpot(TM) Server VM (1.6.0_01-b06) for solaris-x86, built on > Mar 14 2007 00:52:55 by "" with unknown Workshop:0x580 > > > Now I have a couple of "half configured" diskless clients which I cannot > delete anymore :-( > > [root at FileServer-08:07 PM-/export]# /usr/sadm/bin/smdiskless list -H > 127.0.0.1 -u root > Loading Tool: > com.sun.admin.osservermgr.cli.OsServerMgrCli from 127.0.0.1Login to 127.0.0.1 > as user root was successful. > Debugging enabled > Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from 127.0.0.1 was > successful. > OsServerMgrCli.setProperties > calling initCommandLineOptions > calling doFirstArgPass > parseMyArgs->args.length = 2 > args[0] = -K > args[1] = DV > Task = DV > Action: View diskless clients > calling parseAndValidateArgs > validateOsServerOption: null 127.0.0.1 file > Client Root Area > Swap Area > Dump Area > -------------------------------------------------------------------------------- > vmwareserver_solFileServer:/export/root/nfsboot > FileServer:/root/export/nfsboot > > host117.testlab.FileServer:/export/root/host117 > FileServer:/root/export/host117 > > test3.testlab.qlFileServer:/export/root/test3 > FileServer:/swap/test3 > > host127.aserver.FileServer:/export/root/host127 > FileServer:/export/root/host127 > > host130.testlab.FileServer:/export/root/host130 > FileServer:/root/swap/host117 > > host140.testlab.FileServer:/export/root/host140 > FileServer:/root/swap/host140 > > host127.testlab.FileServer:/export/root/host127 > FileServer:/root/swap/host127 > > host40.testlab.qFileServer:/export/root/host40 > FileServer:/root/export/host40 > > host41.testlab.qFileServer:/test/host41 > FileServer:/test/host41 > > host42.testlab.qFileServer:/export/root/host42 > FileServer:/export/root/host42 > > test100 FileServer:/export/root/test100 > FileServer:/export/swap/test100 > FileServer:/export/dump/test100 > > /usr/sadm/bin/smdiskless delete -H 127.0.0.1 -u root -- -n test100 > Loading Tool: com.sun.admin.osservermgr.cli.OsServerMgrCli from 127.0.0.1 > Login to 127.0.0.1 as user root was successful. > Debugging enabled > Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from 127.0.0.1 was > successful. > OsServerMgrCli.setProperties > calling initCommandLineOptions > calling doFirstArgPass > parseMyArgs->args.length = 4 > args[0] = -n > args[1] = test100 > args[2] = -K > args[3] = DX > Task = DX > Action: Delete a diskless client > calling parseAndValidateArgs > hostName=test100 > validateOsServerOption: null 127.0.0.1 file > Unable to delete diskless client test100. Host 127.0.0.1 is not the file > server for test100. Specify the -o option with host FileServer. > > During all my tests /export/root/host117 was proviosned once, but the script > failed to share the root FS via NFS. > So I tried to setup the tftp by running te script myself and also I did > activate nfs sharing. > > > Now my client host117 is booting but there is a problem with the root=host > option , when I try this for a linux client, the client get's root access, > but for some reason my diskless solaris client never gets root access. > > This is how I share my client's root FS: > > share -F nfs -o sec=sys,rw,root=192.168.10.117 /export/root/host117 > > Any help is welcome !! > > > This message posted from opensolaris.org > _______________________________________________ > install-discuss mailing list > install-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/install-discuss