Sun Solaris (OS) Question:

Download Job Interview Questions and Answers PDF

How to restore a corrupted file system or trouble shoot bad super blocks for a FS c0t2d0s5

Solaris Interview Question
Solaris Interview Question

Answer:

get into single user mode from ok prompt by using the command below.
boot -s
use the newfs command to check the number of back ups for the superblock used.
use newfs -N to display the value for /dev/dsk/c1t1d0s0 as below.
newfs -N /dev/dsk/c1t1d0s0
use fsck command to fix the superblocks as below
fsck -F ufs -o b=75680 /dev/rdsk/c1t1d0s0

Now the blocks are replaced get to multiuser mode using init 3
server should boot fine.

Download Solaris Interview Questions And Answers PDF

Previous QuestionNext Question
What is the command can reconfigure devices with out reboot?How will you add a virtual IP address to a server in Solaris. Given the interface qe0 and IP 10.10.1.150