Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
readonly ext3 partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Konstantin_Grigoriev
n00b
n00b


Joined: 28 Jan 2008
Posts: 1

PostPosted: Mon Jan 28, 2008 11:38 am    Post subject: readonly ext3 partition Reply with quote

I have ext3 partion mounted with "ro" flag. Once my gentoo was hardly halted because of power failure. After this my partition became inconsistent and I ran fsck manually and solved some errors. But some data on this partition became corrupted.

Why partition, which was mounted readonly, became inconsistent?
How can i prevent such situations?
Back to top
View user's profile Send private message
mottmar
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2005
Posts: 103
Location: Genoa, Italy

PostPosted: Mon Jan 28, 2008 1:14 pm    Post subject: RE:readonly ext3 partition Reply with quote

The kernel can write even on read-only-mounted partitions (for example, to update acces times). By the way, if it's read-only, I think you don't need the journal - which is meant to record the *changes* to the filesystem. ro usually means you want *no* changes. disabling access times also could help.
Anyway, the only way to avoid these unpleasant events is to get yourself a good UPS ;-)
_________________
The box said "Requires Windows 95 or better." I can't understand why it won't work on my Linux computer.
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Mon Jan 28, 2008 4:26 pm    Post subject: Re: RE:readonly ext3 partition Reply with quote

mottmar wrote:
Anyway, the only way to avoid these unpleasant events is to get yourself a good UPS ;-)


No - ext3 is quite safe if you use full journaling (mount option data=journal), there is no need for a UPS (at least your file system is sane after a power failure).
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum