Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

ext3 still being fscked every 21 boot?

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
Nicolinux
Apprentice
Apprentice
User avatar
Posts: 204
Joined: Sun Dec 22, 2002 12:04 pm

ext3 still being fscked every 21 boot?

  • Quote

Post by Nicolinux » Sun Jul 27, 2003 1:28 am

Hi,

I'am seeing the following message upon every 21 boot:
* Checking root filesystem...
fsck 1.33 (21-Apr-2003)
/dev/hda2 has been mounted 21 times without being checked, check forced.
/dev/hda2: 245908/5537792 files (1.1% non-contiguous), 9450812/11058744 blocks [ ok ]

/dev/hda2 is ext3 (as well as my other partitions). Why it get's fscked?






output from mount:

/dev/root on / type ext3 (rw,noatime)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
/dev/hda5 on /tmp type ext3 (rw,noatime)
/dev/hda7 on /home type ext3 (rw,noatime)
/dev/hda8 on /var type ext3 (rw,noatime)
none on /proc/bus/usb type usbdevfs (rw,devuid=0,devgid=1002,devmode=0660)
tmpfs on /dev/shm type tmpfs (rw)


fstab:
/dev/hda3 /boot ext2 noauto,noatime 1 1
/dev/hda2 / ext3 noatime 0 0
/dev/hda6 none swap sw 0 0
/dev/hda5 /tmp ext3 noatime 0 0
/dev/hda7 /home ext3 noatime 0 0
/dev/hda8 /var ext3 noatime 0 0
/dev/hda1 /mnt/win vfat noauto,noatime,rw,user,gid=1000,uid=1000,umask=027 0 0
/dev/cdroms/cdrom0 /dvd iso9660 noauto,ro,user,gid=1000,uid=1000 0 0
/dev/cdroms/cdrom1 /writer iso9660 noauto,ro,user,gid=1000,uid=1000 0 0
proc /proc proc defaults 0 0
none /proc/bus/usb usbdevfs devuid=0,devgid=1002,devmode=0660
/dev/sda1 /apacer vfat rw,user,noauto,gid=1000,uid=1000,umask=007 0 0
#albus:/store /mnt/albus nfs hard,intr,auto,rsize=32768,wsize=32768,retry=100,bg 0 0



Thanks much,

Stefan
Top
Balthasar
n00b
n00b
User avatar
Posts: 62
Joined: Sun May 25, 2003 7:19 pm
Location: Florida

Default ext3 setting

  • Quote

Post by Balthasar » Sun Jul 27, 2003 1:40 am

If you notice when you created the partitons, it tells you, the disk will be checked every 21 mounts.

You can change it with:

Code: Select all

tune2fs -c [# of mounts before checking] /dev/hxx
Top
Nicolinux
Apprentice
Apprentice
User avatar
Posts: 204
Joined: Sun Dec 22, 2002 12:04 pm

  • Quote

Post by Nicolinux » Sun Jul 27, 2003 1:44 am

Thanks for the tip - i thought that tune2fs is only for ext2 partitions...
I wonder why the fsck thing appears now - this gentoo installation is certainly more than 21 reboots old :)


Stefan
Top
Nicolinux
Apprentice
Apprentice
User avatar
Posts: 204
Joined: Sun Dec 22, 2002 12:04 pm

  • Quote

Post by Nicolinux » Sun Jul 27, 2003 2:32 am

One more thing:

since my fstab hast two 0 at the end of the line with the root partition - it should not even try to check it...


Stefan
Top
LockeAverame
Tux's lil' helper
Tux's lil' helper
Posts: 108
Joined: Mon Jul 14, 2003 5:24 pm

  • Quote

Post by LockeAverame » Sun Jul 27, 2003 11:04 am

0 0 should only work for not ext2/3 partitions.
even though a small info: ext3 is like ext2, it only has a journal that's the difference which you can also tune with tune2fs but do it only if you know what you are doing.
you should check ext3 manually if you deactivate the automatic check because of the journal some errors will not be recognized as easily as with ext2 (especially after a not wished power-off, a bad journal entry could be written on the hdd after next reboot, it's seldom but it can happen).
Top
Baintronic
n00b
n00b
Posts: 27
Joined: Fri Aug 06, 2004 2:00 pm
Location: Minnesota

so then....

  • Quote

Post by Baintronic » Fri Sep 10, 2004 5:05 pm

how exactly does one disable this check period then?
it does not work setting fstab to 0 0?
or how do you just turn it off?
Top
Nicolinux
Apprentice
Apprentice
User avatar
Posts: 204
Joined: Sun Dec 22, 2002 12:04 pm

  • Quote

Post by Nicolinux » Wed Sep 15, 2004 8:56 pm

Check the tune2fs man page - especially the "-i" option.

Stefan
Top
PovMan
Guru
Guru
User avatar
Posts: 375
Joined: Mon Sep 30, 2002 12:26 pm
Location: Australia

  • Quote

Post by PovMan » Wed Oct 12, 2005 12:34 pm

Nicolinux wrote:Thanks for the tip - i thought that tune2fs is only for ext2 partitions...
AFAIK, ext3 is just ext2 with a journal. You create an ext3 partition with 'mke2fs -j'; ie all ext2 tools should work with ext3.
I am SPAM, hear me roar.
Before posting your own topic, try to answer at least one unanswered one.
Top
Post Reply

8 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic