RE: Samba 3.2.4 not in ports?

2008-10-07 Thread Johan Hendriks
Onderwerp: Samba 3.2.4 not in ports? Hi all, Sorry if this is a faq or something obvious, but is there a reason why current version of samba 3.2.4 is not in ports? I only see 3.0.32 at the moment :-( Best regards, Holger This has been asked before, there are some issues with samba 3.2.x The

Re: Help me to develop a FreeBSD patch for gcc-4.2.1

2008-10-07 Thread Unga
--- On Tue, 10/7/08, Peter Jeremy [EMAIL PROTECTED] wrote: On 2008-Oct-06 06:19:34 -0700, Unga [EMAIL PROTECTED] wrote: The FreeBSD stable comes with gcc-4.2.1 but the sources are scattered over the /usr/src, therefore, I find it difficult to re-create the gcc-4.2.1 to its original

Re: zfs quota question

2008-10-07 Thread Jeremy Chadwick
On Tue, Oct 07, 2008 at 12:07:26PM +0200, Holger Kipp wrote: On Tue, Oct 07, 2008 at 02:54:37AM -0700, Jeremy Chadwick wrote: On Tue, Oct 07, 2008 at 05:32:43PM +0800, lhmwzy wrote: I create a zfs volume pool/lhm and give it quota 1M use zfs set quota=1m pool/lhm I can confirm and

Re: zfs quota question

2008-10-07 Thread Pawel Jakub Dawidek
On Tue, Oct 07, 2008 at 02:54:37AM -0700, Jeremy Chadwick wrote: On Tue, Oct 07, 2008 at 05:32:43PM +0800, lhmwzy wrote: I create a zfs volume pool/lhm and give it quota 1M use zfs set quota=1m pool/lhm #zfs get all pool/lhm zfs get all pool/lhm [ttyp0][5:22:12pm] NAME

Re: zfs quota question

2008-10-07 Thread Holger Kipp
On Tue, Oct 07, 2008 at 03:12:59AM -0700, Jeremy Chadwick wrote: On Tue, Oct 07, 2008 at 12:07:26PM +0200, Holger Kipp wrote: On Tue, Oct 07, 2008 at 02:54:37AM -0700, Jeremy Chadwick wrote: On Tue, Oct 07, 2008 at 05:32:43PM +0800, lhmwzy wrote: I create a zfs volume pool/lhm and give

Re: zfs quota question

2008-10-07 Thread Pawel Jakub Dawidek
On Tue, Oct 07, 2008 at 03:30:09AM -0700, Jeremy Chadwick wrote: On Tue, Oct 07, 2008 at 12:17:55PM +0200, Pawel Jakub Dawidek wrote: Turn compression off and retry. Yep, that's the key! # zfs set quota=4g storage/home # zfs set compression=off storage # zfs get

Re: reloading samba config made system unresponsible

2008-10-07 Thread Bartosz Stec
Bartosz Stec wrote: My tries to tune smb.conf to achieve better performance expose very strange bug: Just executing: /usr/local/etc/rc.d/samba reload made my system unresponsible from network. It happens three times until now so I'm sure that is the cause (but it happened after some

Re: zfs quota question

2008-10-07 Thread Andrew Snow
I love ZFS, but I suddenly found out last night that I have lost the ability tto do a 'du' on a directory to work out if it will fit onto a CD or not :-) I have created a shell script, /usr/local/bin/dirsize : #!/bin/sh find $1 -type f -ls | awk '{j += $7} END {print j}' Usage: dirsize

Re: Regression 7.0R - 7-stable?

2008-10-07 Thread Jeremy Chadwick
On Tue, Oct 07, 2008 at 02:37:24PM +0200, Gerrit Kühn wrote: On Tue, 7 Oct 2008 13:38:01 +0200 Gerrit Kühn [EMAIL PROTECTED] wrote about Re: Regression 7.0R - 7-stable?: [...] GK However, yesterday I upgraded the system to a recent 7-stable GK codebase, and now it locks again hard after

Re: Regression 7.0R - 7-stable?

2008-10-07 Thread John Baldwin
On Tuesday 07 October 2008 09:37:10 am Jeremy Chadwick wrote: On Tue, Oct 07, 2008 at 02:37:24PM +0200, Gerrit Kühn wrote: On Tue, 7 Oct 2008 13:38:01 +0200 Gerrit Kühn [EMAIL PROTECTED] wrote about Re: Regression 7.0R - 7-stable?: [...] GK However, yesterday I upgraded the system

Re: zfs quota question

2008-10-07 Thread lhmwzy
You're right. I turn off the compression,everything go well. So this is my problem,not a ZFS of FreeBSD problme. Tks for reply. 2008/10/7 Pawel Jakub Dawidek [EMAIL PROTECTED]: .00M - pool/lhm compressratio 7.25x - Turn compression off and retry.

Re: zfs quota question

2008-10-07 Thread lhmwzy
sorry,I make a mistake. It is a filesystem,not a volume. 2008/10/7 Holger Kipp [EMAIL PROTECTED]: according to zfs manpage: Quotas cannot be set on volumes, as the volsize property acts as an implicit quota. ___

Re: Regression 7.0R - 7-stable?

2008-10-07 Thread Gerrit Kühn
On Tue, 7 Oct 2008 10:02:56 -0400 John Baldwin [EMAIL PROTECTED] wrote about Re: Regression 7.0R - 7-stable?: JB Do you have more details about the crash? Are you getting an actual JB panic with messages on the console, or are you still seeing hangs? Like it was before: system just hangs after

Re: zfs quota question

2008-10-07 Thread Max Laier
On Tuesday 07 October 2008 12:43:45 Pete French wrote: Yeah, ZFS offers a lot, which can create confusion, unfortunately. Do we limit physical space with quota or only logical (before compression)? Should we take space consumed by snapshots into account or not? etc. On a related note, is

Re: Regression 7.0R - 7-stable?

2008-10-07 Thread Jeremy Chadwick
On Tue, Oct 07, 2008 at 04:15:34PM +0200, Gerrit Kühn wrote: On Tue, 7 Oct 2008 10:02:56 -0400 John Baldwin [EMAIL PROTECTED] wrote about Re: Regression 7.0R - 7-stable?: JB Do you have more details about the crash? Are you getting an actual JB panic with messages on the console, or are you

Re: zfs quota question

2008-10-07 Thread Holger Kipp
On Tue, Oct 07, 2008 at 05:32:43PM +0800, lhmwzy wrote: I create a zfs volume pool/lhm and give it quota 1M use zfs set quota=1m pool/lhm according to zfs manpage: Quotas cannot be set on volumes, as the volsize property acts as an implicit quota. Aditionally, I see

Re: zfs quota question

2008-10-07 Thread lhmwzy
My system #uname -a FreeBSD bxzxfreebsd.slof.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #4: Mon Oct 6 15:02:42 CST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/lhmwzy amd64 zfs version: ZFS filesystem version 6 ZFS storage pool version 6 ___

zfs quota question

2008-10-07 Thread lhmwzy
I create a zfs volume pool/lhm and give it quota 1M use zfs set quota=1m pool/lhm #zfs get all pool/lhm zfs get all pool/lhm [ttyp0][5:22:12pm] NAME PROPERTY VALUE SOURCE pool/lhm type filesystem - pool/lhm creation Tue Oct 7 17:14 2008

Re: Possibility of backporting of Heimdal 1.1

2008-10-07 Thread Mike Tancsa
At 05:24 PM 10/6/2008, Galen Sampson wrote: I would like to second that. The heimdal in 7.0 is quite old. It is in fact inoperable with an mit kerberos realm when using ssh. The byte order is incorrect such that you get MIC checksum failures. After much googling (not documented in the

Re: zfs quota question

2008-10-07 Thread Pete French
Yeah, ZFS offers a lot, which can create confusion, unfortunately. Do we limit physical space with quota or only logical (before compression)? Should we take space consumed by snapshots into account or not? etc. On a related note, is there any way to make du tell me how big files are in actual

Re: Regression 7.0R - 7-stable?

2008-10-07 Thread Gerrit Kühn
On Tue, 7 Oct 2008 07:25:42 -0700 Jeremy Chadwick [EMAIL PROTECTED] wrote about Re: Regression 7.0R - 7-stable?: JC Like it was before: system just hangs after displaying the probing JC messages about the CPU cores; next step for a working kernel would JC be mounting of the file systems (and

Re: Regression 7.0R - 7-stable?

2008-10-07 Thread Gerrit Kühn
On Wed, 27 Aug 2008 11:16:29 +0200 Gerrit Kühn [EMAIL PROTECTED] wrote about Re: Regression 7.0R - 7-stable?: [...] GK If someone can tell me what to do (except for putting ddb into the GK kernel configuration) or point me at some documentation about this, I GK can try getting some useful

Re: zfs quota question

2008-10-07 Thread lhmwzy
Yes,this is a problem. In my case,du -h displays 1M,but the actual size is about 24M. 2008/10/7 Pete French [EMAIL PROTECTED]: Yeah, ZFS offers a lot, which can create confusion, unfortunately. Do we limit physical space with quota or only logical (before compression)? Should we take space

Re: Regression 7.0R - 7-stable?

2008-10-07 Thread Gerrit Kühn
On Tue, 7 Oct 2008 13:38:01 +0200 Gerrit Kühn [EMAIL PROTECTED] wrote about Re: Regression 7.0R - 7-stable?: [...] GK However, yesterday I upgraded the system to a recent 7-stable GK codebase, and now it locks again hard after probing the CPU cores. My GK setup remained exactly the same, the new

route flush does not delete routes created with -interface option

2008-10-07 Thread Johann Hugo
Is there a way to get rid of all the routes in a routing table ? This is more or less what I do: route add 146.64.80.0/24 192.168.0.100 route add 146.141.0.0 -interface tun1 route add 146.182.0.0 -interface tun1 route add 146.230.0.0 -interface tun1 netstat -rn inet 146.64.80.0/24

Re: zfs quota question

2008-10-07 Thread Holger Kipp
On Tue, Oct 07, 2008 at 02:54:37AM -0700, Jeremy Chadwick wrote: On Tue, Oct 07, 2008 at 05:32:43PM +0800, lhmwzy wrote: I create a zfs volume pool/lhm and give it quota 1M use zfs set quota=1m pool/lhm I can confirm and reproduce what you're seeing. Based on all of the ZFS documentation

Re: zfs quota question

2008-10-07 Thread Jeremy Chadwick
On Tue, Oct 07, 2008 at 12:17:55PM +0200, Pawel Jakub Dawidek wrote: On Tue, Oct 07, 2008 at 02:54:37AM -0700, Jeremy Chadwick wrote: On Tue, Oct 07, 2008 at 05:32:43PM +0800, lhmwzy wrote: I create a zfs volume pool/lhm and give it quota 1M use zfs set quota=1m pool/lhm #zfs get

Re: zfs quota question

2008-10-07 Thread Jeremy Chadwick
On Tue, Oct 07, 2008 at 05:32:43PM +0800, lhmwzy wrote: I create a zfs volume pool/lhm and give it quota 1M use zfs set quota=1m pool/lhm #zfs get all pool/lhm zfs get all pool/lhm [ttyp0][5:22:12pm] NAME PROPERTY VALUE SOURCE pool/lhm type

Re: Regression 7.0R - 7-stable?

2008-10-07 Thread John Baldwin
On Tuesday 07 October 2008 11:07:42 am Gerrit Kühn wrote: JC John can probably help you with the commands you need to type, but the JC FreeBSD Handbook goes over the general commands. JC As far as getting into the debugger, it's Control-Alt-Esc from the JC console. Ok, I added options KDB

stable 7.0 and nslookup help command

2008-10-07 Thread xer xernet
Hello to anyone. I'm a FreeBSD user, i'm still a new bee but i still keep to learning. Anyway, here is my question: I use a FreeBSD STABLE-7 not installed by me, in this installation nslookup works very good and the ? or help command working properly, infact the every time i recall the command

Re: stable 7.0 and nslookup help command

2008-10-07 Thread Jeremy Chadwick
On Tue, Oct 07, 2008 at 06:30:23PM +0200, xer xernet wrote: Hello to anyone. I'm a FreeBSD user, i'm still a new bee but i still keep to learning. Anyway, here is my question: I use a FreeBSD STABLE-7 not installed by me, in this installation nslookup works very good and the ? or help

Re: fxp performance with POLLING

2008-10-07 Thread Joe Koberg
Pete French wrote: 1 megabit = 106 = 1,000,000 bits which is equal to 125,000 bytes. you are assuming eight bits per byte - but this is a serial line so you should use ten bits per byte instead. -pete. That was a rule of thumb in the heyday of async serial lines, which used a start

Re: fxp performance with POLLING

2008-10-07 Thread sthaug
However, ethernet at 100Mbit is 4B5B coded at a 125mhz rate. So the raw synchronous data rate really is 12.5Mbytes/s. Minus the sync preamble of 8 bytes per packet and the mandatory inter-frame-gap of 12 bytes that's a physical layer rate of (12.5M * (1500/(1500+20))) or 12.34Mbyte/s. You

Re: stable 7.0 and nslookup help command

2008-10-07 Thread Robert Watson
On Tue, 7 Oct 2008, Jeremy Chadwick wrote: Not to dissuade you from what you're trying to accomplish, but nslookup has been deprecated (this has been stated a few times by the BIND folks), and host is probably on its way out as well (though I remember somewhere, sometime, nslookup used to

Re: fxp performance with POLLING

2008-10-07 Thread Pete French
That was a rule of thumb in the heyday of async serial lines, which used a start and stop bit per byte. However, ethernet at 100Mbit is 4B5B coded at a 125mhz rate. So the raw Errr, 4B5B *is* 10 bits per byte surely? Even in the later days of modems this rule applied less and less,

Re: fxp performance with POLLING

2008-10-07 Thread Joe Koberg
Pete French wrote: However, ethernet at 100Mbit is 4B5B coded at a 125mhz rate. So the raw Errr, 4B5B *is* 10 bits per byte surely? ... Gig ether is mainly 8B10, as is Firewire, SATA, FibreChannel and a Mind you, it assumes that you know the real bit rate, which in the case of 100baseT

Re: [FreeBSD] Fix for ServerWorks HT1000 in upcoming 7.1?

2008-10-07 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Did anyone who can trigger the data corruption has tried John's patch and let us know if it worked? Cheers, - -- Xin LI [EMAIL PROTECTED] http://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9

Re: stable 7.0 and nslookup help command

2008-10-07 Thread Kevin Oberman
More importantly, dig(1) uses the standard resolver routines while nslookup has its own. This has, in some cases, resulted in different results from nslookup than for what the stub resolver returns which can really lead one down the primrose path when troubleshooting. I consider nslookup to be

Re: Help me to develop a FreeBSD patch for gcc-4.2.1

2008-10-07 Thread Alexander Kabaev
On Mon, 6 Oct 2008 06:19:34 -0700 (PDT) Unga [EMAIL PROTECTED] wrote: Hi all I need to patch the gcc original sources to suit the FreeBSD, specially to support FreeBSD kernel compilation. I have tried it, spent lot of time, but it still develops compilation errors. The FreeBSD stable

Re: Help me to develop a FreeBSD patch for gcc-4.2.1

2008-10-07 Thread Unga
--- On Wed, 10/8/08, Alexander Kabaev [EMAIL PROTECTED] wrote: If you still have CVS tree available, you can do 'cvs diff -rFSF' in contrib/gcc and apply the patches to files gcc-4.2.1/gcc. Hi Alexander, thanks for the reply. I'm new to 'cvs diff -rFSF'. I need to do more home work

Re: Would anybody port DragonFlyBSD's HAMMER fs to FreeBSD?

2008-10-07 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miroslav Lachman wrote: [...] I have no crash of ZFS, but as I read in mailing lists, there are still some problems, so let it be fixed and settle down before porting another good filesystem. Just my €0.02 For the record, pjd@'s previous ZFSv11

Re: Is FreeBSD a suitable choice for a MacBook?

2008-10-07 Thread Andrew Reilly
On Sun, Oct 05, 2008 at 02:10:59AM -0700, Kip Macy wrote: You sound as if you just got the machine and haven't given MacOS X a chance. Give MacOS X a chance. Download (if its not on your MacOS X install DVD) X Code, and Apple X11. X11 is barely usable under Leopard. I've heard a few

Re: zfs quota question

2008-10-07 Thread lhmwzy
The fllow is better? #!/bin/sh find $1 -type f -exec ls -lh {} \; | awk '{j += $5} END {print jM}' 2008/10/7 Andrew Snow [EMAIL PROTECTED]: I love ZFS, but I suddenly found out last night that I have lost the ability tto do a 'du' on a directory to work out if it will fit onto a CD or not :-)