How to restore a corrupted file system or trouble shoot bad super blocks for a FS c0t2d0s5
Submitted by: Administratorget 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.
Submitted by: Administrator
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.
Submitted by: Administrator
Read Online Solaris Job Interview Questions And Answers
Top Solaris Questions
☺ | What is the command to do an interactive boot from the ok prompt? |
☺ | What is "Piping" solaris? |
☺ | How do we know how many LAN cards we have in server? |
☺ | What are the different phases in boot process |
☺ | How can i disable STOP+A utility on SUN machines, which brings system into OK> prompt? |
Top Operating System (OS) Categories
☺ | RTOS Interview Questions. |
☺ | Windows 7 Interview Questions. |
☺ | MAC Operating System Interview Questions. |
☺ | Disk Operating System (DOS) Interview Questions. |
☺ | Shell Scripting Interview Questions. |