[Facts] ZFS RAID-Z2 scrubbing speed

posted in: computer | 0

8-core CPU Intel Xeon E5-2665 64 GB DDR3 ECC RAM OS FreeBSD 11.212x hdd’s RAID-Z2 (5400 rpm, SATA-2, consumer-grade) 2x ssd’s L2ARC (SATA-2, consumer-grade) 1x ssd SLOG (SATA-2, consumer-grade) pool specs: 81% full, 40% fragmentationscrub CPU-load: 60..75 % on all … Continued

[Howto] solve freebsd-update invalid signature error

posted in: computer | 0

check, if you have a working /usr/bin/openssl /usr/bin/openssl version file /usr/bin/openssl ldd /usr/bin/openssl   check, if you have a valid signature-file for freebsd-update /var/db/freebsd-update/pub.ssl (you can safely remove it, because a new run of freebsd-update fetches it again)   After … Continued

[Howto] read the search-path for building-tools (cpp, gcc, ld)

posted in: computer | 0

  c-preprocessor (GNU cpp) environment-variable: $CPATH #cpp -v /usr/include   compiler (GNU cc) environment-variable: $CPATH #gcc -E -Wp,-v – /usr/include   linker (GNU ld) environment-variable: $LIBRARY_PATH #ld –verbose | grep -i ‘search_dir’ SEARCH_DIR(“/lib”); SEARCH_DIR(“/usr/lib”); SEARCH_DIR(“/usr/local/lib”)    

[Howto] FreeBSD 11 and postfix 3.2.0 (‘unknown system type’ error)

posted in: computer | 0

make error-message: ATTENTION: ATTENTION: Unknown system type: FreeBSD 11.0-RELEASE-p2 ATTENTION: *** Error code 1   Solution: insert into postfix-3.2.0/makedefs FreeBSD.11*) SYSTYPE=FREEBSD11 : ${CC=cc} : ${SHLIB_SUFFIX=.so} : ${SHLIB_CFLAGS=-fPIC} : ${SHLIB_LD=”${CC} -shared”‘ -Wl,-soname,${LIB}’} : ${SHLIB_RPATH=’-Wl,-rpath,${SHLIB_DIR}’} : ${SHLIB_ENV=”LD_LIBRARY_PATH=`pwd`/lib”} : ${PLUGIN_LD=”${CC} -shared”} ;;   … Continued

[Howto] KERBEROS and PAM

posted in: computer, network | 0

prerequisite: working Kerberos configuration #/etc/krb5.conf (minimal example) [libdefaults] default_realm = <MY-REALM> [realms] <MY-REALM> = { kdc = <IP-adress> admin_server = <IP-adress> }   kerberized login: #/etc/pam.conf (without support for X Desktop Environment) login auth required pam_krb5.so login account required pam_krb5.so … Continued