tune2fs configuration
I think you have mostly got the command correct. If the command you are using is "tune2fs -c 5", then the only thing you left off is specifying which filesystem/partition you want this option to apply to. For example, on my system my root filesystem is on the partition /dev/hdc1, so if I wanted it to be fscked every 5 mounts, I would issue the command "tune2fs -c 5 /dev/hdc1".
Hope that helps,
Conway S. Smith
Quoted 47 lines · On Fri, 11 Jul 2003 14:59:40 -0500 (CDT) James Miller <[email protected]>…
Well, I have another not-too-profound Linux inquiry - this time about
configuring tune2fs (yes, this is for an older ext2 filesystem). I have a
hard drive that's acting a bit punchy, and I'd like for the filesystem
integrity to be checked quite a bit more frequently than usual: say, every
5 boots or so. It was indicated to me that tune2fs is the utility to use
for this. Looking over the man page has not exactly been helpful though.
From it, I've understood that the option "-c" is the one I'm probably
after. I think there should probably be some numerical value following
"-c" (with an intervening space). But my attempt to get it working seems
to be unsuccessful: nothing gives me any indication that the setting I'm
trying to get tune2fs to use is taking. To the contrary, when I type what
seems to me the correct command sequence (tune2fs -c 5), I get a sort of
mini-help menu. In other cases using Linux, this has been the machine's/coder's indication that something was not done right, and the
way they want to let you know is by providing some help, apparently under
the assumption that the mini help menu is going to address your confusion.
It hasn't addressed mine so far: I may be denser than the average lot,
though. In any case, the manpage, unlike other, more thoughtful manpages,
doesn't give any examples. For these reasons, I'm sort of at a loss. Can
someone chip in with some helpful suggestions? E.g., how can I know that
tune2fs has "taken" the settings I'm trying to enter? If it's not, how
can I determine what I'm doing wrong? Are there other applications or
utilities besides tune2fs that can do what I want, and if so, what are
they?
Quoted 9 lines
Thanks, the befuddled James
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
________________________________________________________________
The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 8 lines · On Fri, 11 Jul 2003 [email protected] wrote:
I think you have mostly got the command correct. If the command you are using is "tune2fs -c 5", then the only thing you left off is specifying which filesystem/partition you want this option to apply to. For example, on my system my root filesystem is on the partition
/dev/hdc1, so if I wanted it to be fscked every 5 mounts, I would issue the command "tune2fs -c 5/dev/hdc1".Hope that helps,
Yes, that seems to be it. Thanks so much for the pointer. A simple example in the manpage would probably have preempted this newbie's confusion. In hindsight, it seems perfectly logical that the filesystem should be speicifed, but hindsight is always 20/20, as they say.
Sincerely, James
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs