Sepero |
03-28-2007 03:23 AM |
"errors=remount-ro" auto fsck, then remount-rw possible?
There's a nice little article here about protecting your partitions:
http://www.fry-it.com/at/reliable-jo...ystem-in-linux
Here is my fstab:
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda3 / ext3 noatime,errors=remount-ro 0 1
/dev/hdc /media/cd-rw udf,iso9660 user,noauto 0 0
/dev/hdd /media/dvd udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy auto user,noauto 0 0
/dev/hda6 /home ext3 noatime,errors=remount-ro 0 2
/dev/hda5 /home/a/nobak ext3 noatime,errors=remount-ro 0 2
#/dev/hda7 swap swap defaults 0 0
/dev/hda8 swap swap defaults 0 0
It makes sense to have your partitions remount as read-only after errors are detected, but then what? I didn't find out that anything was wrong until Firefox started locking up. Now after a good solid 37 days uptime, I was forced to reboot. <<shudder>>
Is there a way to have devices automatically fsck'd and remounted-rw? (Instead of staying read-only and having me find out later when my programs start freaking out?)
|