LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-09-2014, 03:25 PM   #1
qfrankzhao
LQ Newbie
 
Registered: Jan 2014
Posts: 2

Rep: Reputation: Disabled
Please help, Fedora 2.6xx after mannually using fsck scan, disk is read only


Hello,

We have an old Fedora linux box, it has bad blocks, and it prompt to use fsck manually fix those bad blocks. after reboot, the file system turned into read only, can not create temp file.

How can I fix it?

Thank you for your help

Frank
 
Old 01-10-2014, 08:57 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,131
Blog Entries: 2

Rep: Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833
Replace the harddisk. A disk with bad sectors will get more bad sectors, so a fsck run will not fix that situation.
 
1 members found this post helpful.
Old 01-10-2014, 05:43 PM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,654

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
It can also depend on how you fixed it.

Running fsck while the disk (assuming the root filesystem) is read only is fine.

HOWEVER- DO NOT SHUT THE SYSTEM DOWN. Halt it instead and then reboot.

But get ready to replace the disk. And I would suggest getting a newer distribution. If you don't want to be updating it every month (and upgrading every 6 months), use a production quality distribution like RH/CentOS or SL.

Last edited by jpollard; 01-10-2014 at 05:45 PM.
 
1 members found this post helpful.
Old 01-10-2014, 07:38 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,985

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
and be aware that fedora has never used the kernel version in the name

a OLD version that is using the 2.6 kernel is years out of date
pre fedora 15

have a look at the /etc/redhat-release text file
it will be between fedora 1 and 15

also fedora is a very bad choice on a server
fedora releases a NEW version every 6 months


i would use CentOS 6.5
or buy a support contract for RHEL 6.5
cent is the free rebuild of redhat

redhat has a 10 YEAR support life time
CentOS has a 7 year siupport lifetime
Fedora has a 13 month!!! lifetime
 
1 members found this post helpful.
Old 01-13-2014, 11:27 AM   #5
qfrankzhao
LQ Newbie
 
Registered: Jan 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for your answer.
The system is really old with an application on it. Now if I use the system restore CD to restore the system, Can I preserve the application and use it?

I also want to create a hard disk mirror and then use fsck to fix it, is it doable?
 
Old 01-13-2014, 02:03 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,131
Blog Entries: 2

Rep: Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833
Quote:
Originally Posted by qfrankzhao View Post
The system is really old with an application on it. Now if I use the system restore CD to restore the system, Can I preserve the application and use it?
No, unless the application is also on the restore disk.

Quote:
I also want to create a hard disk mirror and then use fsck to fix it, is it doable?
It depends. When the filesystem is damaged to much this won't work. But even if it works there can be no guarantee that OS, applications or data on the new disk are consistent.
 
  


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
Disk scan tool for linux other than fsck skymet Linux - General 5 11-27-2012 04:14 PM
"short read (fsck)" on disc access (failed command: READ FPDMA QUEUED) estellnb Linux - Hardware 3 02-22-2012 06:27 PM
FSCK auto disk check on boot and read-only FS coffeecoffee Linux - Newbie 2 10-29-2009 06:05 PM
Debian kernel 2.6xx will not run on my comp Virp00 Debian 1 05-08-2005 06:35 AM
fsck error (read from fs resulted in short read) NeoKaiserSigma Linux - General 0 04-05-2005 07:24 PM


All times are GMT -5. The time now is 08:16 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration