g_vfs_done():md0[WRITE(offset=1350844416, length=16384)]error = 1

Attila Nagy bra at fsn.hu
Thu Feb 1 13:18:59 UTC 2007


On 02/01/07 12:03, Kostik Belousov wrote:
> On Thu, Feb 01, 2007 at 11:24:09AM +0100, Attila Nagy wrote:
>   
>> Hello,
>>
>> I have a setup, where I have a /data filesystem with a "big" (20G) 
>> sparse file on it. This sparse file is set up with:
>> mdconfig -a -t vnode -f /data/nfsimg
>> and I use /dev/md0 for storing some data, shared via NFS (I needed 
>> redundant read only NFS servers, so I just sync this image to the others 
>> and mount read only on them).
>>
>> With the above, I get the following in the syslog:
>> Feb  1 11:16:49 boot00a kernel: 
>> g_vfs_done():md0[WRITE(offset=1350844416, length=16384)]error = 1
>> Feb  1 11:16:49 boot00a kernel: 
>> g_vfs_done():md0[WRITE(offset=1928118272, length=16384)]error = 1
>> Feb  1 11:17:18 boot00a kernel: 
>> g_vfs_done():md0[WRITE(offset=1350844416, length=16384)]error = 1
>> Feb  1 11:17:18 boot00a kernel: 
>> g_vfs_done():md0[WRITE(offset=1928118272, length=16384)]error = 1
>>
>> And these two lines are alternating, with the same offsets, as you can 
>> see. I use the raw device for storing the filesystem (newfs /dev/md0). 
>> Currently the image is mounted read-write and there is almost no 
>> activity on that.
>>
>> Any ideas about this?
>>     
>
> errno == 1 == EPERM (Operation not permitted). Check for this.
>   
Sorry, my fault. I forgot to tell that I use this image regurarly for 
reading/writing (to host OS environments for the boot clients) without 
any noticeable errors, except the above lines in the syslog. So it seems 
that the writes are OK, at least for the purpose of booting/running 
about 50 machines from this image with various OS-es (even Linux).

-- 
Attila Nagy                                   e-mail: Attila.Nagy at fsn.hu
Free Software Network (FSN.HU)                 phone: +3630 306 6758
http://www.fsn.hu/



More information about the freebsd-fs mailing list