LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Read Only FS (https://www.linuxquestions.org/questions/linux-newbie-8/read-only-fs-835282/)

rowp 09-29-2010 04:52 PM

Read Only FS
 
Hi,

I am currently running a cloned version of Ubuntu server LTS 10.01

The server runs fine, however at around the same time each day (around 06:30), the root file system goes into readonly mode.

I can't see anything in the logs, or cron tab which would be causing this?

The system was cloned using: dd if=/dev/sdb1 of=/dev/sdc1 bs=64kb

After the system falls to read only mode, i need to reboot after which everything is fine once again.

Any suggestions on what to look for? The HD is brand new.

AlucardZero 09-29-2010 05:03 PM

the hard drive's SMART output
unmount & force a fsck of the volume
errors in dmesg

rowp 10-07-2010 09:21 PM

Fixed
 
Found the cause, the cloned disk actually contained corruptions.

The fact that it was happening at the same time each day seems to be related to the files accessed at that particular time via a cronjob.

fsck resolved the issues, however alot of application files where lost in the process.

The fastest fix was to start over and rebuild a working OS from scratch (which was on the cards anyway, due to Ubuntu 10.04 LTS and the move the EXT4)

Cheers

syg00 10-07-2010 10:20 PM

Find a better method of cloning - dd ain't the answer. And I hope you had the source system down when you did it.
fsck should always be done before and after.


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