ext3 filesystem becomes read-only

Eric Sandeen sandeen at redhat.com
Tue Jul 22 15:07:51 UTC 2008

Eli Dorfman wrote:
> Hello all,
> I have the following setup:
> iSCSI initiator on RHEL5.
> ISCSI target on RHEL5.1
> I created an ext3 FS on the device
> # mkfs.ext3 /dev/sdc
> mounted the device
> # mount /dev/sdc /mnt/sdc
> Trying to create a file on the mounted FS
> # dd if=/dev/zero of=/mnt/sdc/tempfile bs=1k count=10M
> I got the following error on the initiator:
> dd: writing `/mnt/sdc/tempfile': Read-only file system
> 1489+0 records in
> 1488+0 records out

> This problem happens only with ext3 but not with ext2 and when created
> file is larger than 4GB.
> Please advise.

Is it unique to iscsi?  i.e. what if you do the same thing directly on
the target?

And, being iscsi, is anything else accessing the same block device on
the target?


More information about the Ext3-users mailing list