Search results

  1. H

    Passing CMake options

    Alright, thanks! Good idea to look in the port Makefile!
  2. H

    Passing CMake options

    Hi there, I want to pass the following option to the mysql56-server port: https://dev.mysql.com/doc/refman/5.6/en/source-configuration-options.html#option_cmake_default_charset . But I can't figure out how to pass it. I want to compile it with -DDEFAULT_CHARSET=utf8. I've already tried cd...
  3. H

    Is ZFS able to detect hotswap?

    usdmatt, are you saying that you see the same behaviour? I.e. a removed drive does not put your zpool in DEGRADED/FAULTED state? (because that is the issue Henu is seeing right?) I don't quite understand what your other points are, but let me just add this: when I add/replace a drive, I...
  4. H

    RootOnZFS performance

    Huh, I am surprised to hear this. I was under the assumption that the disk write cache would be disabled in this situation. So, being a bit skeptic (I always am, don't take it personally Phoenix ;) ) I went out to Google and the only thing I could find in reference to this was this page...
  5. H

    Is ZFS able to detect hotswap?

    Are the disks connected directly or is there a RAID card in between? Because, maybe, the RAID card could be faking that the disk is still connected and take up any writes in its NVRAM buffer. As some fancy 'you can only do this with HW RAID' feature... It's a long shot, but you never know...
  6. H

    Very slow dump | restore

    I could actually use growfs, since I'm doing this in a VMWare VM. But it seemed very finicky and very tricky... (see these links: http://bsdbased.com/2009/11/30/grow-freebsd-ufs-filesystem-on-vmware-hdds , http://forums.freebsd.org/showthread.php?t=526 ) Especially since I don't have console...
  7. H

    Very slow dump | restore

    (I know I'm reviving an old thread here, but starting a new one for this small addition seemed worse) I would like to add that I have just successfully moved a /usr filesystem to a new, bigger one on another disk using the dump/restore method described above (I wanted to use dump/restore...
  8. H

    NAS using ZFS with FreeBSD, run by a Solaris SysAdmin

    After reading this I still didn't quite understand it, so I went out to investivigate! The key to this is that ZFS uses variable block sizes! Hence where the 'minimum block size' comes in to play and why it's so important. Btw: the 'recordsize' setting on ZFS filesystems refers to the maximum...
  9. H

    NAS using ZFS with FreeBSD, run by a Solaris SysAdmin

    Hmm, then I'm not understanding the difference between the 'ashift=12' that ZFS does when it detects a 4k drive (either because it really is one and advertises as one, or because we force it too using gnop) and just offsetting your partition 1MB (which is a multiple of 512 and 4k, so it should...
  10. H

    NAS using ZFS with FreeBSD, run by a Solaris SysAdmin

    Ok, so who is right? A year ago everyone said 'use whole disks' and I would have agreed. But now I'm not so sure anymore. Partitioning/labeling avoids problems with slightly smaller replacements drives, helps identify drives in the array and - if I'm not mistaken - partitioning with a 1MB...
  11. H

    Does Anyone Use Java in Production?

    We have been using Java in production successfully for a couple of years now. Running our app on Resin application server (the one installed from ports, we are a non-commercial organization). We run Resin on the Diable JDK though, not the 'official' Java JDK from the java/jdk16 port. I'm now in...
  12. H

    FreeBSD 9 OpenSSH HPN status

    Thank you Phoenix! Though I'm hoping the patches will give me enough performance boost without the NONE cipher :)
  13. H

    FreeBSD 9 OpenSSH HPN status

    Hi there, I read here that FreeBSD 9 will have OpenSSH with HPN patches in the base system. The official(?) FreeBSD 9 TODO list seems to confirm that. My questions: does the OpenSSH client/server in the FreeBSD 9 RC's actually come with HPN patches? If so: does anyone see any performance...
  14. H

    jexec_all, a wrapper around FreeBSD jexec utility

    Hello everyone, A while ago I made a very simple wrapper script around jexec to easily execute a command in all running jails. I've now put it up on Github, in the hope that it is of any use for the greater FreeBSD community. And in the hope that it might get improved upon (there are some...
  15. H

    Solution for lack of TTY (giving SSH problems) when using je

    SirDice, you either have screen compiled with some options I don't know about or you have a very special jail setup or some custom kernel options (I'm running GENERIC) or you are doing something different from what I'm doing. Because I just can't get screen to work after jexec'ing into jail...
  16. H

    Solution for lack of TTY (giving SSH problems) when using je

    So do you have any theory then why screen is working for you and not for me?
  17. H

    Solution for lack of TTY (giving SSH problems) when using je

    Hmm... maybe we are on to something... Can you do a ls or tree of your /dev dir in the jail? Here is mine (default ezjail jail): @jail# tree /dev /dev |-- fd | |-- 0 | |-- 1 | `-- 2 |-- log -> ../var/run/log |-- null |-- ptmx |-- pts |-- random |-- stderr -> fd/2 |-- stdin -> fd/0...
  18. H

    Solution for lack of TTY (giving SSH problems) when using je

    I tested this on a jail where sshd was running. The jail most certainly has host keys. The host keys don't enter into it, it's the lack of a TTY that makes it fail. It probably works for you because you have PKI auth set up? See if you can run screen when you jexec into your jail. You will see...
  19. H

    Solution for lack of TTY (giving SSH problems) when using je

    I almost had an even bigger WOW moment, but just like killasmurf86 it doesn't seem to work for me: # jexec 8 /usr/bin/su - # ssh user@host Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,password).
  20. H

    Solution for lack of TTY (giving SSH problems) when using je

    Hi there! You know the problem when you want the ssh from within a jail after you jexec'ed into it? I mean this: @host# jexec <jid> <shell> @jail# ssh user@host Host key verification failed. or this: @host# jexec <jid> <shell> @jail# ssh user@host Permission denied, please try again...
Back
Top