Wednesday 30 March 2016

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

No comments:

Post a Comment