tune2fs Fedora 8
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Sun Feb 10 14:25:52 UTC 2008
Frank Murphy wrote:
> Cant' follow the man pages for tune2fs.
>
> Want it to auto check every 10 mounts (hda, hdb), as am getting some
> superblock errors. Wouldn't have a clue how to fix them.
>
> has got to do with power tripping\outtages.
>
> Frank
>
You would use "tune2fs -i 10m <device>" as in
"tune2fs -i 10m /dev/sda3". But one thing to keep in mind is that
the check will only happen when the system reboots, so if you reboot
on the 9th month, and the 11th month, it will run the check on the
11th month. Setting the check frequency this way does not override
the other settings, such as the number of mounts, or if hte check
flag gets set in other ways.
Errors can normally be fixed by e2fsck. But you do not want to try
to fix a mounted file system.
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080210/3bda3f96/attachment-0001.sig>
More information about the fedora-list
mailing list