不用意にリセットボタンは押さないようにしようw
当たり前なんだけどorz
shutdown -p nowでなぜか電源が落ちなかったのでプチッとリセットボタンを押したら
/dev/label/local: CANNOT READ BLK: 10371308 /dev/label/local: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY. THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY: ufs: /dev/label/local (/usr/local) Script /etc/rc.d/fsck running Automatic file system check failed; help! ERROR: ABORTING BOOT (sending SIGTERM to parent)!
とかいうメッセージが出てmount出来ねぇとか怒られたのでとりあえずfsck -yをしておけばいいだろうと軽く思ってたら
** /dev/label/local ** Last Mounted on /usr/local ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames CANNOT READ BLK: 10371308 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? yes THE FOLLOWING DISK SECTORS COULD NOT BE READ: 10371311, ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts LINK COUNT FILE I=236144 OWNER=xxx MODE=100644 SIZE=0 MTIME=Aug 22 14:20 2009 COUNT 2 SHOULD BE 1 ADJUST? yes ** Phase 5 - Check Cyl groups FREE BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? yes SUMMARY INFORMATION BAD SALVAGE? yes BLK(S) MISSING IN BIT MAPS SALVAGE? yes 276557 files, 1710167 used, 799740 free (50908 frags, 93604 blocks, 2.0% fragmentation) ***** FILE SYSTEM STILL DIRTY ***** ***** FILE SYSTEM WAS MODIFIED ***** ***** PLEASE RERUN FSCK *****
とか、FILE SYSTEM STILL DIRTYとか言われているのに気が付かずに再起動してまたmount出来ないと怒られどーしたもんかとググルさんに聞いてみたらsoftupdateを切ってやるといいらしいとの先人の記録が!
さっそく実行してみると
# tunefs -p /dev/label/local tunefs: ACLs: (-a) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: gjournal: (-J) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 15% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) # tunefs -n disable /dev/label/local tunefs: soft updates cleared # tunefs -p /dev/label/local tunefs: ACLs: (-a) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) disabled tunefs: gjournal: (-J) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 15% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) # fsck -y /dev/label/local ** /dev/label/local ** Last Mounted on /usr/local ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 104918 files, 1101733 used, 1408174 free (80294 frags, 165985 blocks, 3.2% fragmentation) ***** FILE SYSTEM MARKED CLEAN ***** # tunefs -n enable /dev/label/local tunefs: soft updates set # tunefs -p /dev/label/local tunefs: ACLs: (-a) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: gjournal: (-J) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 15% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) # fsck -y /dev/label/local ** /dev/label/local ** Last Mounted on /usr/local ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 104918 files, 1101733 used, 1408174 free (80294 frags, 165985 blocks, 3.2% fragmentation) ***** FILE SYSTEM IS CLEAN *****
直ったヽ(´ー`)ノsoftupdate切ったあと再度有効にしても大丈夫っぽい。
ありがとう。記録を残していてくれた人々。