Re: FreeBSD 8.2 Release, ZFS + Samba, running out of memory

2011-02-22 Thread Henner Heck
I only connect to the BSD system via ssh at the moment, there is no keyboard attached. The ssh shell running "top" doesn't update anymore and doesn't take any input. A new ssh session is not possible. Pressing the power button once does not shut down the machine, i have to keep it pressed for seve

Re: FreeBSD 8.2 Release, ZFS + Samba, running out of memory

2011-02-22 Thread Jeremy Chadwick
On Tue, Feb 22, 2011 at 10:55:37PM +0100, Henner Heck wrote: > i experience freezing of my FreeBSD machine when performing certain > operations > on a Samba share. > > Technical info: > - FreeBSD 8.2 Release 64 Bit (it also happened with 8.2 RC3) > - Samba 3.5.6.1 > - Athlon II Quadcore, 4 GB Ram

Re: NFS client over udp

2011-02-22 Thread Rick Macklem
> --- On Tue, 2/22/11, Rick Macklem wrote: > > > From: Rick Macklem > > Subject: Re: NFS client over udp > > To: "Kirill Yelizarov" > > Cc: freebsd-stable@freebsd.org > > Date: Tuesday, February 22, 2011, 2:10 AM > > > --- On Sun, 2/20/11, Rick > > Macklem > > wrote: > > > > > > > From: Rick M

Re: FreeBSD 8.2 Release, ZFS + Samba, running out of memory

2011-02-22 Thread Martin Matuska
There looks like a known bug of not activating memory pages if using sendfile(2). This was fixed by kib@ in revision 218795 of stable/8. Please try the following patch and report the result: http://people.freebsd.org/~mm/patches/releng_8_2/218795.zfs.patch Dňa 22.02.2011 22:55, Henner Heck wrot

Re: FreeBSD 8.2 Release, ZFS + Samba, running out of memory

2011-02-22 Thread Kostik Belousov
On Tue, Feb 22, 2011 at 10:55:37PM +0100, Henner Heck wrote: > > Hello, > > i experience freezing of my FreeBSD machine when performing certain > operations > on a Samba share. > > Technical info: > - FreeBSD 8.2 Release 64 Bit (it also happened with 8.2 RC3) > - Samba 3.5.6.1 > - Athlon II Quad

FreeBSD 8.2 Release, ZFS + Samba, running out of memory

2011-02-22 Thread Henner Heck
Hello, i experience freezing of my FreeBSD machine when performing certain operations on a Samba share. Technical info: - FreeBSD 8.2 Release 64 Bit (it also happened with 8.2 RC3) - Samba 3.5.6.1 - Athlon II Quadcore, 4 GB Ram - 1 SSD with a ZFS pool (No.0) containing the FreeBSD system - 12x2T

Re: Problem with ipfw and libalias on 8.2-PRERELEASE

2011-02-22 Thread Etienne Robillard
On 02/22/2011 04:28, Sergey Kandaurov wrote: On 22 February 2011 00:30, Etienne Robillard wrote: Hi, I'm unable to load the ipfw module in 8.2-PRELEASE. i think this may be due to ABI changes at the kernel level. , $ sudo kldload /boot/kernel/ipfw.ko $ dmesg ... KLD ipfw.ko: depends on li

Re: Freebsd-update and release candidates

2011-02-22 Thread Jan Henrik Sylvester
On 01/-10/-28163 20:59, Renato Botelho wrote: On Tue, Feb 22, 2011 at 11:04 AM, Svein Skogen wrote: I'm in the process of setting up a small network of FreeBSD installations. My plan (this time) is to keep them on branches available to freebsd-update, instead of depending on source being checke

Re: Freebsd-update and release candidates

2011-02-22 Thread Renato Botelho
On Tue, Feb 22, 2011 at 11:04 AM, Svein Skogen wrote: > I'm in the process of setting up a small network of FreeBSD > installations. My plan (this time) is to keep them on branches available > to freebsd-update, instead of depending on source being checked out from > CVS. > > However, I'm a wee bi

Re: Freebsd-update and release candidates

2011-02-22 Thread Steven Hartland
However, I'm a wee bit curious of whether I will be able to upgrade from 8.2RC3 or if I should wait until 8.2 is actually released with the setup (I _CAN_ wait a week or two). Looks like its already been tagged so should be any time now:- /usr/src/UPDATING:- ... 20110221: 8.2-RELEASE. 20101

Freebsd-update and release candidates

2011-02-22 Thread Svein Skogen
I'm in the process of setting up a small network of FreeBSD installations. My plan (this time) is to keep them on branches available to freebsd-update, instead of depending on source being checked out from CVS. However, I'm a wee bit curious of whether I will be able to upgrade from 8.2RC3 or if I

Re: 3TB disc and block alignment

2011-02-22 Thread Pete French
> Why may it hurt ? How may it hurt ? Which sector is written to by > this 'gpart' command ? > > As far as I understand, GPT writes some stuff at the beginning and > the end of the harddisk. Yup, this is true. > How/why will the newfs overwrite those parts ? Because you are also giving it the wh

Re: 3TB disc and block alignment

2011-02-22 Thread Kurt Jaeger
Hi! > > Basically, I did this: > > > gpart create -s gpt ad7 > > newfs /dev/ad7 > > Wow! Don't do it. It may hurt. ;-) Why may it hurt ? How may it hurt ? Which sector is written to by this 'gpart' command ? As far as I understand, GPT writes some stuff at the beginning and the end of the hard

Re: 8.1 amd64 lockup (maybe zfs or disk related)

2011-02-22 Thread Jeremy Chadwick
On Tue, Feb 22, 2011 at 11:05:00AM +, Bruce Cran wrote: > On Mon, 2011-02-07 at 00:55 -0800, Jeremy Chadwick wrote: > > > # NOTE: Systems with 8GB of RAM or more have prefetch enabled by default. > > vfs.zfs.prefetch_disable="1" > > I think ZFS is enabled with 4 GB or more, not 8 GB: > > "ZF

Re: 8.1 amd64 lockup (maybe zfs or disk related)

2011-02-22 Thread Bruce Cran
On Mon, 2011-02-07 at 00:55 -0800, Jeremy Chadwick wrote: > # NOTE: Systems with 8GB of RAM or more have prefetch enabled by default. > vfs.zfs.prefetch_disable="1" I think ZFS is enabled with 4 GB or more, not 8 GB: "ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present

Re: NFS client over udp

2011-02-22 Thread Kirill Yelizarov
--- On Tue, 2/22/11, Rick Macklem wrote: > From: Rick Macklem > Subject: Re: NFS client over udp > To: "Kirill Yelizarov" > Cc: freebsd-stable@freebsd.org > Date: Tuesday, February 22, 2011, 2:10 AM > > --- On Sun, 2/20/11, Rick > Macklem > wrote: > > > > > From: Rick Macklem > > > Subject

Re: 3TB disc and block alignment

2011-02-22 Thread Boris Samorodov
Hi! On Tue, 22 Feb 2011 10:23:12 +0100 Kurt Jaeger wrote: > Basically, I did this: > gpart create -s gpt ad7 > newfs /dev/ad7 Wow! Don't do it. It may hurt. ;-) Please, pay attention to gpart(8) (i.e. read the manual carefully). One should create a specific partition and only then create a fil

Re: Problem with ipfw and libalias on 8.2-PRERELEASE

2011-02-22 Thread Sergey Kandaurov
On 22 February 2011 00:30, Etienne Robillard wrote: > Hi, > > I'm unable to load the ipfw module in 8.2-PRELEASE. i think > this may be due to ABI changes at the kernel level. , > > $ sudo kldload /boot/kernel/ipfw.ko > $ dmesg > ... > KLD ipfw.ko: depends on libalias - not available or version mi

Re: 3TB disc and block alignment

2011-02-22 Thread Kurt Jaeger
Hi! > > # glabel status > > Name Status Components > > ufsid/4d62938756e96a72 N/A ad7 > > > If I use gpart, does this somehow imply glabel ? > > I'm not an expert at gpart(8). But my gparted disks have geom labels for > partitions but not for disks: Interesting. > Can

Re: Problem with ipfw and libalias on 8.2-PRERELEASE

2011-02-22 Thread Nikos Vassiliadis
On 2/21/2011 11:30 PM, Etienne Robillard wrote: KLD ipfw.ko: depends on libalias - not available or version mismatch linker_load_file: Unsupported file type Try a: touch sys/netinet/ipfw/*.c sys/netinet/libalias/*.c env NO_CLEAN=1 make kernel Does this fix the problem? Nikos _

Re: 3TB disc and block alignment

2011-02-22 Thread Boris Samorodov
Hi! On Mon, 21 Feb 2011 17:55:21 +0100 Kurt Jaeger wrote: > > > > > Feb 17 22:15:44 vserv1 kernel: GEOM: ufsid/4d5d8faa10b63ac1: using > > > > > the primary only -- recovery suggested. > > > > > Boris Samorodov wrote: > > > > It may be the case here if you to used glabel(8) to create a label >

Re: system crash during make installworld

2011-02-22 Thread David J Brooks
>> Next I made a copy of the 8.2-RC# install disk and tried to do an upgrade in >> place. It was unable to backup /etc to /var/tmp/etc due to: >> >> ELF interpreter /libexec/ld-elf.so.1 not found >> Abort trap >> >> .. again. This happens pretty much anytime I try to execute a command that >