FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 08-29-2011, 02:18 PM
Philippe Naudin
 
Default mounting an ext3 filesystem "-o ro"

Hi,

I want to do something *bad* : to mount an already mounted ext3
partition.

Mounting "-o bind" is not an option, this partition is mounted by
different virtual machines. NFS is the right way to go, so I want
another one :-)

I have no problem mounting this partition read-only, but it seems
that actually it is not really read-only. From /var/log/messages :

Aug 29 11:26:43 xen02 kernel: EXT3-fs: INFO: recovery required on readonly filesystem.
Aug 29 11:26:43 xen02 kernel: EXT3-fs: write access will be enabled during recovery.
Aug 29 11:26:43 xen02 kernel: kjournald starting. Commit interval 5 seconds
Aug 29 11:26:43 xen02 kernel: EXT3-fs: recovery complete.
Aug 29 11:26:43 xen02 kernel: EXT3-fs: mounted filesystem with ordered data mode.

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 ?

Thanks,

--
Philippe Naudin
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 08-29-2011, 02:23 PM
Hakan Koseoglu
 
Default mounting an ext3 filesystem "-o ro"

On 29 August 2011 15:18, Philippe Naudin
<philippe.naudin@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.

> 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.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 09:44 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org