Fedora Linux Support Community & Resources Center
  #1  
Old 6th May 2010, 11:01 PM
dd_wizard Offline
Registered User
 
Join Date: Sep 2009
Posts: 1,409
linuxfedorafirefox
What are the default force checks for lvm2?

I've looked around in google and the forums, and it looks file systems are normally checked around every 30 mounts. I notice that my var logical volume is rechecked once in a while, but I've never seen root or home get force checked. Are these normal Maximum mount counts and Check intervals?
Code:
[gene@Mobile-PC ~]$ sudo tune2fs -l /dev/vg_mobilepc/lv_home | grep 'Mount count\|Maximum mount count\|Last checked\|Check interval'
Mount count:              274
Maximum mount count:      -1
Last checked:             Fri Feb  5 11:09:44 2010
Check interval:           0 (<none>)
[gene@Mobile-PC ~]$ sudo tune2fs -l /dev/vg_mobilepc/lv_root | grep 'Mount count\|Maximum mount count\|Last checked\|Check interval'
Mount count:              273
Maximum mount count:      -1
Last checked:             Fri Feb  5 10:59:12 2010
Check interval:           0 (<none>)
[gene@Mobile-PC ~]$ sudo tune2fs -l /dev/vg_mobilepc/lv_var | grep 'Mount count\|Maximum mount count\|Last checked\|Check interval'
Mount count:              21
Maximum mount count:      21
Last checked:             Fri Apr 30 16:26:35 2010
Check interval:           15552000 (6 months)
As far as I know, I've never changed them.

Thanks,
dd_wizard

Last edited by dd_wizard; 6th May 2010 at 11:20 PM.
  #2  
Old 7th May 2010, 02:59 AM
JEO Offline
Registered User
 
Join Date: Jan 2006
Posts: 2,787
linuxfedorafirefox
Re: What are the default force checks for lvm2?

When the maximum mount count is set to -1, it is never counter checked. Use tune2fs -c <count> to set how many times you want it to mount before checking.
  #3  
Old 7th May 2010, 07:39 PM
dd_wizard Offline
Registered User
 
Join Date: Sep 2009
Posts: 1,409
linuxfedorafirefox
Re: What are the default force checks for lvm2?

Thanks JEO, I did that as soon as I saw it was turned off for root and home. I guess my real question is, how did it get turned off for root and home in the first place? I assumed the system was installed with all three volumes having the same settings. Is that a mistaken assumption? The only thing I've done to root and home is expand them both with LVM, but I doubt that turned off boot fsck.

dd_wizard
  #4  
Old 8th May 2010, 10:08 AM
JEO Offline
Registered User
 
Join Date: Jan 2006
Posts: 2,787
linuxfedorafirefox
Re: What are the default force checks for lvm2?

I'd guess that it is a parameter that is passed to mkfs by anaconda. When a parameter is not passed the count seems to be random around 20-40. You could search bugzilla for an anaconda bug. I bet they will end up saying that it is a feature though.

Last edited by JEO; 8th May 2010 at 10:10 AM.
 

Tags
checks, default, force, lvm2

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 11 and Filesystem Checks (fsck) Quasaur Using Fedora 5 11th November 2009 04:32 PM
Fedora 10 checks DVD ok but can't see it after blue_green Installation, Upgrades and Live Media 1 21st July 2009 06:14 PM


Current GMT-time: 19:48 (Saturday, 23-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat