Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-15-2006, 02:32 AM   #1
LQ Newbie
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
files get corrupted every time there is a power interruption

hi guys!
wondering if you can give me a piece of your mind regarding my problem.
we have a small network with one file server all the computers are connected to this server (which uses slackware). everytime there is a power interruption files that are currently open to other terminals are corrupted. all the other terminals does not have any ups. after the file is corrupted i have to restore the backup from the previous day instead of what was the last saved item of the file.
hope you can help. thanks!
Old 05-15-2006, 02:56 AM   #2
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
You need to post more information, we can't read mind nor see your machine from here. Think before you post!

I'm going to assume you're using ext2 as your filesystem, boot into single user mode or use a live CD or something and use mke2fs -j on the partition. That will convert it to ext3 without losing any data and ext3 will survive a hard shutdown considerably better than ext2 due to it's journalling capabilities.
Old 05-15-2006, 03:02 AM   #3
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,289

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
If the files are important then investing in a UPS is important too (along with cs-cam's post about using a journalling file system if you're not already). You can get a cheap desktop UPS for $40-$80. Ones from APC have good Linux support (via apcupsd) and the machine can even be configured to shutdown when battery power is low.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Power interruption reboot for unattended kiosk maxsanders Linux - Software 4 03-06-2006 08:08 AM
power failure corrupted parition nifflerX Linux - General 6 10-21-2004 12:08 PM
Corrupted Files??? rm6990 Yoper 2 09-19-2004 02:29 AM
Corrupted Library Files Star Child Linux - General 1 04-07-2004 02:13 PM
HELP!!! Corrupted files!!! broxys Linux - General 7 08-18-2003 08:09 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration