Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
03-03-2004, 05:34 PM
|
#1
|
Senior Member
Registered: Aug 2003
Location: Austin, TX
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186
Rep:
|
Recovering Slack After Power Failure..
I am about to give up with slack.. due to the fact that it can't hold up when not shut down the correct way.. Where I live the power goes off quite a bit.. I have bought a back-up, but last night I woke up in the middle of the night with that thing beeping.., I could not get it to reset so I turned it off..
Today when I got home from school and tried booting into my system, I get a filesystem error.. It says it fixes the INODEs, and then it reboots.. and does the same thing..
This is the second time this has happened.. and this time I want to try to do it without re-installing slack.. Is there a way to recover it?
Right now I am not at my computer, but I can get more information when I am in my room..
|
|
|
03-03-2004, 05:42 PM
|
#2
|
Member
Registered: Oct 2003
Location: Florida
Distribution: Slackware
Posts: 273
Rep:
|
Not exactly sure about what youre saying, but it sounds like a filesystem error, try fsck.
|
|
|
03-03-2004, 05:53 PM
|
#3
|
Senior Member
Registered: Aug 2003
Location: Austin, TX
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186
Original Poster
Rep:
|
I booted the machine up again so I could tell you the excact errors, and it booted into slack..
Thanks anyways..
|
|
|
03-03-2004, 07:29 PM
|
#4
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
|
Quote:
Where I live the power goes off quite a bit.
|
may i suggest a smart ups w/ a software package that will detect power outages and shut down the machine safely. i'm using an apc, w/the pwrchute suite. just a suggestion.
good luck.
|
|
|
03-03-2004, 08:46 PM
|
#5
|
Senior Member
Registered: Aug 2003
Location: Austin, TX
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186
Original Poster
Rep:
|
Now tell me my friend, I have a UPS with a USB connection to my computer.. but I have not found any software for Linux.. Its a UPS 500, and if you know where I can get linux drivers and software, please inform me, it would be great to have..
|
|
|
03-03-2004, 10:24 PM
|
#6
|
Member
Registered: Feb 2004
Posts: 140
Rep:
|
I'm not sure what file system you are using ext3, reiserfs ? Either way you may benefit from running your file systems fsck utility with the force option and bad blocks checking turned on.
This could turn up potential physical damage to your hard disk.
As an aside it is not clear that Slackware is the cause of you problems with respect to your file system corruption. It is more likely that your problems are related to file systems itself or the har disk its running on.
-Matt
|
|
|
03-04-2004, 01:36 AM
|
#7
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928
|
I suspect that you have installed on an ext2 flesystem. ext2fs is more compact but reiserfs is more stable. If you are using ext2fs I would convert the file system to reiser file system as it is more stable. (journalled file systems keep a record of all changes to the file system). I haven't done a conversion myself (I usually just install to reiserfs) but there is a tool reiserfstune or something like that that will convert from ext2 to reiser. search the forum here as there have been posts recently on this.
|
|
|
03-04-2004, 07:42 AM
|
#8
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
|
Quote:
Originally posted by Freakygeek55
Now tell me my friend, I have a UPS with a USB connection to my computer.. but I have not found any software for Linux.. Its a UPS 500, and if you know where I can get linux drivers and software, please inform me, it would be great to have..
|
what model ups? is it an apc, or best, etc. whatever model, have a look here.
http://www.google.com/linux?hl=en&lr...=Google+Search
good luck.
|
|
|
03-04-2004, 03:38 PM
|
#9
|
Senior Member
Registered: Aug 2003
Location: Austin, TX
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186
Original Poster
Rep:
|
My file system is ext2... and my UPS is a APC 500..
|
|
|
03-04-2004, 04:01 PM
|
#10
|
Senior Member
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288
Rep:
|
I have my Slack on a duron 850, with ext3 as my filesystem
Many many a times my foot accidentaly pushes the power plug out of the socket, and many times it powers off improperly, but it never screwed up the filesystem or any of my data.
It just runs a few tests and fixes a few things, reboots, and goes back to normal.
I suggest you give ext3 a try, i have it running both on my duron 850, and my p133 machines. It could save you some trouble.
HTH
|
|
|
03-04-2004, 07:06 PM
|
#11
|
Member
Registered: Nov 2003
Posts: 40
Rep:
|
ext2 filesystems DO get screwed up when you turn the computer off incorrectly. There is nothing you can do about it. Try using a different filesystem, like ext3.
|
|
|
03-04-2004, 09:40 PM
|
#12
|
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642
Rep:
|
Dude - how about just powering down when you are finished using the PC? That will eliminate the issue of a power failure causing a hard shutdown when the machine is not in use, and if the power goes out while you're in the middle of using it, your UPS presumably has sufficient reserves to permit you to manually shut it down gracefully. Seems to me that if the power supply is that unreliable in your area, then having to manually boot up each time you want to use the PC would be a small price to pay for the piece of mind of not having to worry about a power failure possibly killing your box.
I agree with mhiggins though that this situation really should not be blamed on Slack. Power failures are inherently risky in terms of physical damage to your PC even with a UPS, and you'd face the same risks regardless of what OS is installed. I do agree though that ext3 is superior to ext2 in terms of recoverability, and would recommend switching. The main thing though really would be just not to leave the PC running constantly if there is such a high likelihood of frequent power failures, irrespective of whether you've got a UPS. Just my 2 cents -- J.W.
|
|
|
03-06-2004, 06:44 PM
|
#13
|
Senior Member
Registered: Aug 2003
Location: Austin, TX
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186
Original Poster
Rep:
|
I guess you guys are right.. I should just power down, or switch filesystems.. I use ext3 with fedora, I did not the difference, I just selected the default with Fedora, and I was afraid that using the same with Slack would cause confusion.. so I chose ext2..
Also I got a new battery for my power supply, so I should be better off now anyways.. Yet I don't know how that battery messed up the power supply is only about a year or so old..
|
|
|
All times are GMT -5. The time now is 03:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|