g_vfs write error = 28, bad memory?
Per olof Ljungmark
peo at intersonic.se
Sat Sep 1 08:36:47 PDT 2007
Kris Kennaway wrote:
> Per olof Ljungmark wrote:
>> I use a memory file system for some tmp files and last night I saw
>> this, followed by a reboot. Bad memory? 6-STABLE from April..
>>
>> foo-bar kernel: g_vfs_done():md0[WRITE(offset=259244032,
>> length=131072)]error = 28
>> foo-bar kernel: g_vfs_done():md0[WRITE(offset=259375104,
>> length=131072)]error = 28
>> [ten more lines...]
>> [reboot]
>>
>> Thanks,
>
> #define ENOSPC 28 /* No space left on device */
>
> You are probably (incorrectly) using a malloc backed disk. Use swap
> backing and you won't panic when memory is low.
Yes, sounds likely, thanks. One more question then, where is the md
information stored through a reboot? I did not edit rc.conf or fstab or
kernel config but still /dev/md0 came back up. Hmmm.
More information about the freebsd-questions
mailing list