[CentOS] mounting an ext3 filesystem "-o ro"

Philippe Naudin philippe.naudin at supagro.inra.fr
Mon Aug 29 14:40:08 UTC 2011


Le lun 29 aoû 2011 15:23:12 CEST, Hakan Koseoglu a écrit:

> On 29 August 2011 15:18, Philippe Naudin
> <philippe.naudin at supagro.inra.fr> wrote:
> > Hi,
> >
> > I want to do something *bad* : to mount an already mounted ext3
> > partition.
> Use a clustering file system (i.e., ocfs2) instead.

I need to learn more about it before, but you are right that it's
definitely better to use an appropriate tool.
 
> > This recovery is probably triggered by the file /.autofsck, but I
> > have not found how to get rid of this feature. Is there a way to
> > read an ext3 filesystem, completely disabling recovery and any
> > write operation ?
> Mounting in ext2 will ignore the journalling but not recommended. In
> any case you won't be able to mount a dirty ext3 filesystem as ext2.

It works ! I can use tune2fs to check that the filesystem seems OK and
then mount it as an ext2 filesystem.

Thanks a lot !


-- 
Philippe Naudin



More information about the CentOS mailing list