82 Comments
- blumer, on 10/10/2007, -4/+38Not that big a deal when you boot < 10 times a year.
Suppose I could do it on the laptop if I really wanted to. - shuffle2, on 10/10/2007, -2/+30it's not a bug, it's a feature.
- Valermos, on 10/10/2007, -0/+24It doesn't change how often the checks happen... It just makes the checks happen at shutdown rather than at boot so it's less annoying. And it asks you whether or not it's a convenient time to run the check.
- trogdoor, on 10/10/2007, -0/+14https://wiki.ubuntu.com/AutoFsck
- blumer, on 10/10/2007, -2/+15You know what? The more I think about it, I want to retract my comment. Yes, myself and many other Linux users may just let it run all the time, the more Linux (Ubuntu in particular) is hitting mainstream, non-geek usage, this could be really useful. Feel free to bury.
- jbus, on 10/10/2007, -1/+12Very nice... This is especially good for fending off unnecessary questions from people that you've helped recently convert from Windows to Ubuntu.
- scooby2, on 10/10/2007, -3/+13Someone has rebooted 30 time? Sounds like they must have broken hardware:-)
Seriously though doing a file system check every once in a while is not a bad idea. If you turn your computer off every day or every week, something like AutoFsck is the way to go. Easiest thing to do if you reboot everyday is to bump it up to every quarter or every 6 months. No needs to fsck that often unless you are having problems or lose power often. - db113456, on 10/10/2007, -6/+16Here is the scary answer::
tune2fs 1.38 (30-Jun-2005)
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
check the count option -C and set the desired interval, you may want to look at the other options also :-) - CatalystGhost, on 10/10/2007, -0/+8This is nice. I dual-boot Windows so that I can actually play games (Wine, etc. can be a bitch), and, yeah, running into that gets annoying. Definitely a useful digg.
- suppressingfire, on 10/10/2007, -0/+7The problem is that the filesystem can become corrupt in ways the logging feature may not be able to discover.
The logging feature was never meant to guarantee protection of the filesystem against crashes. It helps when the filesystem isn't unmounted cleanly, but there are cases where the filesystem's integrity may be disrupted during a system crash or a power loss. - nogami, on 10/10/2007, -1/+8I'm not sure why this is necessary - the other linux distros that I've used will automatically detect if the filesystem is dirty on startup and check only when something is wrong.
- strabes, on 10/10/2007, -1/+7Assuming they are an average user who knows something about security and decent browsing habits, maybe a year (probably less) before their system becomes unusably slow. You could not reboot linux for several months and it would be fine.
- geminitojanus, on 10/10/2007, -1/+7The only time I ever shut down my laptops is when suspend doesn't work (i.e. before I fixed the fscking ACPI DSDT entry on this POS Toshiba machine). I'm not sure if that's true for everyone, but it just seems so much easier to just close the lid and have the machine suspend and be right back to where I was when I open the lid, rather than having to wait for the machine to shut down and having to wait for it to boot back up.
- ekravchenko, on 10/10/2007, -0/+5I guess the idea is that you don't restart your machine very often, unless you have a laptop....
- SuperCow1127, on 10/10/2007, -0/+5The problem with ReiserFS is that it's main developer is probably going to jail for killing his wife...
- Lazaryn, on 10/10/2007, -0/+5Having a laptop running in a sealed bag isn't the smartest thing to do but I do agree with you that having it on shutdown would be nicer.
- MeneerR, on 10/10/2007, -0/+5This is not about turning it off! This is about doing it at shutdown and offering you a chance to cancel. Cancel for 30 days? Check will still be forced at boot. No danger. You should read the ***** article, thank you.
- RaximKoron, on 10/10/2007, -0/+4sweet, now I won't get frustrated once a month with my laptop
- badassninja, on 10/10/2007, -3/+7100%, pure pimp. Who ever had the idea of running it when your shutting down was on top of his game that day.
- MWeather, on 10/10/2007, -0/+4I only reboot when a new kernel comes out.
- MeneerR, on 10/10/2007, -0/+4This was about a package that
1) asked you if you wanted to check your filesystem
2) did it at shutdown rather than boot
3) did it in a graphical pleasing way during X
4) did not turn off auto-check (so if you always say No, it will still force one at boot-up)
Your solution:
1) is more dangerous
2) less userfriendly
3) gives the impression you didn't read the ***** article
- db113456, on 10/10/2007, -1/+5The question is very real, just imagine a sales agent running from client to client, having a 30-60 minute session, than shutting down and driving for the next client, sooner than you thing, he would have racked up 10 reboots in a day, that makes for a fsck every 3 days or so, do that on 250gig disk, and it becomes an annoyance.
Other example, student in university, has 5 lectures a day, and 4 long breaks. end up rebooting her computer 6 times minimum, that will result in lengthy fsck once a week, likely when she wants to take notes in class. Very painful.
I think tune2fs / reiserfstune should get a taskbar widget to adjust some of the properties, and a red button to force check upon the next reboot, think if that ? - Balla79, on 10/10/2007, -3/+6This is not a Ubuntu or Linux feature, it's an ext3 filesystem feature. Use ReiserFS instead.
- srg13, on 10/10/2007, -1/+4Who cares? Why would an average user ever want to change this? I'm sure they can put up with a 60 second filesystem check every 30 boots...
- tiftof, on 10/10/2007, -0/+3Nice tool. I was using bonager until today which also did the job just great. But with this, no program has to stay in the notification area all the time.
- rmxz, on 10/10/2007, -1/+4I just wish it did it at SHUTDOWN rather than at BOOT time.
At a sales demo, starting a meeting waiting for fsck sucks.
However when I shut down and put it back in my laptop bag I don't care if it spends 10 minutes fscking.
Why oh why did they decide to do this on startup rather than shutdwn - MeneerR, on 10/10/2007, -0/+3In that case you NEED the fs check
- xspinkickx, on 10/10/2007, -0/+3you guys do realize if you need to quickly boot and fsck starts up you can press ctrl+D and then CTRL+c to continue with the bootup process and then the next time it boots it will recheck the filesystem right?
- Valermos, on 10/10/2007, -0/+3That would definitely not be good for you filesystem.
- db113456, on 10/10/2007, -0/+3If you decide to change to ReiserFS you should use
reiserfstune
http://www.namesys.com/reiserfstune.html
But you would have to backup, repartition, reformat and restore your partition to do that, and likely would not see any performance difference due to the fact that Reiser is specially good with large amount of very small files.
And, you need to check if your Distribution actually supports booting from ReiserFS if the partition you want to convert is a boot or (root) partition. Small details you should know, and Balla79 should have mentioned alongside the suggestion to use this ultra modern file system.
If my assumption is correct, and the user is new to Linux, as the nature of the original question would suggest, than the whole operation would surpass the users ability at this time. - MeneerR, on 10/10/2007, -0/+3The article is about a package which adds a check an OPTIONAL check shutdown. If you never do that, it will still force a check at boot.
- MeneerR, on 10/10/2007, -0/+2All file-systems can become corrupted. Three ways on the top of my head: Temporary power-out (like 1 ms), forcing a shutdown by holding the button, holding a ***** telephone too near to your drive. Not only that, but drives just wear off.
NTFS will allways maintain integrity, but you might loose data. Ext3 will always maintain integrity, and might loose data. Ext3, like Reiser will log its actions though. So, forcing a shutdown .. pulling the electricity and such will NOT corrupt your drive, unlike with NTFS where you might loose data.
FAT32 was worse though. You wouldn't just loose data, you would loose integrity. (badly linked stuff such that your drivers would ehm crash the kernel) - baalzebub, on 10/10/2007, -1/+3do you reboot so often that a filesystem check every 30 mounts is that annoying?
- hackerssidekick, on 10/10/2007, -0/+2Or you could just set it to 0 ... it's not like you're ever going to reach 3 million!
- Hellmark, on 10/10/2007, -0/+2Read the article. The article isnt about disabling it, but rather changing it to shutdown instead of boot time, and also changing the frequency.
- gfnw, on 10/10/2007, -3/+5Or maybe people don't need to leave thier home desktops on 24/7, using power, creating heat and noise, when they've no need to.
I don't run any servers from my home machine, so why the hell should I leave it on when I'm not using it? So I can get an erection and jizz all over my uptime stats? No thanks. - Cole2026, on 10/10/2007, -0/+2It does not bother me enough to get rid of it. It sort of helps, and a couple minutes is not much.
- sacherjj, on 10/10/2007, -0/+2That is what hibernate and suspend are for. I've booted my home Ubuntu systems maybe 15 times in the last 6 months.
- bhalo05, on 10/10/2007, -0/+2Yeah, if only it worked half of the times as it should...
- reed311, on 10/10/2007, -1/+3I guess the electricity bill isn't a problem.
- stoffe, on 10/10/2007, -0/+2Laptop.
- inactive, on 10/10/2007, -7/+9With Linux, it's an annoyance, with Windows it's a major bug.
- devjunkie, on 10/10/2007, -1/+2Generally a myth.
I have 3 or 4 machines that run 24/7 in my house and it hardly puts a dent in my bill. It's a very negligible amount.
Not to mention you can turn off the HDs and lower the CPU usage so it's using next to no electricity. - CCmachined, on 10/10/2007, -2/+3why this isnt the default i don't know. yesterday i told a friend Ubuntu was less bloated than Windows, so we had a boot race ... ***** filesystem check! he won, but i should have >__>
@ the guy who said he increased the check to every 50 mounts and it failed... WTF? i thought ext3 was better than NTFS? NTFS never needs checking and runs for years .... - MeneerR, on 10/10/2007, -1/+2Well, he provided a program that works on Ubuntu. You can create packages for other distro's if you want. But this tweak currently is HIGHLY ubuntu specific. I am sorry. You are just trolling _this time_.
- jcronkhite, on 10/10/2007, -0/+1Just read the headline, huh? I think this is great! It's a necessary evil (the disk check that is), but it make so much more sense on shutdown.
- Hellmark, on 10/10/2007, -0/+1Yeah, if you suspend, you aren't fully mounting and unmounting the drive each time, so not upping the count at all.
- TheDarkTipper, on 10/10/2007, -0/+1fsck!
- Hellmark, on 10/10/2007, -0/+1Did you read the article? This is on how to do it at shutdown.
From a technical standpoint though, doing it at boot does offer some advantages. Offers slightly less stress on the drive (IE, doing it before it is mounted, rather than unmounting then checking)., also if there was an issue that developed between boots, or was an improper shutdown, it can help fix that before trying to mount and use a possibly corrupt partition. Quite people don't shut down computers properly, which would skip the check at shutdown and also cause issues for the next time it boots. - Hellmark, on 10/10/2007, -0/+1That's P4s, but they sucked across the board, with heat issues and what not (reason why Intel didnt base their latest stuff off the P4 line).
You can get some decent power savings on older hardware. I have some PIIs that I have using minimal power without a problem. -
Show 51 - 81 of 81 discussions



What is Digg?
The Digg Toolbar for Firefox lets you Digg, submit content, and keep track of Digg even when you're not on the Digg site. Download the official