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.
According to to documentation, when a linux computer shuts down suddenly wihout going through the shutdown process, it may cause your filesystem to corrupt and lose all your data. But in windows it's not like that? Only a scandisk is run after rebooting? Whys that?
Not exactly true, windows runs scandisk to fix the problems that are created by improper shutdown.
fsck does basically the same thing in Linux.
Linux can be much better if you upgrade to ext3 file system
ext3 keeps a journal file that has disk change info, so when an improper shutdown leaves a file open it can fix the file and recover the system in five seconds or less.
Last edited by DavidPhillips; 03-04-2002 at 11:58 PM.
it's really unlikely that you'd lose anything during a bad shutdown, unless you're doing some seriously hard-drive intensive stuff. i've had more abnormal shutdowns than i can shake a small carrot at, and i've never lost a file... just had to wait through fsck's...
linux itself isn't vunerable to bad shutdowns anymore than any other o/s - it's just that the most common file system under linux, ext2, is. the flip side of that is that ext2 is MUCH faster than any other filesystem. mainly tho, linux doesn't crash much. power-outtages will be your greatest foe here.
The worst thing I had happen was having to manually run fsck and a badly damaged file got moved to lost&found so I had to restore the file. Luckily it was not a critical file
Originally posted by nikhiljosh
IMHO Reiserfs is better and faster than ext2 when it comes to smaller filesizes like in home PC
give reiserfs a try.
i really don't know that much about reiser - i've read some rave reviews about it tho. i was just remembering a benchmarking between ext2 and some other fs's like fat32, NTFS, ect. ext2 left them so far in the dust it wasn't even funny.
ext3 is much easier to switch to from ext2 than reiser is tho... (i think )... if you have an easy way to do it, i'd really like to try it out.
I personally use ReiserFS on my system, and love it. Have not had a bad message from the file system yet.
I can tell you also that I have also played with ext3, XFS, and there is another journalling one, but ReiserFS seems to be faster.
And to protect against power outages, may I suggest you buy a UPS? You dont need an expensive, fancy one. I have one that will last for 10 minutes, and it was only $50.
Installing Reiserfs on partions like /home /mp3 etc....
is quite easy.
The 2.4 series has builtin support for reiserfs.
1.Compile the Kernel (latest if you have one). Don't especially use earlier ones like 2.4.2 .There r known issues
2.Enable Reiserfs in the filesystems menu.
3.Proceed as usual.
4.Backup the partition which you want to convert.
5.Convert using reiserfsprogs
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.