LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Please help, Fedora 2.6xx after mannually using fsck scan, disk is read only (https://www.linuxquestions.org/questions/linux-newbie-8/please-help-fedora-2-6xx-after-mannually-using-fsck-scan-disk-is-read-only-4175490727/)

qfrankzhao 01-09-2014 02:25 PM

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

TobiSGD 01-10-2014 07:57 AM

Replace the harddisk. A disk with bad sectors will get more bad sectors, so a fsck run will not fix that situation.

jpollard 01-10-2014 04:43 PM

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.

John VV 01-10-2014 06:38 PM

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

qfrankzhao 01-13-2014 10:27 AM

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?

TobiSGD 01-13-2014 01:03 PM

Quote:

Originally Posted by qfrankzhao (Post 5097235)
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.


All times are GMT -5. The time now is 02:09 PM.