ext3 filesystem becomes read-only

Eli Dorfman dorfman.eli at gmail.com
Tue Jul 22 16:00:44 UTC 2008


>> 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?

it works directly.
the problem happens only with iscsi (iser transport) with ext3 filesystem.
iscsi with ext2 works.

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

No.




More information about the Ext3-users mailing list