Birgit: smosservice does not work with zfs and it is a known issue in Solaris 10 and Nevada.
6690549 - smosservices/smdiskless does not support zfs at all. Birgit Ducarroz wrote: > Hi, > > Is there now a solution for smosservice and zfs? Cause I try the same and get > different error messages. I know this is an opensolaris forum, but I think > the smosservice does not change anything with solaris 10. > > The first: > bash-3.00# /usr/sadm/bin/smosservice add -u root -p password -- -x > mediapath=/export/Solaris_10 -x platform=i386.i86pc.Solaris_10 -x > cluster=SUNWCXall > Loading Tool: com.sun.admin.osservermgr.cli.OsServerMgrCli from localhost > Login to localhost as user root was successful. > Debugging enabled > Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from localhost was > successful. > OsServerMgrCli.setProperties > calling initCommandLineOptions > calling doFirstArgPass > parseMyArgs->args.length = 8 > args[0] = -x > args[1] = mediapath=/export/Solaris_10 > args[2] = -x > args[3] = platform=i386.i86pc.Solaris_10 > args[4] = -x > args[5] = cluster=SUNWCXall > args[6] = -K > args[7] = OA > Task = OA > Action: Add an os service > calling parseAndValidateArgs > in parseXOssAddOptions() > Parsed out x property: mediapath > Parsed out x property value: /export/Solaris_10 > Parsed out x property: platform > Parsed out x property value: i386.i86pc.Solaris_10 > Parsed out x property: cluster > Parsed out x property value: SUNWCXall > XArgs=[mediapath=/export/Solaris_10, platform=i386.i86pc.Solaris_10, > cluster=SUNWCXall] > validateOsServerOption: null localhost file > runCommandLine, OsServerMgrException: /usr/sadm/lib/wbem/smosscmd osservice > add diufcl20 diufcl20:/export/Solaris_10 i386.i86pc.Solaris_10 ' SUNWCXall > terminated with signal 11. > /usr/sadm/lib/wbem/smosscmd osservice add diufcl20 > diufcl20:/export/Solaris_10 i386.i86pc.Solaris_10 ' SUNWCXall terminated with > signal 11. > > > The second: > bash-3.00# /usr/sadm/bin/smosservice add -u root -p password -H diufcl20:898 > -- -o diufcl20:/ospool/s10x_u7wos_08 -x mediapath=/export/Solaris_10 -x > platform=i386.i86pc.Solaris_10 -x cluster=SUNWCXall > Loading Tool: com.sun.admin.osservermgr.cli.OsServerMgrCli from diufcl20:898 > Login to diufcl20 as user root was successful. > Debugging enabled > Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from diufcl20:898 > was successful. > OsServerMgrCli.setProperties > calling initCommandLineOptions > calling doFirstArgPass > parseMyArgs->args.length = 10 > args[0] = -o > args[1] = diufcl20:/ospool/s10x_u7wos_08 > args[2] = -x > args[3] = mediapath=/export/Solaris_10 > args[4] = -x > args[5] = platform=i386.i86pc.Solaris_10 > args[6] = -x > args[7] = cluster=SUNWCXall > args[8] = -K > args[9] = OA > Task = OA > Action: Add an os service > Os Server = diufcl20:/ospool/s10x_u7wos_08 > calling parseAndValidateArgs > in parseXOssAddOptions() > Parsed out x property: mediapath > Parsed out x property value: /export/Solaris_10 > Parsed out x property: platform > Parsed out x property value: i386.i86pc.Solaris_10 > Parsed out x property: cluster > Parsed out x property value: SUNWCXall > XArgs=[mediapath=/export/Solaris_10, platform=i386.i86pc.Solaris_10, > cluster=SUNWCXall] > EXM_BMS