Re: jls usage

2013-07-11 Thread Colin House
On 12/07/2013 11:19 AM, Fbsd8 wrote: In a .sh script I'm trying to get the jid for a single jail using this code jid=`jls -j jailname | cut -f 1- | awk '{print $1}'` The first line output by jls is a title line which the cut command is suppose to cut out so the first field on line 2 gets select

Re: jls usage

2013-07-11 Thread Teske, Devin
On Jul 11, 2013, at 6:19 PM, Fbsd8 wrote: > In a .sh script I'm trying to get the jid for a single jail using this code > > jid=`jls -j jailname | cut -f 1- | awk '{print $1}'` > Looks a little over complicated... why not just.. jls -j jailname jid -- Devin > The first line output by jls is

jls usage

2013-07-11 Thread Fbsd8
In a .sh script I'm trying to get the jid for a single jail using this code jid=`jls -j jailname | cut -f 1- | awk '{print $1}'` The first line output by jls is a title line which the cut command is suppose to cut out so the first field on line 2 gets selected by the awk command. This is not w

Re: [Bulk] FreeBSD upgrade woes (8.3 -> 8.4)

2013-07-11 Thread Mark Felder
On Thu, Jul 11, 2013, at 14:37, David Noel wrote: > > If this is the case replacing the kernel should have no effect. But > what then? Any thoughts? I'd contact freebsd-fs@ and see what they have to say ___ freebsd-questions@freebsd.org mailing list htt

Re: [Bulk] FreeBSD upgrade woes (8.3 -> 8.4)

2013-07-11 Thread David Noel
On 7/11/13, Mark Felder wrote: > On Thu, 11 Jul 2013 05:00:39 -0500, Eduardo Morras > wrote: > >> Perhaps make buildkernel was compiled with -j >1, it's known to create a >> >> buggy kernel. > > This is not true to my knowledge. If buildkernel produced bad kernels with > > -j>1 we'd not allow you

Re: How to get file from nfs id

2013-07-11 Thread Dan Nelson
In the last episode (Jul 11), Radek Krejca said: > Hello, > > I have problem with heavy load of my nfsd server. There is connected about 70 > diskless machines, but in readonly mode. I catched traffic and get this: > > 21:00:39.715337 IP diskless-1.3297435097 > storage.nfs: 112 getattr fh > Unk

Re: prevent ip conflict in dhcp client

2013-07-11 Thread krad
what is normal though these days? A lot of the fibre vhdsl lines do use dhcp on the wan link in the uk as they are just presented as ethernet, whilst other providers pppoe. On 11 July 2013 13:47, Frank Leonhardt wrote: > This all sounds like a very strange thing to be doing! But I hate it when

Re: prevent ip conflict in dhcp client

2013-07-11 Thread Frank Leonhardt
This all sounds like a very strange thing to be doing! But I hate it when people answer my questions with "Why would you want to do that", so I won't. Binding an IPv4 address using a MAC address, which is the answer to a lot of DHCP problems. But your explanation "my client acts like a router

Re: [Bulk] FreeBSD upgrade woes (8.3 -> 8.4)

2013-07-11 Thread Warren Block
On Thu, 11 Jul 2013, Eduardo Morras wrote: On Thu, 11 Jul 2013 04:40:38 -0500 David Noel wrote: I didn't include the make buildworld or make buildkernel for the sake of brevity but yes, I executed them prior to installworld and installkernel. Perhaps make buildkernel was compiled with -j >1

Re: prevent ip conflict in dhcp client

2013-07-11 Thread Eugene
Hi Sam, The idea that for the internal networks you should use so-called private address space (unless you are a big organization that need and can get a public address block of its own). You can read about it in more detail here https://en.wikipedia.org/wiki/Private_network So, for your ups

Re: prevent ip conflict in dhcp client

2013-07-11 Thread krad
ops %s/rand/range/ On 11 July 2013 12:42, krad wrote: > alter the pool rand on the network to use say, x.x.x.1-199 on a /24, and > then allocate your statics >200 but <= 254 or add something similar to your > isc-dhcp config > > host host.intranet { > hardware ethernet c8:60:33:1d:f3:57; >

Re: prevent ip conflict in dhcp client

2013-07-11 Thread krad
alter the pool rand on the network to use say, x.x.x.1-199 on a /24, and then allocate your statics >200 but <= 254 or add something similar to your isc-dhcp config host host.intranet { hardware ethernet c8:60:33:1d:f3:57; fixed-address 192.168.210.81; option host-name "host.intranet"; } A

Re: [Bulk] FreeBSD upgrade woes (8.3 -> 8.4)

2013-07-11 Thread Mark Felder
On Thu, 11 Jul 2013 05:00:39 -0500, Eduardo Morras wrote: Perhaps make buildkernel was compiled with -j >1, it's known to create a buggy kernel. This is not true to my knowledge. If buildkernel produced bad kernels with -j>1 we'd not allow you to do that without jumping through hoops. _

Re: prevent ip conflict in dhcp client

2013-07-11 Thread s m
thanks Eugene, you're right but i forgot to say that my client acts like a router. i mean none of interfaces should have ip address in same range (this is conflict for me). i can manage each interface to get ip address from DHCP or manually. so one interface may get ip address from dhcp server wher

Re: prevent ip conflict in dhcp client

2013-07-11 Thread Eugene
Hi Sam, Actually I think this is wrong approach. Correctly configured networks should be consistent and should not need such 'fixes'. Also you should observe the IP provided by upstream DHCP server otherwise it is an invitation for trouble (both technical and possibly legal). Are the 'other' i

prevent ip conflict in dhcp client

2013-07-11 Thread s m
hello all i have a question about dhcp client. i want to know if there is any way to understand the ip address which is offered by server before it assigned to the interface. i have a freebsd system which one of its interfaces should get ip address from dhcp server whereas other interfaces have ip

Re: [Bulk] FreeBSD upgrade woes (8.3 -> 8.4)

2013-07-11 Thread David Noel
Ah. That very well might be it. I did call buildkernel with j > 1. I'll boot an 8.4 memstick and replace the kernel. Thanks, -David On 7/11/13, Eduardo Morras wrote: > On Thu, 11 Jul 2013 04:40:38 -0500 > David Noel wrote: >> >> I didn't include the make buildworld or make buildkernel for the

Re: [Bulk] FreeBSD upgrade woes (8.3 -> 8.4)

2013-07-11 Thread Eduardo Morras
On Thu, 11 Jul 2013 04:40:38 -0500 David Noel wrote: > > I didn't include the make buildworld or make buildkernel for the sake > of brevity but yes, I executed them prior to installworld and > installkernel. Perhaps make buildkernel was compiled with -j >1, it's known to create a buggy kernel.

Re: [Bulk] FreeBSD upgrade woes (8.3 -> 8.4)

2013-07-11 Thread David Noel
On 7/11/13, Alexandre wrote: > On Thu, Jul 11, 2013 at 11:04 AM, David Noel > wrote: > >> I have 4 servers I'm upgrading from 8.3 to 8.4. Two of them went >> without a hitch, two of them blew up in my face. The only difference >> between the two is the ones that worked have a 2-disk ZFS mirror an

Re: [Bulk] FreeBSD upgrade woes (8.3 -> 8.4)

2013-07-11 Thread Alexandre
On Thu, Jul 11, 2013 at 11:04 AM, David Noel wrote: > I have 4 servers I'm upgrading from 8.3 to 8.4. Two of them went > without a hitch, two of them blew up in my face. The only difference > between the two is the ones that worked have a 2-disk ZFS mirror and > the ones that didn't have a 4-disk

FreeBSD upgrade woes (8.3 -> 8.4)

2013-07-11 Thread David Noel
I have 4 servers I'm upgrading from 8.3 to 8.4. Two of them went without a hitch, two of them blew up in my face. The only difference between the two is the ones that worked have a 2-disk ZFS mirror and the ones that didn't have a 4-disk ZFS striped mirror configuration (RAID10). They both use the

Re: How to get file from nfs id

2013-07-11 Thread Frank Leonhardt
On 11/07/2013 06:47, Radek Krejc(a wrote: Hello, I have problem with heavy load of my nfsd server. There is connected about 70 diskless machines, but in readonly mode. I catched traffic and get this: 21:00:39.715337 IP diskless-1.3297435097 > storage.nfs: 112 getattr fh Unknown/A27801CEDE115FA