LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-19-2006, 03:07 AM   #1
comrade_bronski
LQ Newbie
 
Registered: Jul 2006
Posts: 6

Rep: Reputation: 0
Damaged init.d caused by drive issues


Hi there,

The other day I turned on my machine and it refused to boot. Eventually is asked me to manually run fsck. I did this and to an extent blindly hit YES when prompted. I was kinda desperate to retreive data from the drive as my last backup was three days previous.

Any way this worked and the machine booted. However there was some damage most of which is in the init.d folder:

1/. apache2 doesn't start up automatically (apache2 -k start gets it going)
2/. ssh doesn't start
3/. gnome and xserver don't start (I have to login at the prompt and type startx)

I've tried reinstalling the relevant packages - this doesn't help. How can I get my machine back into its original state?

Finally, had I been using a RAID 0+1 or RAID 5 would I have been saved from this problem? I understand that had on of the drives completely failed in the array I could just swap it out. However if the drive suffers a minor issue such as some bad blocks etc would the RAID array saved me from these problems?

Thank you in advance...

Rob
 
Old 07-19-2006, 03:59 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
A RAID will not stop file-system corruption. You can get around physical
problems of ONE drive (if you have a a RAID5 over 3). If your machine powers
off during a write there's still going to be some data loss (specially if
you keep on using ext2). Consider using RAID and a journaling file-system
(e.g. Reiser, Xfs or ext3).


Cheers,
Tink
 
Old 07-20-2006, 03:13 AM   #3
comrade_bronski
LQ Newbie
 
Registered: Jul 2006
Posts: 6

Original Poster
Rep: Reputation: 0
I followed a tutorial and it mentioned that the root directory volume should use RAID 5 but rather RAID 1. It then said that RAID 5 should be used for directories containing data (/home)

Now going back to what happened to me last week, the corruption occured to a physical problem with the drive in the root volume, /etc/init.d would this set up ( RAID 1 on / ) have saved my machine from damage?

BTW - any idea how I can get my machine working properly again?

Thanks,

Rob
 
  


Reply


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
Cannot mount ext3 filesystem on damaged hard drive Mathieu_G Linux - Hardware 3 04-01-2005 10:51 PM
Recovering damaged flash drive Avatar33 Linux - Hardware 5 03-12-2005 07:50 AM
recover data from physically damaged drive kc8tbe Linux - General 11 05-29-2004 01:58 PM
Diagnosis of Damaged Drive lsgko Linux - Hardware 0 11-12-2003 03:54 PM
RH 7.3 Install damaged 2nd drive,, can I recover??? dmkelly Linux - General 3 08-02-2002 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:29 AM.

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