View previous topic :: View next topic |
Author |
Message |
Konstantin_Grigoriev n00b
Joined: 28 Jan 2008 Posts: 1
|
Posted: Mon Jan 28, 2008 11:38 am Post subject: readonly ext3 partition |
|
|
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 |
|
|
mottmar Tux's lil' helper
Joined: 13 Nov 2005 Posts: 103 Location: Genoa, Italy
|
Posted: Mon Jan 28, 2008 1:14 pm Post subject: RE:readonly ext3 partition |
|
|
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 |
|
|
schachti Advocate
Joined: 28 Jul 2003 Posts: 3765 Location: Gifhorn, Germany
|
Posted: Mon Jan 28, 2008 4:26 pm Post subject: Re: RE:readonly ext3 partition |
|
|
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 |
|
|
|