Date: Wed, 15 Oct 2008 20:54:53 +0300 From: Ruslan Kovtun <yalur@mail.ru> To: freebsd-fs@freebsd.org Subject: Re: ZFS on backup fileserver - RAM usage Message-ID: <200810152054.53638.yalur@mail.ru> In-Reply-To: <5B6268D5-3418-4BB1-A013-D04F299C68C1@corp.spry.com> References: <48F334A0.3080005@quip.cz> <200810142359.34263.yalur@mail.ru> <5B6268D5-3418-4BB1-A013-D04F299C68C1@corp.spry.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I have downloaded snapshot ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/200807/8.0-CURRENT-200807-amd64-disc1.iso and extract src folder from it. I applied patch zfs_20080727.patch without ay errors. Buildworld finished succesfull but make kernel failed (see below). How can I solve this problem? /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c:178: error: expected declaration specifiers or '...' before string constant /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c:178: error: expected declaration specifiers or '...' before '&' token /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c:178: warning: data definition has no type or storage class /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c:178: warning: type defaults to 'int' in declaration of 'TUNABLE_QUAD' /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c:181: error: expected ')' before '(' token /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c:183: error: expected ')' before '(' token /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c:398: error: expected ')' before '(' token /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c:400: error: expected ')' before '(' token *** Error code 1 Stop in /usr/src/sys/modules/zfs. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ___________________________________________ > As I mentioned earlier, you want to sync to -HEAD as of the date of > the patch. Try something like this: > > > $ more /usr/local/etc/cvsup-head > *default host=cvsup8.FreeBSD.org > *default base=/var/db > *default prefix=/usr > *default release=cvs tag=. > *default delete use-rel-suffix > *default date=2008.08.13.00.00.00 > *default compress > src-all > > On Oct 14, 2008, at 1:59 PM, Ruslan Kovtun wrote: > > I tried to apply this patch (zfs_20080727.patch) but I have found > > several > > errors (see below). Is this problem with patch or I need manualy > > apply these > > changes? > > > > Patching file cddl/contrib/opensolaris/lib/libzpool/common/sys/ > > zfs_context.h > > using Plan A... > > Hunk #11 failed at 347. > > > > Patching file cddl/contrib/opensolaris/lib/libzpool/common/sys/ > > zfs_context.h > > using Plan A... > > Hunk #11 failed at 347. > > > > Patching file sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ > > zfs_ctldir.c > > using Plan A... > > Hunk #26 failed at 1053. > > > > Patching file sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ > > zfs_replay.c > > using Plan A... > > Hunk #18 failed at 766. > > > > Patching file sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ > > zfs_vnops.c using > > Plan A... > > Hunk #82 failed at 3478. > > > > Patching file sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ > > zfs_znode.c using > > Plan A... > > Hunk #6 failed at 136. > > Hunk #13 failed at 560. > > Hunk #18 failed at 759. > > Hunk #20 failed at 877. > > Hunk #26 failed at 1336. > > > > Patching file sys/kern/kern_jail.c using Plan A... > > Hunk #1 failed at 34. > > > > > > ____________________________________________________ > > > >> On Oct 13, 2008, at 2:08 PM, Miroslav Lachman wrote: > >>> Matt Simerson wrote: > >>>> It all depends on your workload. If you work your backup serves > >>>> hard (as I do, backing up thousands of OS instances), you'll have > >>>> significant reliability problems using FreeBSD 7.1 and ZFS. After > >>>> a crash that corrupted my file systems, I have moved to 8-head > >>>> with Pawel's latest patch. > >>>> My backup servers have between 16 and 24 disks each. The ones with > >>>> 16GB of RAM crash far less frequently than my server that has only > >>>> 2GB. That one is getting upgraded soon. > >>>> Matt > >>> > >>> I am planning to backup about 10-15 servers (mainly webservers and > >>> few mailservers) and not expecting high load. > >>> Did 8-current with the latest ZFS patch fixed all stability > >>> problems? > >>> > >>> Thanks for suggestions to both of you. > >>> > >>> Miroslav Lachman > >> > >> No, there are still stability issues under heavy load. The are just > >> far less frequent under 8-current than under 7. I couldn't keep my > >> systems up for more than 2 days before switching to 8. Running 8- > >> head > >> was better, but so far the best available configuration is 8-head > >> with > >> "the patch" applied. > >> > >> Matt > >> _______________________________________________ > >> freebsd-fs@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-fs > >> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > > > > -- > > ________________ > > Ruslan Kovtun > > mailto: yalur@mail.ru > > mob: +380503557878, +380919015095 > > ICQ: 277696182 > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" -- ________________ Ruslan Kovtun mailto: yalur@mail.ru mob: +380503557878, +380919015095 ICQ: 277696182
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810152054.53638.yalur>