LinuxQuestions.org
Visit Jeremy's Blog.
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 09-29-2010, 05:52 PM   #1
rowp
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Rep: Reputation: 0
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.
 
Old 09-29-2010, 06:03 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

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

Original Poster
Rep: Reputation: 0
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
 
Old 10-07-2010, 11:20 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,833

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


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


All times are GMT -5. The time now is 08:22 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