LinHES Forums http://forum.linhes.org/ |
|
Forced fsck on filesystem after 23 mounts http://forum.linhes.org/viewtopic.php?f=5&t=13401 |
Page 1 of 1 |
Author: | tmryan [ Tue Jan 09, 2007 10:41 am ] |
Post subject: | Forced fsck on filesystem after 23 mounts |
When I booted up, I noticed that the system was doing a filesystem check (fsck) - on the drive that contains the mythtv directory. I only caught the tail end of it, but I saw a message that says something like "forced check on filesystem because it has been mounted 23 times..." Can anyone tell me where that 23 parameter is set? I'd like to increase it. I also didn't catch the flags used in the fsck command. Is it run in interactive or non-interactive mode? Thanks. |
Author: | alien [ Wed Jan 10, 2007 3:24 am ] |
Post subject: | |
Take a look at "man hdparm" Allen |
Author: | tmryan [ Thu Jan 11, 2007 10:15 am ] |
Post subject: | |
I'm not sure how displaying the hard drive paramters will help? I just want to increase the counter between filesystem checks. I record about half a dozen shows a day, which means it auto boots up that many times a day. This means it does a fsck every 4 or 5 days, which I think is unnecessarily too frequent. |
Author: | alien [ Thu Jan 11, 2007 10:29 am ] |
Post subject: | |
Oops. Try man tune2fs. BTW: hdparm will also set HD parameters, just not the one you want. Allen |
Author: | slowtolearn [ Thu Jan 11, 2007 8:46 pm ] |
Post subject: | |
tmryan wrote: I'm not sure how displaying the hard drive paramters will help? I just want to increase the counter between filesystem checks. I record about half a dozen shows a day, which means it auto boots up that many times a day. This means it does a fsck every 4 or 5 days, which I think is unnecessarily too frequent.
I'm probably missing something simple here, but why would your system(s) reboot after each recording? My backend hasn't rebooted in over a month, with about 8 recordings occuring each day (my frontends are still in "tweak" mode, so they are rebooted often! ![]() |
Author: | baishen78 [ Fri Jan 12, 2007 12:10 pm ] |
Post subject: | |
slowtolearn wrote: I'm probably missing something simple here, but why would your system(s) reboot after each recording? My backend hasn't rebooted in over a month, with about 8 recordings occuring each day (my frontends are still in "tweak" mode, so they are rebooted often!
![]() I'd wager that he has his backend setup to shut down when it's not recording a show. |
Author: | tmryan [ Fri Jan 12, 2007 5:47 pm ] |
Post subject: | |
Yes, the box is set up to wake up automatically to record, and then shut itself down. I used the following script if anyone is wondering (works beautifully): http://knoppmythwiki.org/index.php?page=WakeupToRecord Also, thanks Alien!!! Looks like tune2fs is exactlly what I was looking for to increase the counter between filesystem checks. |
Author: | md10md [ Fri Jan 12, 2007 5:57 pm ] |
Post subject: | |
tmryan wrote: Yes, the box is set up to wake up automatically to record, and then shut itself down. I used the following script if anyone is wondering (works beautifully):
http://knoppmythwiki.org/index.php?page=WakeupToRecord Also, thanks Alien!!! Looks like tune2fs is exactlly what I was looking for to increase the counter between filesystem checks. How do you watch the shows if it is off when not recording? Seems like the constant on and off would put a heavier wear on your system then just leaving it on. |
Author: | slowtolearn [ Fri Jan 12, 2007 7:19 pm ] |
Post subject: | |
tmryan wrote: Yes, the box is set up to wake up automatically to record, and then shut itself down. I used the following script if anyone is wondering (works beautifully):
http://knoppmythwiki.org/index.php?page=WakeupToRecord Also, thanks Alien!!! Looks like tune2fs is exactlly what I was looking for to increase the counter between filesystem checks. Ahh, OK thanks. That explains it, although I have to agree with md10md on the "wear and tear"front... |
Author: | tmryan [ Tue Jan 16, 2007 10:10 am ] |
Post subject: | |
md10md wrote: How do you watch the shows if it is off when not recording? Seems like the constant on and off would put a heavier wear on your system then just leaving it on.
I physically turn it on when I want to watch something. When I'm done watching, and there are no shows scheduled to be recorded within the next 15 minutes (user selectable), it turns itself off automatically. The script checks to make sure the system is idle before shutting the box down. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |