FSCK Ufs Example
FSCK Ufs Example
FSCK Ufs Example
-----------
*
Here is the "/usr/sbin/df -k /" output :
*
Here is the simple /usr/sbin/metastat output for mirror d13 :
d13: Mirror
Submirror 0: d10
State: Okay
Submirror 1: d11
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 20972736 blocks (10 GB)
*
metadetach sub-mirror d11 from d13 :
*
boot from one of the safe method to run fsck -
* boot net/cdrom -s
* boot <alternate-boot-device>
* boot -b
ok> boot -b
-
-
-
INIT: Cannot create /var/adm/utmpx
*
Run fsck :
fsck -F ufs <fsck-option> <raw-root-device> :
---------------
<fsck-option> :
*
reboot to multi-user mode.
#/usr/sbin/reboot
or
#/usr/sbin/halt (to obp prompt)
*
Once in multi-user mode, metattach the sub-mirror d11 to the mirror d13 :
#/usr/sbin/metattach d13 d11
d13: submirror d11 is attached
(Starting with solaris 9, SVM also has metaonline(1M) command).