Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-29-2010, 04:52 PM   #1
LQ Newbie
Registered: Sep 2010
Posts: 2

Rep: Reputation: 0
Read Only FS


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.
Old 09-29-2010, 05:03 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614
the hard drive's SMART output
unmount & force a fsck of the volume
errors in dmesg
Old 10-07-2010, 09:21 PM   #3
LQ Newbie
Registered: Sep 2010
Posts: 2

Original Poster
Rep: Reputation: 0

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)

Old 10-07-2010, 10:20 PM   #4
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 16,749

Rep: Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475
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.


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
Program to read total read/write cycles for compact flash card timetraveler Linux - Hardware 0 05-06-2010 09:49 PM
silo read error on block <number>... results in a short read peterlowrie Linux - Hardware 0 02-07-2010 07:39 PM
Raid disk problem : Attempt to read block from filesystem resulted in short read ElmPie Linux - General 5 08-26-2008 05:21 AM
kernel panic unable to mount root (yes ive read/read other posts) dmx9595 Linux - General 4 01-17-2004 05:07 AM > Forums > Linux Forums > Linux - Newbie

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

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