On 12 Jul 2005, at 12:50, Conor Wynne wrote:
>> On Tue, Jul 12, 2005 at 12:37:53PM +0100, Conor Wynne mentioned:
>>> Hi all,
>>>>>> Does anyone know how to force an fsck for only the next boot?
>>> And only for one partition?
>>>>>> I can do it with tune2fs, but I only wish to have it set for a single
>>> boot.
>>>> Can't you use -T "feckin' ages ago", to set the time it was last
>> checked
>> to be over 180 days ago ? That should get you a once-off check.
>> Yep, but I suspect an issue with a single LUN, and want to avoid
> fsck'ing
> a 6TB SAN.
The unit of fsck is, surprisingly enough, the filesystem. So if you use
tune2fs -T to set the last checked date to "feckin' ages ago" you will
be setting it on a particular filesystem. Or am I missing something?
Niall
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!