[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 ?

link|improve this question

64% accept rate
feedback

1 Answer

up vote 3 down vote accepted

From the ok prompt:

boot -m milestone=none

should do it

link|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
feedback

Your Answer

 
or
required, but never shown

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