Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Feb 2007 14:18:51 +0100
From:      Attila Nagy <bra@fsn.hu>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: g_vfs_done():md0[WRITE(offset=1350844416, length=16384)]error = 1
Message-ID:  <45C1E8BB.2060907@fsn.hu>
In-Reply-To: <20070201110321.GF56152@deviant.kiev.zoral.com.ua>
References:  <45C1BFC9.7090104@fsn.hu> <20070201110321.GF56152@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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@fsn.hu
Free Software Network (FSN.HU)                 phone: +3630 306 6758
http://www.fsn.hu/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45C1E8BB.2060907>