Coda File System

Re: Can't write to data partition

From: Ivan Popov <pin_at_math.chalmers.se>
Date: Thu, 4 Sep 2003 16:00:55 +0200 (MEST)
On Thu, 4 Sep 2003, Ian Smith wrote:

> /dev/hda6             4        44    322560+  83  Linux

>    --- data area: /dev/hda6, size 315M.

> rvmutl: rvm_io.c:338: write_dev: Assertion `(dev->raw_io) ? (wrt_len ==
> length) : 1' failed.

I think it can depend on you partitioning really tight
(315*1025 is exactly 322560), together with some buffering/alignment,
either in rvmutl or in the kernel.

I'd suggest you abandon the partition approach and use plain files. It
will be better in the long run, as files can be more efficiently
mmap()-ed, according to Jan.

Regards,
--
Ivan
Received on 2003-09-04 10:03:03