LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Solaris 9/Ultra 10 - fresh install disk issues (https://www.linuxquestions.org/questions/solaris-opensolaris-20/solaris-9-ultra-10-fresh-install-disk-issues-642266/)

hattori.hanzo 05-14-2008 10:47 PM

Solaris 9/Ultra 10 - fresh install disk issues
 
A fresh install of Solaris 9 gives me this error on the reboot. The file system goes in Read Only mode. I am sure there are no issues with the hard disk as I took it out of another working machine.

# fsck /dev/rdsk/c0t1d0s0
** /dev/rdsk/c0t1d0s0
** Phase 1 - Check Block and size
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
UNREF DIR I=19 OWNER=root MODE=40577
SIZE=512 MTIME=May 6 15:35 2008
RECONNECT? y

I tried this but the reconnect messages are endless.

Code:

fsck -F ufs /dev/rdsk/c0t0d0s0
I tried rebooting in single user mode, then mounted the disk and did a fsck but no joy.

Is their a way to recover this disk?

eggixyz 05-15-2008 09:32 PM

Hey There,

Boot up into single user mode on the install (or boot) cd with (from the ok> prompt):

ok> boot cdrom -s

Then mount your /dev/dsk/c0t1d0s0

and run

fsck -y -F ufs /dev/rdsk/c0t1d0s0 <-- assuming you're using the ufs file system

Your problem may be caused by the fact that your fsck'ing a mounted filesystem which can cause issues with the "clean" flag not getting set correctly. Your disk may be fine, but fsck will still give you the errors because the fs is mounted.

If it doesn't get better, there may be some issues that need to be addressed on the disk. Unfortunately, to find them you might have to boot up into single user mode on the disk and run "format"

from the "format" menu select "analyze" and pick the "read" test (or whichever one doesn't destroy the OS or data on the drive -- it'll say :)

Best wishes,

Mike

hattori.hanzo 05-18-2008 11:15 PM

Thanks. single mode appears to have done the trick.

regards
secrookie

eggixyz 05-18-2008 11:48 PM

Good news!

Glad I could help out :)

, Mike


All times are GMT -5. The time now is 03:26 PM.