nixCraft Linux Forum

nixCraft

Linux 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

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 03-14-2008, 05:53 AM
Junior Member
User
 
Join Date: Mar 2008
My distro: ubuntu
Posts: 2
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
Sponsored Links
  #2 (permalink)  
Old 04-15-2008, 02:29 PM
agn agn is offline
Member
User
 
Join Date: Feb 2008
My distro: OpenBSD/FreeBSD/Debian/Fedora/RHEL
Posts: 69
Rep Power: 1
agn is on a distinguished road
Default

man tune2fs(. Look at -c and -i flags.
Reply With Quote
  #3 (permalink)  
Old 04-15-2008, 08:20 PM
Junior Member
User
 
Join Date: Mar 2008
My distro: ubuntu
Posts: 2
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 04-16-2008, 09:23 AM
agn agn is offline
Member
User
 
Join Date: Feb 2008
My distro: OpenBSD/FreeBSD/Debian/Fedora/RHEL
Posts: 69
Rep Power: 1
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

Bookmarks


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 On

Similar Threads

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


All times are GMT +5.5. The time now is 12:38 PM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

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