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.
Following is the output of /var/log/messages:
Jul 22 15:16:53 nsg1 kernel: EXT3 FS on sdd, internal journal
Jul 22 15:16:53 nsg1 kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jul 22 15:22:35 nsg1 kernel: EXT3-fs error (device sdd):
ext3_new_block: Allocating block in system zone - blocks from 2719744,
length 1
Jul 22 15:22:35 nsg1 kernel: Aborting journal on device sdd.
Jul 22 15:22:35 nsg1 kernel: ext3_abort called.
Jul 22 15:22:35 nsg1 kernel: EXT3-fs error (device sdd):
ext3_journal_start_sb: Detected aborted journal
Jul 22 15:22:35 nsg1 kernel: Remounting filesystem read-only
Jul 22 15:22:35 nsg1 kernel: EXT3-fs error (device sdd):
ext3_free_blocks: Freeing blocks in system zones - Block = 2719744,
count = 1
Jul 22 15:22:35 nsg1 kernel: EXT3-fs error (device sdd) in
ext3_free_blocks_sb: Journal has aborted
Jul 22 15:22:37 nsg1 kernel: __journal_remove_journal_head: freeing
b_committed_data
Jul 22 15:22:37 nsg1 last message repeated 9 times
Jul 22 15:22:37 nsg1 kernel: __journal_remove_journal_head: freeing
b_frozen_data
Jul 22 15:22:37 nsg1 kernel: __journal_remove_journal_head: freeing
b_committed_data
Jul 22 15:22:37 nsg1 kernel: __journal_remove_journal_head: freeing
b_frozen_data
Thanks,
Eli