Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi
I use Fedora Core 3 on a Pc, and I have a problem.
My Pc is not using UPS, and it's always switched on (day and night).
When there are problems of electricity, and I arrive to work in the morning and the Pc was switched off in a "violent way" (for example there was a problem in the electricity line of my enterprise), I switch on my Pc and I must wait for more or less 2 hours, waiting a check that linux make on my Hard Disk (that are of 160 Gb).
Is there a way to make quicker the restart of the pc when was switched off "uncorrectly"? For example deactivating this kind of control?
I thought the check runs on boot ONLY when you press "Y" at the point when it wants to check. Don't press anything, let the system boot normally and it will pass the check.
This is how it works on my system [CentOS & Fedora].
Are you using a journaling filesystem, such as ext3? If you're using ext2, I'd set it up with a journal, which would then make it an ext3 filesystem. Recovery and checks are much faster since it uses a journal prior to committing data to the hd.
To add a journal to an ext2 filesystem on partition hda2 (unmounted), do:
Code:
tune2fs -j /dev/hda2
Then be sure to update /etc/fstab , to reflect the new filesystem (ext3). You can mount it as an ext2 filesystem, but then it won't be using the journal and your recovery time will continue to be very long.
What file system are you using - something like ext2? You might want to try a journalling file system - ext3 is a convenient upgrade from ext2 but reiserfs is running on a couple of my PCs at the moment and seems very reliable. Usually what happens for me is that the journal gets replayed and the boot continues without much delay.
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282
Rep:
Changing filesystems isn't a dangerous operation, since it's generally just copying data from one directory to another - with the 'other' directory happening to be a different filesystem. The FS merely determines how the data is stored and indexed on the physical disk, and as the kernel handles all of the storing and retrieving, it's not something you have to worry about. You can't generally just unmount the partition and remount it as something else - as the sequence of 1s and 0s that are file descriptors, etc to ext2 are gibberish to reiserfs.
'Converting' ext2 to ext3 is very easy though, since it's the same underlying filesystem with the addition of a journal. If you wanted to create a reiserfs filesystem, you'd have to have a partition of the same size as your currently ext2 one to copy the data over to, which is a little awkward.
tune2fs doesn't seem to require that the partition is umounted before operating on it, so you can execute WindowBreaker's command during normal operation, then edit the /etc/fstab file and you're good. The journal won't come into play until the partition is remounted, though, so you may want to reboot if it's acceptable to get all the partitions journalled. If not, you'll have to selectively umount-remount all the partitions you can, though your root partition will probably stay unprotected (until the next crash, after which it will be remounted with a journal).
Hello!
I run my network in Linux, And now I am looking for a software to report
the broadband consume. In case someone has experience on such software
and can pass me any kind of help, any site where I can find it, I thank in advance very much
allein2005.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.