ZFS and disk naming change (ex. da0->da4)

Attila Nagy bra at fsn.hu
Thu Oct 25 09:48:13 PDT 2007


On 10/25/07 17:10, Pawel Jakub Dawidek wrote:
>> panic: kmem_malloc(131072): kmem_map too small: 335319040 total allocated
>> cpuid = 0
>> Uptime: 18m22s
>> Physical memory: 1015 MB
>> Dumping 372 MB: 357 341 325 309 293 277 261 245 229 213 197 181 165 149 
>> 133 117 101 85 69 53 37 21 5
>>
>> #0  doadump () at pcpu.h:195
>> 195             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
>>
>> I've tried to lower vfs.zfs.arc_max first to 32, then 16 MB, but the 
>> panics still occur.
>>     
>
> Have you tried the patch I posted some weeks ago?
>
> 	http://people.freebsd.org/~pjd/patches/vm_kern.c.2.patch
>   
Umm, no, not until now.

The result is the same:
Unread portion of the kernel message buffer:
panic: kmem_malloc(131072): kmem_map too small: 335331328 total allocated
cpuid = 0
Uptime: 15m25s
Physical memory: 1015 MB
Dumping 371 MB: 356 340 324 308 292 276 260 244 228 212 196 180 164 148 
132 116 100 84 68 52 36 20 4

#0  doadump () at pcpu.h:195
195             __asm __volatile("movl %%fs:0,%0" : "=r" (td));

This is with the default settings, so:
vm.kmem_size_max: 335544320
vm.kmem_size: 335544320
vfs.zfs.arc_min: 16777216
vfs.zfs.arc_max: 251658240

-- 
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