nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

forced file check fsck

This is a discussion on forced file check fsck within the Ubuntu / Debian forums, part of the Linux Distribution category; Ubuntu 7.1 forces a file check every 30 bootups. Where can I edit fstab or whatever to change it to ...


Go Back   nixCraft Linux Forum > Linux Distribution > Ubuntu / Debian

Linux answers from nixCraft.


Ubuntu / Debian Discussion about Debian or Ubuntu Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 14-03-2008, 05:53 AM
Junior Member
User
 
Join Date: Mar 2008
OS: ubuntu
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
smr36 is on a distinguished road
Default forced file check fsck

Ubuntu 7.1 forces a file check every 30 bootups. Where can I edit fstab or whatever to change it to a different count, say 100?
Reply With Quote
  #2 (permalink)  
Old 15-04-2008, 02:29 PM
agn agn is offline
Member
User
 
Join Date: Feb 2008
OS: OpenBSD/FreeBSD/Debian/Fedora/RHEL
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3
agn is on a distinguished road
Default

man tune2fs(. Look at -c and -i flags.
Reply With Quote
  #3 (permalink)  
Old 15-04-2008, 08:20 PM
Junior Member
User
 
Join Date: Mar 2008
OS: ubuntu
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
smr36 is on a distinguished road
Default I don't think the check count was changed.

Thanks but here is what I got;

smr@premier:~$ sudo tune2fs -c 100
tune2fs 1.40.2 (12-Jul-2007)
Usage: tune2fs [-c max_mounts_count] [-e errors_behavior] [-g group]
[-i interval[d|m|w]] [-j] [-J journal_options]
[-l] [-s sparse_flag] [-m reserved_blocks_percent]
[-o [^]mount_options[,...]] [-r reserved_blocks_count]
[-u user] [-C mount_count] [-L volume_label] [-M last_mounted_dir]
[-O [^]feature[,...]] [-T last_check_time] [-U UUID] device
smr@premier:~$
Reply With Quote
  #4 (permalink)  
Old 16-04-2008, 09:23 AM
agn agn is offline
Member
User
 
Join Date: Feb 2008
OS: OpenBSD/FreeBSD/Debian/Fedora/RHEL
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3
agn is on a distinguished road
Default

You have a syntax error in your command. Check man page again or look carefully at the output you just got.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
How to check CPU Numbers in Linux raj Linux hardware 1 17-06-2008 02:29 PM
How to check when RPM is uninstalled Yasar Getting started tutorials 1 03-09-2007 06:35 PM
How to check md5 hash raj Linux software 3 17-08-2007 05:34 AM
Command to Check Linux File System lacloai Getting started tutorials 3 14-05-2007 05:45 PM
script on how to check if the file exists warren Shell scripting 4 14-04-2006 05:51 PM


All times are GMT +5.5. The time now is 08:07 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38