Re: What should do in chrooted environment?

2018-04-24 Thread krad
wouldn't it just be easier to do this in a jail, and then all of these little bits would be taken care of? On 24 April 2018 at 01:48, O'Connor, Daniel wrote: > > > > On 24 Apr 2018, at 08:14, Glen Barber wrote: > > I think you might not have the devfs mount in the image. With the paths > > pro

Re: Ancient FreeBSD update path

2018-01-21 Thread krad
Back everything up. Forget about upgrading you are making your life harder. Do a ZFS install with BE's then port your apps. It will be quicker less prone to errors and you will end up with a better system in the end. If the system is a bit of a rats nest, then this would be the ideal time to docume

Re: GPT partition gets erased on boot

2017-11-13 Thread krad
I have a vague memory of these controllers doing something odd with the end of the volume but can't remember where or when, but I know I would generally avoid them. It looks like you are using them in jbod mode, but if you aren't do so. If you can reflash them to hba mode even better. If you are st

Re: my build time impact of clang 5.0

2017-10-04 Thread krad
have you tried meta builds and pkgbase? On 3 October 2017 at 16:38, Dan Mack wrote: > Jakub Lach writes: > > > On the other hand, I'm having tremendous increases in Unixbench scores > > comparing to > > 11-STABLE in the April (same machine, clang 4 then, clang 5 now) (about > > 40%). > > > > I

Re: Mirror the freebsd-update server?

2017-09-18 Thread krad
Have a look at pkgbase, Im not sure of the current status, but its worth being aware, and it works quite well with my setup. Caution will be needed though as its new. On 13 September 2017 at 01:03, Rainer Duffner wrote: > > > Am 13.09.2017 um 00:09 schrieb Jason Tubnor : > > > > I found this use

Re: Boot partition size

2017-02-01 Thread krad
but I doubt we will see a 100x increase. > > > > /A > > > > On Tue, Jan 31, 2017 at 1:03 PM, krad wrote: > > > >> Its worth noting you should also go for GPT layout and have a 100meg or > so > >> partition provisioned as well so you can do a ue

Re: Boot partition size

2017-01-31 Thread krad
Its worth noting you should also go for GPT layout and have a 100meg or so partition provisioned as well so you can do a uefi boot. Even if you arent going to use it right now. On 30 January 2017 at 03:41, Aristedes Maniatis wrote: > On 30/1/17 2:20pm, Freddie Cash wrote: > > And, you may be ab

Re: Building Kernel and World with -j

2017-01-26 Thread krad
I use these options in my src.conf WITH_FAST_DEPEND=yes WITH_CCACHE_BUILD=yes I can often get build times of about 9 min but can got upto about 30 mins in jenkins depending on how much has changed. This is on a i5-3570K. It does have 32GB and ssd l2arc. Those times are for a buildworld, buildker

Re: I'm upset about FreeBSD

2016-10-18 Thread krad
NOTE: you can only boot from gpt layout in uefi mode in windows On 17 October 2016 at 17:52, Yamagi Burmeister wrote: > On Mon, 17 Oct 2016 03:44:14 +0300 > Rostislav Krasny wrote: > > > First of all I faced an old problem that I reported here a year ago: > > http://comments.gmane.org/gmane.os.

Re: I'm upset about FreeBSD

2016-10-17 Thread krad
Does this just affect MBR layouts? If possible you might want to consider UEFI booting for both windows and other os's, It's probably safer as you dont need to plays with partitions and bootloaders. On 17 October 2016 at 13:11, Rostislav Krasny wrote: > On 17.10.2016 11:57:16 +0500, Eugene M. Zh

Re: sed command does not behave equal from 10.3 to 11.0

2016-07-27 Thread krad
are you sure you aren't hitting a port or something? # uname -r ; echo "abc_ABC.def" | sed -e 's/[^A-Z0-9]//g' ; which sed ; md5 /usr/bin/sed 10.3-STABLE ABC /usr/bin/sed MD5 (/usr/bin/sed) = 34e6aedf3b42cbd6dd8379342626e0db # uname -r ; echo "abc_ABC.def" | sed -e 's/[^A-Z0-9]//g' ; which sed

Upgrading 10.3 -> 11

2016-07-22 Thread krad
Hi, as 11 is getting closeish to release is there anything special we need to do in order to upgrade from 10 -> 11. I usually use the makeworld method, but I heard that in 11 the base os would be packaged in a different way using pkgng. I cant find any hard information on this though, so currently

Re: unbound and ntp issuse

2016-06-10 Thread krad
Olhovchenkov wrote: > On Thu, Jun 09, 2016 at 02:29:09PM +0100, krad wrote: > > > I doubt that will happen as you are asking to pollute every release > > installation for an edge condition when there is numerous work arounds > > that would be acceptable to most. eg two l

Re: unbound and ntp issuse

2016-06-09 Thread krad
016 at 08:39:42AM +0100, krad wrote: > > > googles will be pretty static, but i would just use them as a one off, ie > > with ntpdate > > i am talk about freebsd system/project. > > > > > On 8 June 2016 at 10:48, Slawa Olhovchenkov wrote: > > > > >

Re: unbound and ntp issuse

2016-06-09 Thread krad
googles will be pretty static, but i would just use them as a one off, ie with ntpdate On 8 June 2016 at 10:48, Slawa Olhovchenkov wrote: > On Wed, Jun 08, 2016 at 02:29:29AM +0200, Dag-Erling Smørgrav wrote: > > > Slawa Olhovchenkov writes: > > > IMHO, ntp.conf need to include some numeric IP

Re: unbound and ntp issuse

2016-06-07 Thread krad
running this at boot time may help as well unbound-control set_option val-permissive-mode: yes then after ntpd has started up run this unbound-control set_option val-permissive-mode: no Yes work around's, but work around's work by definition. On 7 June 2016 at 15:00, krad wrote:

Re: unbound and ntp issuse

2016-06-07 Thread krad
it's a non solvable problem though as its a deadlock. You have to remove one of the criteria in order to fix the issue automatically. On 7 June 2016 at 14:32, Slawa Olhovchenkov wrote: > On Tue, Jun 07, 2016 at 07:29:32AM -0600, Ian Lepore wrote: > > > On Tue, 2016-06-07 at

Re: unbound and ntp issuse

2016-06-07 Thread krad
whops that should be ntpdate_hosts not servers On 7 June 2016 at 12:09, krad wrote: > something as simple as this thrown in /etc/periodic/daily/ would probably > do it. > > #!/bin/sh > ip=`dig pool.ntp.org +short | head -1' > cp /etc/hosts /etc/hosts.old && &g

Re: unbound and ntp issuse

2016-06-07 Thread krad
enable=yes ntpdate_servers="ntp-server" On 7 June 2016 at 11:43, Slawa Olhovchenkov wrote: > On Tue, Jun 07, 2016 at 11:35:59AM +0100, krad wrote: > > > Like i said you could configure ntpdate as well as ntpd, but give it a > > known good ip. It will only run onc

Re: unbound and ntp issuse

2016-06-07 Thread krad
. On 7 June 2016 at 09:47, Slawa Olhovchenkov wrote: > On Tue, Jun 07, 2016 at 09:00:29AM +0100, krad wrote: > > > Well there is a deadlock situation there so you have to relax one of the > > conditions, for one time at least. > > > > Your best bet is to do a manual

Re: unbound and ntp issuse

2016-06-07 Thread krad
Well there is a deadlock situation there so you have to relax one of the conditions, for one time at least. Your best bet is to do a manual ntpdate against a fixed ip of known goodness. If you have a lot of machines you need to do this on, use ansible or similar to do the heavy lifting for you. An

Re: booting from separate zfs pool

2016-04-28 Thread krad
I think the new pivotroot type stuff in 11 may help a lot with this https://www.freebsd.org/news/status/report-2015-10-2015-12.html#Root-Remount On 28 April 2016 at 10:31, Malcolm Herbert wrote: > On Thu, Apr 28, 2016 at 12:44:28PM +0500, Eugene M. Zheganin wrote: > |So, I'm still struggling

Re: booting from separate zfs pool

2016-04-28 Thread krad
I would not use the root dataset. Create a ROOT/ one so it looks for the kernel in "zboot:/ROOT/fist/boot/kernel/kernel" or similar. This way you are compatible with beadm. On 28 April 2016 at 08:44, Eugene M. Zheganin wrote: > Hi. > > So, I'm still struggling with my problem when I cannot boo

Re: Skylake Loader Performance 10.3-BETA3

2016-03-08 Thread krad
r 8, 2016 at 9:17 AM, krad wrote: > > > Its worth noting you can also select BEs from beastie now as well. > > > > While this is a great feature I still find it strange that I have to > install a 3rd party app (beadm) to get FreeBSD core functionality (BE) . >

Re: Skylake Loader Performance 10.3-BETA3

2016-03-08 Thread krad
Its worth noting you can also select BEs from beastie now as well. On 7 March 2016 at 22:21, Will Green wrote: > On 2016-03-07 17:24, Steven Hartland wrote: > >> On 07/03/2016 16:43, Will Green wrote: >> >>> On 4 Mar 2016, at 18:49, Mark Dixon wrote: Will Green sundivenetworks.com> w

Re: Best practices for ZFS setup for a strictly SSD based system?

2016-02-10 Thread krad
Dont forget alignment and ashift. You may also want to test compression as well. IF you have spare cpu cycles I would imagine the systems cpu will handle it faster than any onboard ssd compression. Benchmarking would be of use here though. On 9 February 2016 at 15:54, Patrick M. Hausen wrote: >

Re: LSI SAS 3108 RAID Controller

2016-02-03 Thread krad
Just a sanity check 1st. Are you going to be using zfs or ufs? If zfs you probably want the reflash the card the the relevant HBA firmware rather the the raid firmware. This will expose the disks nativly which is best for zfs. Sorry if this isn't appropriate for you but I would thought I would c

Re: ZFS - poor performance with "large" directories

2015-11-27 Thread krad
though. On 26 November 2015 at 16:32, Freddie Cash wrote: > On Thu, Nov 26, 2015 at 2:19 AM, krad wrote: > >> true, but in my experience usb pen drives are variable in terms of >> performance across different sticks and different areas of the same stick. >> This can complic

Re: ZFS - poor performance with "large" directories

2015-11-26 Thread krad
haven't been able to sort the down time yet. On 25 November 2015 at 12:16, Gerrit Kühn wrote: > On Wed, 25 Nov 2015 12:06:38 +0000 krad wrote about Re: > ZFS - poor performance with "large" directories: > > K> consumer SSDs are cheap enough now not to bother with u

Re: ZFS - poor performance with "large" directories

2015-11-25 Thread krad
consumer SSDs are cheap enough now not to bother with usb drives I would imagine. On 25 November 2015 at 07:12, Gerrit Kühn wrote: > On Tue, 24 Nov 2015 17:11:54 +0100 Albert Cervin > wrote about Re: ZFS - poor performance with "large" directories: > > AC> Will try a bit with the meta limit. >

Re: ZFS - poor performance with "large" directories

2015-11-24 Thread krad
make sure atime if off for starters on the filesystem On 24 November 2015 at 14:00, Albert Cervin wrote: > Hi all, > > Please feel free to direct me to a list that is more suitable. > > We are trying to set up a fileserver solution for a web application that we > are building. This fileserver is

Re: LSI SAS2008 mps driver preferred firmware version

2015-11-17 Thread krad
I disagree, get the remote hands to copy the serial number to an easily visible location on the drive when its in the enclosure. Then label the drives with the serial number (or a compatible version of it). That way the label is tied to the drive, and you dont have to rely on the remote hands 100%.

Re: ZFS on labelled partitions

2015-11-17 Thread krad
It was a control thing again, if you were using a partition another application could be using the drive on another partition, therefore zfs couldn't guarantee exclusive use of the disk so had to be more careful in the way it operated the drive. I think this meant I went into write through mode lik

Re: ZFS on labelled partitions (was: Re: LSI SAS2008 mps driver preferred firmware version)

2015-11-17 Thread krad
From what i remember its a control thing. If you have another layer below zfs, be it software based or hardware based, zfs cant be sure what is going on, therefore cant guarantee anything. This is quite a big thing when it comes to data integrity which is a big reason to use zfs. I remember having

Re: transparent redirection with pf and squid

2015-10-06 Thread krad
Sorry but it appears I dont have the core so am not able to match it up. Mostly likely another will happen later today though as ive now fixed dumpdev on the box On 5 October 2015 at 08:05, krad wrote: > I will have to have a look when i get home as the box is down at present. > Pr

Re: transparent redirection with pf and squid

2015-10-05 Thread krad
I will have to have a look when i get home as the box is down at present. Probably another panic 8( On 5 October 2015 at 06:26, Konstantin Belousov wrote: > On Sun, Oct 04, 2015 at 07:31:43PM +0100, krad wrote: > > Is anyone else having problems with squid core dumping on Freebsd &g

transparent redirection with pf and squid

2015-10-04 Thread krad
Is anyone else having problems with squid core dumping on Freebsd 10-stable when using the transparent caching feature. It started happening recently after I re enabled ipv6 on my network. It may just be coincidence though. It has even caused the odd kernel panic but not every time. FreeBSD xx 10.

Re: Circular dependency between local_unbound and ntpd?

2015-07-14 Thread krad
As $ grep REQUIRE /etc/rc.d/ntpd # REQUIRE: DAEMON ntpdate FILESYSTEMS devfs You could set something similar to the following in the rc.conf ntpdate_hosts="a.b.c.d w.x.y.z" ntpdate_enable=yes On 14 July 2015 at 14:43, Paul Mather wrote: > I believe I ran afoul of a circular dependency bet

Re: Running a script via PHP

2013-10-08 Thread krad
and just to be safe wrap it all up in a VIMAGE jail On 1 October 2013 14:39, Ronald Klop wrote: > On Fri, 27 Sep 2013 23:50:02 +0200, Charles Swiger > wrote: > > Hi-- >> >> On Sep 27, 2013, at 2:18 AM, Michael BlackHeart >> wrote: >> >>> Hello there, >>> It's quite off-topic, but I'm using f

Re: zfs_enable vs zfs_load in loader.conf (but neither works)

2013-09-09 Thread krad
once you have it all working and understood have a look at the following port ''usr/ports/sysutils/beadm'' It may make things a little easier to manage in the future. In my experience BE's on zfs rock. On 9 September 2013 02:02, J David wrote: > After setting up a new machine to boot from a ZFS

Re: VTNET + pf + TSO performance

2013-08-14 Thread krad
sorry for the late reply, im running virtualbox ontop of solaris 11, i will extract the verbose boot info, and all the version numbers when I get access later today On 11 August 2013 01:16, Bryan Venteicher wrote: > > > - Original Message - > > Hi > > > > Was there any progress on the th

VTNET + pf + TSO performance

2013-08-10 Thread krad
Hi Was there any progress on the thread below? I have a freebsd guest ontop of solaris 11 exhibiting this problem. I'm on a pretty upto date stable kernel. The TSO fix works fine but i guess im taking a performance hit with it disabled FreeBSD carrera.snaffler.net 9.2-PRERELEASE FreeBSD 9.2-PRER

Re: immense delayed write to file system (ZFS and UFS2), performance issues

2010-01-19 Thread krad
2010/1/18 Morgan Wesström > O. Hartmann wrote: > > I realise a strange behaviour of several FreeBSD 8.0-STABLE/amd64 boxes. > > All boxes have the most recent STABLE. One box is a UP system, two > > others SMP boxes, one with a Q6600 4-core, another XEON with 2x 4-cores > > (Dell Poweredge III).