Wednesday 30 March 2016

Crash dumps admin in solaris 10?

# savecore -L
savecore: dedicated dump device required
# dumpadm
      Dump content: kernel pages
       Dump device: /dev/md/dsk/d20 (swap)
Savecore directory: /var/crash/SAPTEST
  Savecore enabled: yes
   Save compressed: off

# metadetach d20 d22
d20: submirror d22 is detached
# dumpadm -d /dev/md/dsk/d22
      Dump content: kernel pages
       Dump device: /dev/md/dsk/d22 (dedicated)
Savecore directory: /var/crash/SAPTEST
  Savecore enabled: yes
   Save compressed: off

# savecore -L
dumping to /dev/md/dsk/d22, offset 65536, content: kernel
 0:14 100% done
100% done: 136808 pages dumped, dump succeeded
savecore: System dump time: Wed Sep 26 17:09:28 2012
savecore: saving system crash dump in /var/crash/SAPTEST/{unix,vmcore}.0
Constructing namelist /var/crash/SAPTEST/unix.0
Constructing corefile /var/crash/SAPTEST/vmcore.0
 1:00 100% done: 136808 of 136808 pages saved


# cd /var/crash/SAPTEST/

# ls
bounds    unix.0    vmcore.

# file *
bounds:         ascii text
unix.0:         ELF 64-bit MSB executable SPARCV9 Version 1, UltraSPARC1 Extensions Required, statically linked, not stripped, no debugging information available
vmcore.0:       SunOS 5.10 Generic_147440-15 64-bit SPARC live dump from 'SAPTEST'




there should be 2 file's for each crash dump how to see that

root@test:/var/crash# savecore -L

dumping to /dev/zvol/dsk/rpool/dump, offset 65536, content: kernel
 0:20 100% done
100% done: 244956 pages dumped, dump succeeded
savecore: System dump time: Thu Aug 15 21:25:12 2013
savecore: Saving compressed system crash dump in /var/crash/vmdump.0
savecore: Decompress the crash dump with
'savecore -vf /var/crash/vmdump.0'
#cd /var/crash
 ls
bounds    vmdump.0

# savecore -vf vmdump.0
savecore: System dump time: Thu Aug 15 21:25:12 2013
savecore: saving system crash dump in /var/crash/{unix,vmcore}.0
Constructing namelist /var/crash/unix.0
Constructing corefile /var/crash/vmcore.0
 0:32 100% done: 244956 of 244956 pages saved
7876 (3%) zero pages were not written
0:32 dump decompress is done

# ls
bounds    unix.0    vmcore.0  vmdump.0


 # savecore -dv /var/crash/test (online generation)
System dump time: Wed Nov 14 14:43:25 2012
Constructing namelist /var/crash/test/unix.2
Constructing corefile /var/crash/test/vmcore.2
100% done: 131566 of 131566 pages saved
 # ls -lrth
total 6957282
-rw-r--r--   1 root     root        1.4M Jun 14  2011 unix.0
-rw-r--r--   1 root     root        1.1G Jun 14  2011 vmcore.0
-rw-r--r--   1 root     root        249K Jun 14  2011 act.0
-rw-------   1 root     root        1.4M Nov 14 17:48 unix.1
-rw-------   1 root     root        1.1G Nov 14 20:18 vmcore.1
-rw-------   1 root     root        153M Nov 14 20:39 vmcore.1.tar.gz
-rw-------   1 root     root        1.4M Nov 15 05:42 unix.2
-rw-------   1 root     root        1.0G Nov 15 05:43 vmcore.2
-rw-r--r--   1 root     root           2 Nov 15 05:43 bounds

how to import zpool import performance if you have 100's of disks in solaris 10?

# mkdir /power
#ln /dev/dsk/emcpower519a emcpower519a
# ln -s /dev/dsk/emcpower518a emcpower518a
# ln -s /dev/dsk/emcpower517a emcpower517a
# ln -s /dev/dsk/emcpower472a emcpower472a

# zpool export NewPool
# zpool import -d /power NewPool ==<in fraction of seconds>
# zpool list
NAME      SIZE  ALLOC   FREE    CAP  HEALTH  ALTROOT
NewPool   272G  6.14G   266G     2%  ONLINE  -

iscsi LUNS configuration in solaris11?

creating comstar server
# pkg install group/feature/storage-server
           Packages to install:  47
       Create boot environment:  No
Create backup boot environment: Yes
            Services to change:   3
DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                              47/47     3990/3990    94.4/94.4  1.8M/s
PHASE                                          ITEMS
Installing new actions                     5971/5971
Updating package state database                 Done
Updating image state                            Done
Creating fast lookup database                   Done
# itadm
itadm usage:

# svcs stmf
STATE          STIME    FMRI
disabled       10:18:09 svc:/system/stmf:default
# svcadm enable svc:/system/stmf:default
# svcs svc:/system/stmf:default
STATE          STIME    FMRI
online         10:20:21 svc:/system/stmf:default
creating lun:-
# stmfadm create-lu /dev/zvol/dsk/lunpool/lun1
Logical unit created: 600144F000144F984A1851C034910001
# stmfadm list-lu
LU Name: 600144F000144F984A1851C034910001
# stmfadm add-view 600144F000144F984A1851C034910001
# stmfadm list-view -l 600144F000144F984A1851C034910001
View Entry: 0
    Host group   : All
    Target Group : All
    LUN          : Auto
creating target:-
# svcadm enable /network/iscsi/target
# itadm create-target
Target iqn.1986-03.com.sun:02:14d5bc6f-85e0-c9eb-8b5d-df4ebdf41ce1 successfully created
# itadm list-target -v
TARGET NAME                                                  STATE    SESSIONS
iqn.1986-03.com.sun:02:14d5bc6f-85e0-c9eb-8b5d-df4ebdf41ce1  online   0
        alias:                  -
        auth:                   none (defaults)
        targetchapuser:         -
        targetchapsecret:       unset

        tpg-tags:               default

client side:-

#iscsiadm modify discovery -i enable
#iscsiadm modify discovery -s enable
#iscsiadm add static-config iqn.1986-03.com.sun:02:14d5bc6f-85e0-c9eb-8b5d-df4ebdf41ce1,10.66.10.105:3260

how to see NIC card speed in solaris 10?


# dladm show-dev
e1000g0         link: up        speed: 1000  Mbps       duplex: full
e1000g1         link: unknown   speed: 0     Mbps       duplex: half
e1000g2         link: unknown   speed: 0     Mbps       duplex: half
e1000g3         link: unknown   speed: 0     Mbps       duplex: half

# dladm show-link
e1000g0         type: non-vlan  mtu: 1500       device: e1000g0
e1000g1         type: non-vlan  mtu: 1500       device: e1000g1
e1000g2         type: non-vlan  mtu: 1500       device: e1000g2
e1000g3         type: non-vlan  mtu: 1500       device: e1000g3

 #  kstat -p e1000g:0::link*
e1000g:0:mac:link_asmpause      1
e1000g:0:mac:link_autoneg       1
e1000g:0:mac:link_duplex        2
e1000g:0:mac:link_pause 1
e1000g:0:mac:link_state 1
e1000g:0:mac:link_up    1
e1000g:0:statistics:link_speed  1000

# ndd /dev/e1000g0 link_speed
1000

 # ndd /dev/e1000g0 link_duplex
2
0=noduplex 1=halfduplex 2=fullduplex

how to set booting parameters from sc console in sun hardware ?

sc> bootmode reset_nvram

sc> bootmode bootscript="setenv auto-boot? false"

how to configure solaris11 GNOME for XMANAGER ?

#pkg install pkg://solaris/group/system/solaris-desktop  

#pkg install system/locale/extra

# cat /etc/gdm/custom.conf
# GDM configuration storage
[daemon]
[security]
[xdmcp]
Port=177
DisplaysPerHost=1
Enable=true
HonorIndirect=true
[greeter]
[chooser]
[debug]
#Reboot server
#init 6

how to remove disk's failing state in veritas ?


# vxdisk -oalldgs list
emcpower8s2  auto:sliced     logdg01      testvol     online failing

# vxedit -g MXPARCH set failing=off logdg01


# vxdisk -oalldgs list | grep -i MXPARCH
emcpower8s2  auto:sliced     logdg01      testvol      online

Physical processor administration in solaris 10?

 # fmadm faulty
--------------- ------------------------------------  -------------- ---------
TIME            EVENT-ID                              MSG-ID         SEVERITY
--------------- ------------------------------------  -------------- ---------
Feb 20 14:41:13 350e799e-27c7-6621-d897-dbab2fbe0efb  SUN4U-8001-0J  Major
Host        : p10app04
Platform    : SUNW,Sun-Fire-V490        Chassis_id  :
Product_sn  :
Fault class : fault.cpu.ultraSPARC-IVplus.l3cachedata
Affects     : cpu:///cpuid=2/serial=80020228CE6C1347
              cpu:///cpuid=18/serial=80020228CE6C1347
                  faulted but still in service
FRU         : "Slot A" (hc://:product-id=SUNW,Sun-Fire-V490:server-id=p10app04/c
                  faulty
Description : The number of errors associated with this CPU has exceeded
              acceptable levels.  Refer to http://sun.com/msg/SUN4U-8001-0J for
              more information.
Response    : The fault manager will attempt to remove the affected CPU from
              service.
Impact      : System performance may be affected.
Action      : Schedule a repair procedure to replace the affected CPU, the
              identity of which can be determined using fmdump -v -u
              .


 # fmdump -v -u 350e799e-27c7-6621-d897-dbab2fbe0efb
TIME                 UUID                                 SUNW-MSG-ID
Feb 20 14:41:14.2577 350e799e-27c7-6621-d897-dbab2fbe0efb SUN4U-8001-0J
  100%  fault.cpu.ultraSPARC-IVplus.l3cachedata
        Problem in: -
           Affects: cpu:///cpuid=2/serial=80020228CE6C1347
               FRU: hc://:product-id=SUNW,Sun-Fire-V490:server-id=p10app04/component=Slot A
          Location: -
  100%  fault.cpu.ultraSPARC-IVplus.l3cachedata
        Problem in: -
           Affects: cpu:///cpuid=18/serial=80020228CE6C1347
               FRU: hc://:product-id=SUNW,Sun-Fire-V490:server-id=p10app04/component=Slot A
          Location: -

 # psrinfo
0       on-line   since 02/20/2013 14:40:34
1       on-line   since 02/20/2013 14:40:34
2       faulted   since 02/20/2013 14:41:14
3       on-line   since 02/20/2013 14:40:32
16      on-line   since 02/20/2013 14:40:34
17      on-line   since 02/20/2013 14:40:34
18      faulted   since 02/20/2013 14:41:14
19      on-line   since 02/20/2013 14:40:34

 # psrinfo -p
4

 # psrinfo |wc -l
       8


 # psradm -f 2
psradm: processor 2 in faulted state; add -F option to force change


 # psradm -f -F 2


 # psradm -f -F 18


# psrinfo
0       on-line   since 02/20/2013 14:40:34
1       on-line   since 02/20/2013 14:40:34
2       off-line  since 02/20/2013 19:54:54
3       on-line   since 02/20/2013 14:40:32
16      on-line   since 02/20/2013 14:40:34
17      on-line   since 02/20/2013 14:40:34
18      off-line  since 02/20/2013 19:55:18
19      on-line   since 02/20/2013 14:40:34


 # fmadm repaired 350e799e-27c7-6621-d897-dbab2fbe0efb
fmadm: failed to record repair to 350e799e-27c7-6621-d897-dbab2fbe0efb: specified resource is not known to be faulty


 # >errlog
 # >fltlog

# cd rsrc

# ls
479acae3-52ce-41be-92fb-ae8517bf4657  c784c664-1ea7-c332-814d-f76e939c2db3


 # file *
479acae3-52ce-41be-92fb-ae8517bf4657:  extended accounting file
c784c664-1ea7-c332-814d-f76e939c2db3:  extended accounting file

 # rm *

 # pwd
/var/fm/fmd/rsrc


# cd ..

 # ls
errlog  fltlog  rsrc    xprt

#psradm -n 2
#psradm -n 18

 # svcadm restart fmd

 # fmadm faulty

# psrinfo
0    on-line   since 02/20/2013 14:40:34
1    on-line   since 02/20/2013 14:40:34
2    on-line   since 02/20/2013 19:59:36
3    on-line   since 02/20/2013 14:40:32
16   on-line   since 02/20/2013 14:40:34
17   on-line   since 02/20/2013 14:40:34
18   on-line   since 02/20/2013 19:59:54
19   on-line   since 02/20/2013 14:40:34

solaris 10 installation / upgradation logs locations ?

Installation log location
        - /a/var/sadm/system/logs/upgrade_log (before reboot)
        - /var/sadm/system/logs/upgrade_log (after reboot)
Please examine the file:
        - /a/var/sadm/system/data/upgrade_cleanup
It contains a list of actions that may need to be performed to complete
the upgrade. After this system is rebooted, this file can be found at:
        - /var/sadm/system/data/upgrade_cleanup
Upgrade complete
Executing SolStart postinstall phase...
Executing finish script "patch_finish"...

Finish script patch_finish execution completed.
Executing JumpStart postinstall phase...
The begin script log 'begin.log'
is located in /var/sadm/system/logs after reboot.
The finish script log 'finish.log'
is located in /var/sadm/system/logs after reboot.

Launching installer. Please Wait...

how to change CSN chassis Serial Number in sparc hardware ?

root # sneep
0737AM0879
root # showplatform
0737AM0879
root # showplatform -p csn
     CSN:
     ====
     Chassis Serial Number: 0737AM0879
root # showplatform
0737AM0879
root# setcsn -c 0712AM0879
root # showplatform
0712AM0879
root # sneep
0712AM0879

how to see licence information about veritas / power path in solaris 10?

 # vxlicrep
---
License Key                         = IRZE-6P8S-7YGV-634U-FEGO-SFJP-CP
   Product Name                        = VERITAS Storage Foundation Enterprise
----
 License Key                         = BZZH-DDWC-IRVR-WLOP-WNN8-3FOP-PPPC-PP3
   Product Name                        = VERITAS Volume Manager
----
License Key                         = 3EZE-K2NP-8TFO-UTC4-OORP-6388-O
   Product Name                        = VERITAS File System
----

 # /etc/emcpreg -list

Key BTPN-GB4Q-UFN9-Q6BK-M69I-BPWX
  Product: PowerPath
  Capabilities: All

vxvm 6.x

License Key = AJZU-WW8Z-AM3Y-DDVC-WCPB-PKUP-PCPP-P6N3-P
Product Name = VERITAS Volume Manager

License Key = AJZU-4IE6-26VO-SXOZ-ETPP-PP63-4CPP-PPPC-P
Product Name = VERITAS File System


License Key = AJZG-JLVW-Y2HM-8D2P-PNOU-34O4-OZP6-N3PO-P
Product Name = VERITAS Storage Foundation Enterprise HA



License Key = AJZ9-PPTY-8L2C-TSI2-XOPP-PPPP-PPPP-P3PB-P
Product Name = VERITAS Cluster Server

how to download SANsuffer cli /Qlogic/Qla2300 for solaris 10?

SANsuffer

step1:
www.qlogic.com
step2:
click downloads
step3:
select OEM products
select EMC
select by Operating system
select adapters -- solaris -- solaris sparc
click GO
step4:
go to Management  list
slect appropriate and click to download



=== F-code for solaris 10====

step1:
www.qlogic.com
step2:
click downloads
step3:
select legacy products
step4:
select adapters
select fibre channel adapters
select [h/w device name] QLA2342L
select solaris sparc
click GO
step5:
go to Management  list
slect appropriate and click to download


==qla2300 pkg==
step1:
www.qlogic.com
step2:
click downloads
step3:
select legacy products
step4:
select adapters
select fibre channel adapters
select qla2300
select solaris sparc
click GO
step5:
go to drivers list
slect appropriate and click to download

firmware upgradation from OBP 4.22.19 to OBP 4.30.0 in sunfire servers ?

# unzip 142700-02.zip

Archive:  142700-02.zip
   creating: 142700-02/
  inflating: 142700-02/unix.flash-update.README
  inflating: 142700-02/copyright
  inflating: 142700-02/unix.flash-update.SunFire240.sh
  inflating: 142700-02/817-6957-10.pdf
  inflating: 142700-02/802-3233-25.ps
  inflating: 142700-02/flash-update-SunFire240
  inflating: 142700-02/Install.info
  inflating: 142700-02/README.142700-02
  inflating: 142700-02/LEGAL_LICENSE.TXT


# cd 142700-02

# ls

802-3233-25.ps                   copyright
817-6957-10.pdf                  flash-update-SunFire240
Install.info                     unix.flash-update.README
LEGAL_LICENSE.TXT                unix.flash-update.SunFire240.sh
README.142700-02

 # ./unix.flash-update.SunFire240.sh

Flash Update 2.4: Program and system initialization in progress...
Current System Flash PROM Revision:
-----------------------------------
OBP 4.22.19 2006/09/06 23:44 Sun Fire V210/V240,Netra 210/240
Available System Flash PROM Revision:
NOTE: The system will be rebooted (reset) after the firmware has been updated.
However, if an error occurs then the system will NOT be rebooted.
Do you wish to update the firmware in the system Flash PROM? yes/no : yes
Erasing the top half of the Flash PROM.
Programming OBP into the top half of the Flash PROM.
Verifying OBP in the top half of the Flash PROM.
Erasing the bottom half of the Flash PROM.
Programming OBP into the bottom half of Flash PROM.
Verifying OBP in the bottom half of the Flash PROM.
Erasing the top half of the Flash PROM.
Programming POST into the top half of Flash PROM.
Verifying POST in the top half of the Flash PROM.
The system's Flash PROM firmware has been updated.

Please wait while the system is rebooted...

Shutdown started.    Fri Jun 15 23:39:10 IST 2012
Changing to init state 6 - please wait
Broadcast Message from root (console) on RETAILSAPT21 Fri Jun 15 23:39:10...
THE SYSTEM RETAILSAPT21 IS BEING SHUT DOWN NOW ! ! !
Log off now or risk your files being damaged
root@RETAILSAPT21 # svc.startd: The system is coming down.  Please wait.
svc.startd: 83 system services are now being stopped.
Jun 15 23:40:17 RETAILSAPT21 rpcbind: rpcbind terminating on signal.
Jun 15 23:40:18 RETAILSAPT21 syslogd: going down on signal 15
Jun 15 23:40:18 rpc.metad: Terminated
svc.startd: The system is down.
syncing file systems... done
rebooting...

#prtconf -V

OBP 4.30.0 2010/01/06 14:48

what happens if u remove rootdev entry in /etc/system file and reboot in solaris 10?

# svcs -x
svc:/system/sysevent:default (system event notification)
State: maintenance since June 19, 2012  8:09:15 AM IST
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://sun.com/msg/SMF-8000-KS
See: syseventd(1M)
See: /etc/svc/volatile/system-sysevent:default.log
Impact: 52 dependent services are not running.  (Use -v for list.)
svc:/network/rpc/gss:default (Generic Security Service)
State: uninitialized since June 19, 2012  8:07:00 AM IST
Reason: Restarter svc:/network/inetd:default is not running.
See: http://sun.com/msg/SMF-8000-5H
See: gssd(1M)
Impact: 12 dependent services are not running.  (Use -v for list.)
svc:/network/rpc/meta:default (SVM remote metaset services)
State: uninitialized since June 19, 2012  8:07:01 AM IST
Reason: Restarter svc:/network/inetd:default is not running.
See: http://sun.com/msg/SMF-8000-5H
See: rpc.metad(1M)
Impact: 9 dependent services are not running.  (Use -v for list.)
svc:/network/rpc/rstat:default (kernel statistics server)
State: uninitialized since June 19, 2012  8:07:03 AM IST
Reason: Restarter svc:/network/inetd:default is not running.
See: http://sun.com/msg/SMF-8000-5H
See: rpc.rstatd(1M)
See: rstatd(1M)
Impact: 1 dependent service is not running.  (Use -v for list.)

 # df -kh
Filesystem             size   used  avail capacity  Mounted on
/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/disk@0,0:a
30G    19G    10G    65%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    33G   1.5M    33G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/platform/SUNW,Sun-Fire-T200/lib/libc_psr/libc_psr_hwcap1.so.1
30G    19G    10G    65%    /platform/sun4v/lib/libc_psr.so.1
/platform/SUNW,Sun-Fire-T200/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
30G    19G    10G    65%    /platform/sun4v/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                    33G     0K    33G     0%    /tmp
swap                    33G     8K    33G     1%    /var/run


solution:

1.boot in to singular usermode or fail safe(ok boot -F failsafe)
2.edit /etc/vfstab file
3.boot normally
4.execute metaroot
5.reboot
it reboots successfully

MY TESTING OBSERVATIONS in solaris 10/11, SCS, LDOMS & vcs,vxvm?

SCS:-
1.when gui?
2.how to set failover properties?
if i manully kill resource i.e sap instead of restarting same node
   how can we failover resource to anothernode ==>by default with in the node
   OR
   resource group automatically goes to offline does not move any where????
3.if i set affinities rg1 strong negative on rg2
so when rg1 going to online on another node it stop first rg2 and start rg1 ,instead
of that it start rg1 first and stop rg2 how to achieve it ????????
4.No NFS client configuration in solaris cluster ?????????????
5.NO ZFS file system as GLOBAL file system ????????????
6.
7)NO GUI
8)by default we got sap abap & java & oracle agents freely.
9)quarm device is mandetory.
10)in solaris cluster if i  create 2 guest domain & configure solaris cluster
  in this & configure common storage & assign it as quarm dev
  if i reboot guest2  guest1 node  panics
  if i reboot guest1 only guest1 reboots
  why ??????

LDOMS:-
1)i created control domain
2) i create SECIO service domain in t5120 only one PCI is there so
   i used one disk under primary service and create service domain
3) if i take reboot my service domain also down
4)i dedicat 1 nic & 1 HBA to my servicde domain
5) i created secondary services by using nic & HBA
6) by using control & service domain i create guest domain
7) make zfs mirroring
8) now reboot my service domain ---> guest not available to admin but pinging
9)now reboot my control domain --> service & gest domain not available
10)because of guest domain dependent & control domain dependecy my service domain does not started once control domain restarts
11)if i create slice in a disk and dedicate that slice to guest domain
   in installation time we need to select slice option then only installation got successfull.
   in installation time if we take entire disk installation fails.
12)i create slice and install os on it now i give same sile to another guest it throws error
13).how to set policy to if vcpus are added as core level?
SOLUTION:-
 BY USING POLICY
.hear cpu adding dynamically two ways
   -> vcpu-min=4 vcpu-max=18 i.e eventhough u create ldom 18 vcpu it show only 4 vcpu
      usage ,rest of all are un used if load is extend depending on limits it add cpus
   ->ldom initially contains 4 vcpus
 vcpu-min=4 vcpu-max=8 hear initail 4 are usage more than limit then the remaing 4
      cpus depending on load will asign from free available cpus i.e these vcpus are
      not assigned to any guest domain
   -> if u are creating ldom by using core level this dynamic cpu capping is disable ?why???
   ex:
    CONSTRAINT
    cpu=whole-core
    max-cores=unlimited
    threading=max-throughput
 # ldm set-policy enable=yes name=dbpolicy bwdb
Resource Management is disabled while whole-core constraint is enabled
14) WHY Resource Management is disabled WHILE ASSIGNING CORE LEVEL CPU ASSIGNMENT ???????

15) i don't know how to assign limited speed vnic to guest domain ?

16).How to assign shared storage for cluster?
FOR EMC POWERPATH it is not allowing to common storage, but for solaris MPixo it allows common storage 
17).How to assign shared storage target device?

18.why LDom  is locked against modification?
#ldm set-mem 12G Z10DB
LDom Z10DB is locked against modification
19)online disk removing not possible after vxvm installed,
this disk in not under control of vxvm?
c2d19s2      auto:SVM        -            -            SVM
ldm remove-vdisk mddb1 Z10DB
Guest LDom returned the following reason for failing the operation:
    Resource             Information
----------------  -------------------------
/dev/dsk/c2d19s2  Device being used by VxVM
VIO operation failed because device is being used in LDom Z10DB
Failed to remove vdisk instance
================================
solution:-
Resource Information
---------------- -------------------------
/dev/dsk/c2d17s2 Device being used by VxVM <-------- HERE
VIO operation failed because device is being used in LDom Z10DB
Failed to remove vdisk instance
---

# vxdisk list
c2d17s2 auto:none - - online invalid
#vxdisk rm c2d17
# vxdisk list
no disk info
==
from control domain
===
# ldm remove-vdisk -f lun17 Z10DB
Guest LDom returned the following reason for failing the operation:
Resource Information
---------------- -------------------------
/dev/dsk/c2d17s2 Device being used by VxVM
VIO operation failed because device is being used in LDom Z10DB
Failed to remove vdisk instance
The -f option has no effect because the device cannot be removed safely

# vxdmpadm listctlr all
CTLR_NAME       ENCLR_TYPE      STATE        ENCLR_NAME      PATH_COUNT
=========================================================================
c2              EMC_CLARiiON    ENABLED      emc_clariion0        19


# vxdmpadm getsubpaths ctlr=c2
NAME         STATE[A]   PATH-TYPE[M] DMPNODENAME  ENCLR-TYPE   ENCLR-NAME   ATTR                                                                             S
================================================================================
c2d0s2       ENABLED(A)  PRIMARY      c2d0s2       EMC_CLARiiON  emc_clariion0                                                                                  -
c2d10s2      ENABLED(A)  PRIMARY      c2d10s2      EMC_CLARiiON  emc_clariion0                                                                                  -
c2d11s2      ENABLED(A)  SECONDARY    c2d11s2      EMC_CLARiiON  emc_clariion0                                                                                  -
c2d12s2      ENABLED(A)  PRIMARY      c2d12s2      EMC_CLARiiON  emc_clariion0                                                                                  -
c2d13s2      ENABLED(A)  PRIMARY      c2d13s2      EMC_CLARiiON  emc_clariion0                                                                                  -
c2d14s2      ENABLED(A)  PRIMARY      c2d14s2      EMC_CLARiiON  emc_clariion0                                                                                  -
c2d15s2      ENABLED(A)  PRIMARY      c2d15s2      EMC_CLARiiON  emc_clariion0                                                                                  -
c2d16s2      ENABLED(A)  PRIMARY      c2d16s2      EMC_CLARiiON  emc_clariion0                                                                                  -
c2d17s2      ENABLED(A)  PRIMARY      c2d17s2      EMC_CLARiiON  emc_clariion0                                                                                  -
c2d18        ENABLED(A)  PRIMARY      c2d18        EMC_CLARiiON  emc_clariion0                                                                                  -
c2d1s2       ENABLED(A)  SECONDARY    c2d1s2       EMC_CLARiiON  emc_clariion0                                                                                  -
c2d2s2       ENABLED(A)  SECONDARY    c2d2s2       EMC_CLARiiON  emc_clariion0                                                                                  -
c2d3s2       ENABLED(A)  SECONDARY    c2d3s2       EMC_CLARiiON  emc_clariion0                                                                                  -
c2d4s2       ENABLED(A)  SECONDARY    c2d4s2       EMC_CLARiiON  emc_clariion0                                                                                  -
c2d5s2       ENABLED(A)  SECONDARY    c2d5s2       EMC_CLARiiON  emc_clariion0                                                                                  -
c2d6s2       ENABLED(A)  SECONDARY    c2d6s2       EMC_CLARiiON  emc_clariion0                                                                                  -
c2d7s2       ENABLED(A)  SECONDARY    c2d7s2       EMC_CLARiiON  emc_clariion0                                                                                  -
c2d8s2       ENABLED(A)  SECONDARY    c2d8s2       EMC_CLARiiON  emc_clariion0                                                                                  -
c2d9s2       ENABLED(A)  SECONDARY    c2d9s2       EMC_CLARiiON  emc_clariion0

# vxdmpadm -f disable  ctlr=c2

# vxdmpadm getsubpaths ctlr=c2
NAME         STATE[A]   PATH-TYPE[M] DMPNODENAME  ENCLR-TYPE   ENCLR-NAME   ATTRS
================================================================================
c2d0s2       DISABLED(M)  PRIMARY      c2d0s2       EMC_CLARiiON  emc_clariion0     -
c2d10s2      DISABLED(M)  PRIMARY      c2d10s2      EMC_CLARiiON  emc_clariion0     -
c2d11s2      DISABLED(M)  SECONDARY    c2d11s2      EMC_CLARiiON  emc_clariion0     -
c2d12s2      DISABLED(M)  PRIMARY      c2d12s2      EMC_CLARiiON  emc_clariion0     -
c2d13s2      DISABLED(M)  PRIMARY      c2d13s2      EMC_CLARiiON  emc_clariion0     -
c2d14s2      DISABLED(M)  PRIMARY      c2d14s2      EMC_CLARiiON  emc_clariion0     -
c2d15s2      DISABLED(M)  PRIMARY      c2d15s2      EMC_CLARiiON  emc_clariion0     -
c2d16s2      DISABLED(M)  PRIMARY      c2d16s2      EMC_CLARiiON  emc_clariion0     -
c2d17s2      DISABLED(M)  PRIMARY      c2d17s2      EMC_CLARiiON  emc_clariion0     -
c2d18        DISABLED(M)  PRIMARY      c2d18        EMC_CLARiiON  emc_clariion0     -
c2d1s2       DISABLED(M)  SECONDARY    c2d1s2       EMC_CLARiiON  emc_clariion0     -
c2d2s2       DISABLED(M)  SECONDARY    c2d2s2       EMC_CLARiiON  emc_clariion0     -
c2d3s2       DISABLED(M)  SECONDARY    c2d3s2       EMC_CLARiiON  emc_clariion0     -
c2d4s2       DISABLED(M)  SECONDARY    c2d4s2       EMC_CLARiiON  emc_clariion0     -
c2d5s2       DISABLED(M)  SECONDARY    c2d5s2       EMC_CLARiiON  emc_clariion0     -
c2d6s2       DISABLED(M)  SECONDARY    c2d6s2       EMC_CLARiiON  emc_clariion0     -
c2d7s2       DISABLED(M)  SECONDARY    c2d7s2       EMC_CLARiiON  emc_clariion0     -
c2d8s2       DISABLED(M)  SECONDARY    c2d8s2       EMC_CLARiiON  emc_clariion0     -
c2d9s2       DISABLED(M)  SECONDARY    c2d9s2       EMC_CLARiiON  emc_clariion0     -
# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c2d0s2       auto            -            -            error
c2d1s2       auto:cdsdisk    -            -            error
c2d2s2       auto:cdsdisk    -            -            error
c2d3s2       auto:cdsdisk    -            -            error
c2d4s2       auto:cdsdisk    -            -            error
c2d5s2       auto:cdsdisk    -            -            error
c2d6s2       auto:cdsdisk    -            -            error
c2d7s2       auto:cdsdisk    -            -            error
c2d8s2       auto:cdsdisk    ascs1        Z10ASCS      online shared lfailed
c2d9s2       auto:cdsdisk    ascs2        Z10ASCS      online shared lfailed
c2d10s2      auto:cdsdisk    -            -            error
c2d11s2      auto:cdsdisk    -            -            error
c2d12s2      auto:sliced     -            -            error
c2d13s2      auto:sliced     -            -            error
c2d14s2      auto:sliced     -            -            error
c2d15s2      auto:sliced     -            -            error
c2d16s2      auto:sliced     -            -            error
c2d17s2      auto            -            -            error
c2d18        auto            -            -            error

# vxdmpadm enable ctlr=c2
# vxdmpadm getsubpaths ctlr=c2
NAME         STATE[A]   PATH-TYPE[M] DMPNODENAME  ENCLR-TYPE   ENCLR-NAME   ATTRS
================================================================================
c2d0s2       ENABLED(A)  PRIMARY      c2d0s2       EMC_CLARiiON  emc_clariion0     -
c2d10s2      ENABLED(A)  PRIMARY      c2d10s2      EMC_CLARiiON  emc_clariion0     -
c2d11s2      ENABLED(A)  SECONDARY    c2d11s2      EMC_CLARiiON  emc_clariion0     -
c2d12s2      ENABLED(A)  PRIMARY      c2d12s2      EMC_CLARiiON  emc_clariion0     -
c2d13s2      ENABLED(A)  PRIMARY      c2d13s2      EMC_CLARiiON  emc_clariion0     -
c2d14s2      ENABLED(A)  PRIMARY      c2d14s2      EMC_CLARiiON  emc_clariion0     -
c2d15s2      ENABLED(A)  PRIMARY      c2d15s2      EMC_CLARiiON  emc_clariion0     -
c2d16s2      ENABLED(A)  PRIMARY      c2d16s2      EMC_CLARiiON  emc_clariion0     -
c2d17s2      ENABLED(A)  PRIMARY      c2d17s2      EMC_CLARiiON  emc_clariion0     -
c2d18        ENABLED(A)  PRIMARY      c2d18        EMC_CLARiiON  emc_clariion0     -
c2d1s2       ENABLED(A)  SECONDARY    c2d1s2       EMC_CLARiiON  emc_clariion0     -
c2d2s2       ENABLED(A)  SECONDARY    c2d2s2       EMC_CLARiiON  emc_clariion0     -
c2d3s2       ENABLED(A)  SECONDARY    c2d3s2       EMC_CLARiiON  emc_clariion0     -
c2d4s2       ENABLED(A)  SECONDARY    c2d4s2       EMC_CLARiiON  emc_clariion0     -
c2d5s2       ENABLED(A)  SECONDARY    c2d5s2       EMC_CLARiiON  emc_clariion0     -
c2d6s2       ENABLED(A)  SECONDARY    c2d6s2       EMC_CLARiiON  emc_clariion0     -
c2d7s2       ENABLED(A)  SECONDARY    c2d7s2       EMC_CLARiiON  emc_clariion0     -
c2d8s2       ENABLED(A)  SECONDARY    c2d8s2       EMC_CLARiiON  emc_clariion0     -
c2d9s2       ENABLED(A)  SECONDARY    c2d9s2       EMC_CLARiiON  emc_clariion0     -
# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c2d0s2       auto            -            -            error
c2d1s2       auto:cdsdisk    -            -            error
c2d2s2       auto:cdsdisk    -            -            error
c2d3s2       auto:cdsdisk    -            -            error
c2d4s2       auto:cdsdisk    -            -            error
c2d5s2       auto:cdsdisk    -            -            error
c2d6s2       auto:cdsdisk    -            -            error
c2d7s2       auto:cdsdisk    -            -            error
c2d8s2       auto:cdsdisk    ascs1        Z10ASCS      online shared lfailed
c2d9s2       auto:cdsdisk    ascs2        Z10ASCS      online shared lfailed
c2d10s2      auto:cdsdisk    -            -            error
c2d11s2      auto:cdsdisk    -            -            error
c2d12s2      auto:sliced     -            -            error
c2d13s2      auto:sliced     -            -            error
c2d14s2      auto:sliced     -            -            error
c2d15s2      auto:sliced     -            -            error
c2d16s2      auto:sliced     -            -            error
c2d17s2      auto            -            -            error
c2d18        auto            -            -            error
# vxdctl disable
# vxdctl enable
# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c2d0s2       auto:ZFS        -            -            ZFS
c2d1s2       auto:cdsdisk    -            -            online
c2d2s2       auto:cdsdisk    -            -            online
c2d3s2       auto:cdsdisk    -            -            online
c2d4s2       auto:cdsdisk    -            -            online
c2d5s2       auto:cdsdisk    -            -            online
c2d6s2       auto:cdsdisk    -            -            online
c2d7s2       auto:cdsdisk    -            -            online
c2d8s2       auto:cdsdisk    ascs1        Z10ASCS      online shared
c2d9s2       auto:cdsdisk    ascs2        Z10ASCS      online shared
c2d10s2      auto:cdsdisk    -            -            online
c2d11s2      auto:cdsdisk    -            -            online
c2d12s2      auto:sliced     -            -            online
c2d13s2      auto:sliced     -            -            online
c2d14s2      auto:sliced     -            -            online
c2d15s2      auto:sliced     -            -            online
c2d16s2      auto:sliced     -            -            online
c2d17s2      auto:none       -            -            online invalid
c2d18        auto:ZFS        -            -            ZFS


# ldm remove-vdisk lun17 Z10DB

for single disk
# vxdmpadm exclude path=c2d17s2
# ldm remove-vdisk lun17 Z10DB
====================================

20) in control domain all storage luns are under control of powerpath
   after reboot the saved configuation clears?

   in dmesg it shows mpxio is enable at boot time
   but if u execute smboot -L it shows that it MPXIO is disable
   so we go to /kernel/drv dir
   check all files which have mpxio_disable option
   if is there just put mpxio_disable=yes in all files
   now after reboot also all saved configurations are exists.

21)how to install LDOMs after upgrade OS???
we manually remove ldmos & and try to install same it does not installed and shows followin msg
No updates necessary for this image.
sol:- there may be posibulity to currupt image.

22)after installing powerpath on guest domain FORMAT command takes long time to give result . WHY ????????
after remove installed powerpath it gives immediately why ????????
sol:- i asked Oracle team they told there is bug in EMCpower ? is it really ??

23)if i assign disk to guest domain why disk not visible in C#t#d#s# format?? why only in c#d#s# format ???

24)if i assign single disk to 2 different guest domains why it will allocate different disk numbers ??
ex: Guest1: c1d1
    Guest2: c1d2






    

CFS:-
1.in cfsservice group  there is no switch sg option only online/offline options
2.in cfs share can be from all nodes in the cluster.
3.it is not possible by using cfsnfs to mount all nodes share from single node (if u configure nfs sg with IP then it is possible not in fs)
4.cfs base metadata file system is not allowed to share.
5.if u want share create new volume,mkfs,share

6)while converting sun cluster devices to vcs devices?
->it does not allow to configure under contor of vxvm
-> cover to EFI--> SMI
-->now setup successfull
-->unsetup fail
-> remove old scsi3 reservations-->
1) Determine what DID device the lun is mapped to using /usr/cluster/bin/scdidadm -L
2) Disable failfast on the DID device using /usr/cluster/lib/sc/scsi -c disfailfast -d /dev/did/rdsk/DID
3) Release the DID device using  /usr/cluster/lib/sc/scsi -c release -d /dev/did/rdsk/DID
4) Scrub the reserve keys from the DID device using  /usr/cluster/lib/sc/scsi -c scrub -d /dev/did/rdsk/DID
5) Confirm reserve keys are removed using /usr/cluster/lib/sc/scsi -c inkeys -d /dev/did/rdsk/DID
6) Remove lun from zone on machine or whatever procedure you were trying to complete.
-->now setup & unsetup successfull
===
vcs&cfs&cvm
=====
install 6.0.1 dont configure
install 6.0.3 configure
==dont delete default service groups.
to post cofigre vcs please execute following scripts
/opt/VRTS/install/installsfcfsha601 -configure

2)SAP agents for VCS6.0.3 not released for solaris ??? we are expecting they r releasing on OCt??


how to check & fix probles while apply kjp in solaris10?

# ./installpatchset --s10patchset
....
PaTcH_MsG 23 Patch number 146681-02 cannot be applied until all         restricted patches are backed out
solution:
Please Note : we have to Backout IDR Patch No IDR148092-01 before proceeding to KJP. IDR patch was interim patch  provided to us which is causing error now.
I have backed out  IDR Patch No IDR148092-01    for  p60app01 (10.66.230.50). You can proceed further for KJP installation.


# patchrm IDR148092-01
it removes successfuly


 # pwd

/tmp/10_Recommended


 # cd patches


 # patchadd 146681-02
now it add successfully

HBA s/w FCode1.14.15 installation in solaris10?

steps to install HBAport Qlogic FC software:
#pkgadd -d scli-1.7.1-18.sparc.Solaris.pkg
...
success ful
#tar -xvf isp2312FCode1.14.15.tar
#ls
isp2312.prom
#reboot -->need to reboot server other wise it will through following error
Enter a file name or Hit <RETURN> to abort: /tmp/isp2312.prom
Updating FCode on HBA instance 2 -  QLA2342. Please wait...
Unable to update Flash on this HBA (Instance 2). Error=(0x20000067) (Device is busy)!
Updating FCode on HBA instance 3 -  QLA2342. Please wait...
Unable to update Flash on this HBA (Instance 3). Error=(0x20000067) (Device is busy)!
Flash update feature is not supported on this HBA (Instance 4 - )!
Updating FCode on HBA instance 0 -  QLA2342. Please wait...
Unable to update Flash on this HBA (Instance 0). Error=(0x20000067) (Device is busy)!
Updating FCode on HBA instance 1 -  QLA2342. Please wait...
Unable to update Flash on this HBA (Instance 1). Error=(0x20000067) (Device is busy)!
root@SRMDV # scli
Searching for QLogic FC HBA(s) and attached device(s) ...              /

        SANsurfer FC HBA CLI
        v1.7.1 Build 18
    Main Menu
    1:  General Information
    2:  HBA Information
    3:  HBA Parameters
    4:  Target/LUN List
    5:  iiDMA Settings
    6:  Target Persistent Bindings
    7:  Selective LUNs
    8:  Boot Device
    9:  Driver Settings
   10:  Utilities
   11:  Beacon
   12:  Diagnostics
   13:  Statistics
   14:  Help
   15:  Exit

        Enter Selection: 10
        SANsurfer FC HBA CLI
        v1.7.1 Build 18
    Utilities Menu
    1:  Flash Update
    2:  Flash Save
    3:  HBA Parameters Update
    4:  HBA Parameters Save
    5:  HBA Parameters Templates
    6:  Driver Rescan
    7:  Return to Previous Menu

        Note: 0 to return to Main Menu
        Enter Selection: 1
Warning: Unknown adapter SSDID (0xFFFF) and SSVID (0xFFFF)!
        SANsurfer FC HBA CLI
        v1.7.1 Build 18
    Flash Update Menu
    HBA Model QLA2342:
      1: Port   1 (HBA  2 OS  2): WWPN: 21-00-00-E0-8B-84-1B-70 Loop Down
      2: Port   2 (HBA  3 OS  3): WWPN: 21-01-00-E0-8B-A4-1B-70 Loop Down
    HBA Model :
         Port   1 (HBA  4 OS  3): WWPN: 21-00-00-14-4F-4A-D5-FC Online
    HBA Model QLA2342:
      3: Port   1 (HBA  0 OS  0): WWPN: 21-00-00-E0-8B-92-2B-DF Loop Down
      4: Port   2 (HBA  1 OS  1): WWPN: 21-01-00-E0-8B-B2-2B-DF Loop Down
      5: All HBAs
      6: Return to Previous Menu

        Note: 0 to return to Main Menu
        Enter Selection: 5
        SANsurfer FC HBA CLI
        v1.7.1 Build 18
    Warning:
        The Flash save/update operation requires that all the HBAs
        have no outstanding input and output operations. Please make sure
        there are no active I/Os before starting the operation.
        Also after the update operation, the HBAs will be reset. This may
        adversely affect your SAN.
        Please note that only HBAs that are compatible with the image
        file specified will be updated.
        Do you want to proceed with the operation?
    1:  Yes
    2:  No

        Enter Selection: 1
Enter a file name or Hit <RETURN> to abort: /scripts/isp2312.prom
Updating FCode on HBA instance 2 -  QLA2342. Please wait...
Flash update complete. Changes have been saved to the HBA instance 2.
Updating FCode on HBA instance 3 -  QLA2342. Please wait...
Flash update complete. Changes have been saved to the HBA instance 3.
Flash update feature is not supported on this HBA (Instance 4 - )!
Updating FCode on HBA instance 0 -  QLA2342. Please wait...
Flash update complete. Changes have been saved to the HBA instance 0.
Updating FCode on HBA instance 1 -  QLA2342. Please wait...
Flash update complete. Changes have been saved to the HBA instance 1.

                Hit <RETURN> to continue:
Warning: Unknown adapter SSDID (0xFFFF) and SSVID (0xFFFF)!
        SANsurfer FC HBA CLI
        v1.7.1 Build 18
    Flash Update Menu
    HBA Model QLA2342:
      1: Port   1 (HBA  2 OS  2): WWPN: 21-00-00-E0-8B-84-1B-70 Loop Down
      2: Port   2 (HBA  3 OS  3): WWPN: 21-01-00-E0-8B-A4-1B-70 Loop Down
    HBA Model :
         Port   1 (HBA  4 OS  3): WWPN: 21-00-00-14-4F-4A-D5-FC Online
    HBA Model QLA2342:
      3: Port   1 (HBA  0 OS  0): WWPN: 21-00-00-E0-8B-92-2B-DF Loop Down
      4: Port   2 (HBA  1 OS  1): WWPN: 21-01-00-E0-8B-B2-2B-DF Loop Down
      5: All HBAs
      6: Return to Previous Menu

        Note: 0 to return to Main Menu
        Enter Selection: 6
        SANsurfer FC HBA CLI
        v1.7.1 Build 18
    Utilities Menu
    1:  Flash Update
    2:  Flash Save
    3:  HBA Parameters Update
    4:  HBA Parameters Save
    5:  HBA Parameters Templates
    6:  Driver Rescan
    7:  Return to Previous Menu

        Note: 0 to return to Main Menu
        Enter Selection: 7
        SANsurfer FC HBA CLI
        v1.7.1 Build 18
    Main Menu
    1:  General Information
    2:  HBA Information
    3:  HBA Parameters
    4:  Target/LUN List
    5:  iiDMA Settings
    6:  Target Persistent Bindings
    7:  Selective LUNs
    8:  Boot Device
    9:  Driver Settings
   10:  Utilities
   11:  Beacon
   12:  Diagnostics
   13:  Statistics
   14:  Help
   15:  Exit
-------------------
#scli-->select(2)-->select(6)--(FCode Version: 2.00.09 it shows this version)

 # fcinfo hba-port

#reboot

--->then  check
FCode Version: 1.14.15

#egrep -iv 'qla|qlc' /etc/path_to_inst>/a

# cp /a /etc/path_to_inst

WHAT HAPPENS dont make proper entry in /etc/vfstab IN SOLARIS10?

Rebooting with command: boot disk1

Boot device: /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/disk@1  File and args:
SunOS Release 5.10 Version Generic_118822-26 64-bit
Copyright 1983-2005 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hostname: RETAILSAPT21
WARNING: /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/sd@0,0 (sd3):
        Error for Command: load/start/stop         Error Level: Informational
        Requested Block: 0                         Error Block: 0
        Vendor: FUJITSU                            Serial Number: 0550S01ALB
        Sense Key: Soft Error
        ASC: 0x5d (hardware impending failure too many block reassigns), ASCQ: 0x14, FRU: 0x0
The / file system (/dev/rdsk/c3t1d0s) is being checked.
WARNING - Unable to repair the / filesystem. Run fsck
manually (fsck -F ufs /dev/rdsk/c3t1d0s).
Mar 15 16:22:38 svc.startd[7]: svc:/system/filesystem/usr:default: Method "/lib/svc/method/fs-usr" failed with exit status 95.
[ system/filesystem/usr:default failed fatally (see 'svcs -x' for details) ]
Requesting System Maintenance Mode
(See /lib/svc/share/README for more information.)
Console login service(s) cannot run
Root password for system maintenance (control-d to bypass):
single-user privilege assigned to /dev/console.
Entering System Maintenance Mode
Mar 15 16:24:52 su: 'su root' succeeded for root on /dev/console
Sourcing //.profile-EIS.....


 # svcs -x


svc:/system/filesystem/usr:default (read/write root file systems mounts)
 State: maintenance since Thu Mar 15 16:22:38 2012
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
   See: http://sun.com/msg/SMF-8000-KS
   See: /etc/svc/volatile/system-filesystem-usr:default.log
Impact: 48 dependent services are not running.  (Use -v for list.)
svc:/network/rpc/gss:default (Generic Security Service)
 State: uninitialized since Thu Mar 15 16:22:28 2012
Reason: Restarter svc:/network/inetd:default is not running.
   See: http://sun.com/msg/SMF-8000-5H
   See: gssd(1M)
Impact: 13 dependent services are not running.  (Use -v for list.)
svc:/network/rpc/meta:default (SVM remote metaset services)
 State: uninitialized since Thu Mar 15 16:22:29 2012
Reason: Restarter svc:/network/inetd:default is not running.
   See: http://sun.com/msg/SMF-8000-5H
   See: rpc.metad(1M)
Impact: 6 dependent services are not running.  (Use -v for list.)
svc:/application/print/server:default (LP print server)
 State: disabled since Thu Mar 15 16:22:28 2012
Reason: Disabled by an administrator.
   See: http://sun.com/msg/SMF-8000-05
   See: lpsched(1M)
Impact: 1 dependent service is not running.  (Use -v for list.)

 # who -r

 # df -kh
Filesystem             size   used  avail capacity  Mounted on
/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/disk@1,0:a
                        11G   7.4G   3.0G    72%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    15G   888K    15G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
/platform/sun4v/lib/libc_psr/libc_psr_hwcap1.so.1
                        11G   7.4G   3.0G    72%    /platform/sun4v/lib/libc_psr.so.1
/platform/sun4v/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
                        11G   7.4G   3.0G    72%    /platform/sun4v/lib/sparcv9/libc_psr.so.1

 # init 0

 # svc.startd: The system is coming down.  Please wait.
svc.startd: 11 system services are now being stopped.
svc.startd: The system is down.
syncing file systems... done
Program terminated


SOLUTION:-

1)MOUNT / FILE SYSTEM AS READ WIRTE
2)EDIT /etc/vfstab FILE WITH PROPER ENTRIES
3)CLEAR FAULT SERVICES

WHAT HAPPENS NFS SERVER STOP WORING AFTER MOINTING NFS FILE SYSTEM IN CLINET IN SOLARIS 10?

Mntpt: /mnt]NFS server XX.XX.XX.XX not responding; still trying

 # df -kh
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d10         29G    11G    17G    40%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    65G   1.9M    65G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap2.so.1
                        29G    11G    17G    40%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
                        29G    11G    17G    40%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                    65G   296K    65G     1%    /tmp
swap                    65G    56K    65G     1%    /var/run
swap                    65G     0K    65G     0%    /dev/vx/dmp
swap                    65G     0K    65G     0%    /dev/vx/rdmp
/dev/odm                 0K     0K     0K     0%    /dev/odm
/vol/dev/dsk/c0t0d0/sol_10_1008_sparc
                       2.5G   2.5G     0K   100%    /cdrom/sol_10_1008_sparc
/dev/vx/dsk/D22-TEST/sapmnt
                        68G    36G    32G    53%    /sapmnt
/dev/vx/dsk/D22-TEST/oracle
                       600G   379G   219G    64%    /oracle
^C


 # dmesg
Feb 10 03:37:06 rrtest2 nfs: [ID 236337 kern.info] NOTICE: [NFS4][Server: 10.66.14.75][Mntpt: /mnt]NFS op OP_OPEN got error NFS4ERR_EXPIRED causing recovery action NR_CLIENTID.
Feb 10 03:37:06 rrtest2 nfs: [ID 581112 kern.info] NOTICE: [NFS4][Server: 10.66.14.75][Mntpt: /mnt]NFS Starting recovery for mount /mnt (mi 0x30014b5c000 mi_recovflags [0x1]) on server 10.66.14.75, rnode_pt1 . (0x6004d5ab6b8), rnode_pt2 ./CID0020068250_0028884.ATT (0x6004d5ab2f0)
Feb 10 03:37:06 rrtest2 nfs: [ID 273629 kern.info] NOTICE: [NFS4][Server: 10.66.14.75][Mntpt: /mnt]NFS Recovery done for mount /mnt (mi 0x30014b5c000) on server 10.66.14.75, rnode_pt1 . (0x6004d5ab6b8), rnode_pt2 ./CID0020068250_0028884.ATT (0x6004d5ab2f0)
Feb 10 03:37:06 rrtest2 nfs: [ID 236337 kern.info] NOTICE: [NFS4][Server: 10.66.14.75][Mntpt: /mnt]NFS op OP_GETATTR got error NFS4ERR_STALE causing recovery action NR_STALE.
Feb 10 03:37:06 rrtest2 nfs: [ID 286389 kern.info] NOTICE: [NFS4][Server: 10.66.14.75][Mntpt: /mnt]File ./EPS/in (rnode_pt: 3000df0e058) was closed due to NFS recovery error on server 10.66.14.75(failed to recover from NFS4ERR_STALE NFS4ERR_STALE)
Feb 10 03:37:06 rrtest2 nfs: [ID 941083 kern.info] NOTICE: NFS4 FACT SHEET:
Feb 10 03:37:06 rrtest2  Action: NR_STALE
Feb 10 03:37:06 rrtest2  NFS4 error: NFS4ERR_STALE  
Feb 13 19:25:46 rrtest2 SAPD22_00[14570]: [ID 744969 user.error] Unable to open trace file sapstartsrv.log. (Error 11 Resource temporarily unavailable) [ntservsserver.cpp 3233]
Feb 15 16:12:54 rrtest2 nfs: [ID 733954 kern.info] NOTICE: [NFS4][Server: 10.66.14.75][Mntpt: /mnt]NFS server 10.66.14.75 not responding; still trying
Feb 15 22:46:20 rrtest2 last message repeated 1 time
Feb 16 15:01:18 rrtest2 nfs: [ID 733954 kern.info] NOTICE: [NFS4][Server: 10.66.14.75][Mntpt: /mnt]NFS server 10.66.14.75 not responding; still trying
Feb 18 12:47:05 rrtest2 last message repeated 1 time
Feb 18 12:53:25 rrtest2 svc.startd[8]: [ID 122153 daemon.warning] svc:/network/nfs/client:default: Method or service exit timed out.  Killing contract 2528.
Feb 18 12:53:25 rrtest2 svc.startd[8]: [ID 636263 daemon.warning] svc:/network/nfs/client:default: Method "/lib/svc/method/nfs-client stop" failed due to signal KILL.
Feb 18 12:54:26 rrtest2 svc.startd[8]: [ID 122153 daemon.warning] svc:/network/nfs/client:default: Method or service exit timed out.  Killing contract 2529.
Feb 18 12:54:26 rrtest2 svc.startd[8]: [ID 636263 daemon.warning] svc:/network/nfs/client:default: Method "/lib/svc/method/nfs-client stop" failed due to signal KILL.

 # svcs nfs/client
STATE          STIME    FMRI
disabled       12:55:27 svc:/network/nfs/client:default

# cat /etc/mnttab


 # umount -f /mnt
 # df -kh
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d10         29G    11G    17G    40%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    65G   1.9M    65G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap2.so.1
                        29G    11G    17G    40%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
                        29G    11G    17G    40%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                    65G   296K    65G     1%    /tmp
swap                    65G    56K    65G     1%    /var/run
swap                    65G     0K    65G     0%    /dev/vx/dmp
swap                    65G     0K    65G     0%    /dev/vx/rdmp
/dev/odm                 0K     0K     0K     0%    /dev/odm
/vol/dev/dsk/c0t0d0/sol_10_1008_sparc
                       2.5G   2.5G     0K   100%    /cdrom/sol_10_1008_sparc
/dev/vx/dsk/D22-TEST/sapmnt
                        68G    36G    32G    53%    /sapmnt
/dev/vx/dsk/D22-TEST/oracle
                       600G   379G   219G    64%    /oracle

 # cat /etc/mnttab
/dev/md/dsk/d10 /       ufs     rw,intr,largefiles,logging,xattr,onerror=panic,dev=154000a      1328770692
/devices        /devices        devfs   dev=5c00000     1328770669
ctfs    /system/contract        ctfs    dev=5c40001     1328770669
proc    /proc   proc    dev=5c80000     1328770669
mnttab  /etc/mnttab     mntfs   dev=5cc0001     1328770669
swap    /etc/svc/volatile       tmpfs   xattr,dev=5d00001       1328770669
objfs   /system/object  objfs   dev=5d40001     1328770669
sharefs /etc/dfs/sharetab       sharefs dev=5d80001     1328770669
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap2.so.1   /platform/sun4u-us3/lib/libc_psr.so.1   lofs    dev=154000a     1328770690
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1   /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1   lofs    dev=154000a     1328770690
fd      /dev/fd fd      rw,dev=5f00001  1328770692
swap    /tmp    tmpfs   xattr,dev=5d00002       1328770693
swap    /var/run        tmpfs   xattr,dev=5d00003       1328770693
swap    /dev/vx/dmp     tmpfs   xattr,dev=5d00004       1328770701
swap    /dev/vx/rdmp    tmpfs   xattr,dev=5d00005       1328770701
/dev/odm        /dev/odm        odm     smartsync,dev=5f80000   1328770712
/vol/dev/dsk/c0t0d0/sol_10_1008_sparc   /cdrom/sol_10_1008_sparc        hsfs    ro,nosuid,noglobal,maplcase,rr,traildot,dev=16c0001     1328770723
/dev/vx/dsk/D22-TEST/sapmnt     /sapmnt vxfs    rw,suid,delaylog,largefiles,qio,ioerror=mwdisable,dev=5347530   1328770898
/dev/vx/dsk/D22-TEST/oracle     /oracle vxfs    rw,suid,delaylog,largefiles,qio,ioerror=mwdisable,dev=5347531   1328770909

 # svcs -a|grep nfs
disabled       Feb_09   svc:/network/nfs/server:default
disabled       12:53:38 svc:/network/nfs/cbd:default
disabled       12:55:27 svc:/network/nfs/client:default
online         Feb_09   svc:/network/nfs/status:default
online         Feb_09   svc:/network/nfs/mapid:default
online         Feb_09   svc:/network/nfs/nlockmgr:default
online         Feb_09   svc:/network/nfs/rquota:default


 # svcadm enable svc:/network/nfs/cbd:default
 # svcadm enable svc:/network/nfs/client:default
 # svcs -a|grep -i nfs
disabled       Feb_09   svc:/network/nfs/server:default
online         Feb_09   svc:/network/nfs/status:default
online         Feb_09   svc:/network/nfs/mapid:default
online         Feb_09   svc:/network/nfs/nlockmgr:default
online         Feb_09   svc:/network/nfs/rquota:default
online         12:57:30 svc:/network/nfs/cbd:default
online         12:57:55 svc:/network/nfs/client:default