LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] How to force an fsck on a single partition for the nextreboot only

[ILUG] How to force an fsck on a single partition for the nextreboot only

Niall O Broin niall at linux.ie
Tue Jul 12 12:58:52 IST 2005


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




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell