Yesterday was not a good day, gnome-session was dead in my Linux core machine causes some failure to my apps. My perforce proxy server is upside down,  seems like the hardware is dying soon. As usual, unless the server has death certification, else we will continue to squeeze it….

Trying to google around for SUN OS single mode (without cd) boot up so i can run fsck on root volume. This is the finding i have for SunOS 5.1 i386 after combining all article read.

Run fsck in SunOS 5.1

1. Boot into single mode

reboot — -m milestone=”none”

2. run

fsck -F ufs /dev/rdsk/c0t0d0s0


** phase 1 – Check Blocks and Sizes
** phase 2 – Check Pathnames
** phase 3 – Check Connectivity
** phase 4 – Check Reference Counts
** phase 5 – Check Cylinder Groups

I am safe, no bad superblock or sector. However, if you are running into trouble like : corrupted super block

newfs -Nv /dev/rdsk/c0t0d0s0

to obtain the block number of Superblock backup’s. Then finally

fsck -F ufs -o -b=32 /dev/rdsk/c0t0d0s0

*When you created new file system, alternate superblock was created as well, we are using this technique to repair bad superblock.

I will need to use smartd to scan the harddisk in SUN. write this on next post later on.