Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.
[ID 879645 kern.notice] NOTICE: /: unexpected free inode 211471, run fsck(1M) -o f

How can i run fsck cleanly (/ unmounted) ? The only solutions i can see are: - detach the SDS mirror, fsck on the other metadevice, reboot on it, and sync back the mirror; - boot on a CDROM and run fsck (hope the CD will handle the RAID).

Is there a ways to force Solaris 10 to run fsck on next reboot ? How do you fsck your / on Solaris 10 ?

share|improve this question

2 Answers 2

up vote 5 down vote accepted

From the ok prompt:

boot -m milestone=none

should do it

share|improve this answer
    
Yes, this is the way to go. –  Morven Sep 22 '09 at 4:47
    
OK, i've done that, but fsck'ing / while still mount rw does not fill alright. –  Benoît Sep 22 '09 at 11:14
    
OBP is present only in SPARC machines. I would use boot -s to boot in single user mode and then fsck the filesystem. Is there a difference? –  setatakahashi Sep 22 '09 at 13:04
    
At that point, nothing is running in the system that will be writing to disk, so it's safe. Reboot afterward. On an x86 system, you can do a 'reboot -- -m milestone=none' or 'reboot -- -s' to do the same thing, I'd have thought. –  Morven Sep 23 '09 at 22:19

Unfortunately, boot -m milestone=none didn't work for us; we simply got the same recurring error message on boot.

Instead, we had to take the "boot on a CDROM and run fsck" route. Oracle has a detailed doc on it called How to Check the root (/), /usr, or /var File Systems From an Alternate Boot Device

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.