How do i fsck / on solaris 10

fscksolaris

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

Best Answer

From the ok prompt:

boot -m milestone=none

should do it