You are not logged in.
Hi All,
Everytime 20th time I reboot my ArchLinux it forces a hard-check which takes aaages to complete (120GB here). How do I disable this? Or make it ask for confirmation?
~gautam
Offline
I am wondering out of curiosity, what filesystem are you using?
Offline
both ext2 and ext3 exhibit this behavior.
check out the tune2fs man page. I don't know if you can disable it, but you canmake it check less often than 20 mounts.
Dusty
Offline
My filesystem is the default (ext3).
I had a look at the man for tune2fs, I'm guessing I should always run:
tune2fs -C 1 af boot time?
~gautam
Offline
It might not be a good idea to disable it completely. Set it that it checks after more than 20 mounts or use -i to set a time interval between checks. Also, you can set a different checking frequency for each partition. That way it won't check the whole disk at once.
Offline
It is possible to disable it. You only need to run tune2fs once.
Offline
It is possible to disable it.
Edit /etc/fstab and use option "0 0" instead of "0 1".
Example:
/dev/discs/disc0/part2 / ext3 defaults 0 0
Some may say its not safe, but I have been using this config for two years and no problem. Some places where I have been staying, often electricity goes off.
Markku
Offline
Or, do the sensible thing, and partition your ridiculously large hard disk!
Offline
shaurz wrote:It is possible to disable it.
Edit /etc/fstab and use option "0 0" instead of "0 1".
Example:
/dev/discs/disc0/part2 / ext3 defaults 0 0Some may say its not safe, but I have been using this config for two years and no problem. Some places where I have been staying, often electricity goes off.
JFS really doesn't like that: I've been using a big JFS-partition with my movies and stuff on it, whenever I had an improper reboot, the partition wouldn't mount before I fsck'ed it. I guess it depends a lot on the FS you're using.
I don't get why Arch uses the "unsafe" way as default.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
I think it is because reiser doesn't allow the check if the partition is mounted, so the '...defaults 0 1' in fstab doesn't work.
Offline
shaurz wrote:It is possible to disable it.
Edit /etc/fstab and use option "0 0" instead of "0 1".
I was thinking of:
tune2fs -c 0 /dev/hdXX
I wouldn't do this on any of my normal filesystems. I've only ever used this for a floppy disk image I was mounting a lot (don't ask).
Offline
I wouldn't do this on any of my normal filesystems. I've only ever used this for a floppy disk image I was mounting a lot (don't ask).
Why were you mounting a floppy disk image a lot?
:shock:
Dusty
Offline
My filesystem is the default (ext3).
I had a look at the man for tune2fs, I'm guessing I should always run:
tune2fs -C 1 af boot time?
That is what I figured, apparently Dusty did as well.
Offline