This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Will this work with disk-based devices which use partitions? | |
| # Instead of /tmp/0.raw, using /dev/adap3? | |
| # create some 500M devices: | |
| root@r730-04:/tmp # for i in $(seq 10 13) ; do truncate -s 500M $i.raw ; done | |
| # and some 1G devices: | |
| root@r730-04:/tmp # for i in $(seq 0 3) ; do truncate -s 1G $i.raw ; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [13:08 besser dvl ~] % sudo su -fm www | |
| [%F{cyan}%B%T%b%f %F{magenta}%m%b%f %F{green}%B%n%b%f %F{magenta}%B%~%b%f] %#%b%f lnms migrate | |
| APPLICATION IN PRODUCTION. | |
| ┌ Are you sure you want to run this command? ──────────────────┐ | |
| │ Yes │ | |
| └──────────────────────────────────────────────────────────────┘ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # after reviewing /etc/defaults/periodic.conf I have decided | |
| # to disable these items in jails | |
| daily_status_disks_enable="NO" | |
| daily_status_network_enable="NO" | |
| daily_status_uptime_enable="NO" | |
| # not needed on jails | |
| daily_ntpd_leapfile_enable="NO" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Based on http://www.aisecure.net/2012/01/16/rootzfs/ and | |
| # @vermaden's guide on the forums | |
| # set your disks here | |
| DISKS="ada0 ada1" | |
| # where will we fetch the install from? | |
| FTPURL="ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/10.1-RELEASE" | |
| # the hostname this computer will have: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [20:28 r730-01 dvl ~] % iperf3 -s | |
| ----------------------------------------------------------- | |
| Server listening on 5201 (test #1) | |
| ----------------------------------------------------------- | |
| Accepted connection from 10.8.1.180, port 64077 | |
| [ 5] local 10.55.0.141 port 5201 connected to 10.8.1.180 port 64078 | |
| [ ID] Interval Transfer Bitrate | |
| [ 5] 0.00-1.06 sec 23.4 MBytes 185 Mbits/sec | |
| [ 5] 1.06-2.06 sec 22.4 MBytes 188 Mbits/sec | |
| [ 5] 2.06-3.01 sec 21.4 MBytes 188 Mbits/sec |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| A usual boot: | |
| Extreme Networks | |
| Running Power On Self Test ...Passed | |
| * Summit X * | |
| Version 1.0.5.6 Branch trunk by release-manager on Fri 04/17/09 | |
| Copyright 2003-2009, Extreme Networks, Inc. | |
| Single Processor System Initializing... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [16:43 r720-02-ingress01 dvl ~] % cat /jails/freshports/list-old-distfiles.sh | |
| #!/bin/sh | |
| PORTSDIR=/usr/ports | |
| cut -d \| -f 2 ${PORTSDIR}/INDEX* | while read d; do cd $d && make -V ALLFILES | tr " " "\n" | grep -v '^$' || : ; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| For more up to date information, see https://dan.langille.org/2023/08/16/configuration-of-net-mgmt-net-snmpd-on-freebsd/ | |
| Do this on the snmpd client: | |
| service snmpd stop | |
| net-snmp-config --create-snmpv3-user -ro -A 'AuthPass' -X 'PrivPass' -a SHA -x AES MyRoGroup | |
| chmod go-rwx /var/net-snmp/snmpd.conf /usr/local/share/snmp/snmpd.conf | |
| verify MyRoGroup is in /usr/local/share/snmp/snmpd.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| freshports.dev=# select * from package_flavors where port_id = 6458 order by flavor_id; | |
| id | port_id | flavor_id | name | flavor_number | |
| -----+---------+-----------+--------------------+--------------- | |
| 436 | 6458 | 43 | bbdb-emacs26 | 0 | |
| 671 | 6458 | 43 | bbdb-emacs26 | 0 | |
| 901 | 6458 | 43 | bbdb-emacs26 | 0 | |
| 977 | 6458 | 43 | bbdb-emacs26 | 0 | |
| 437 | 6458 | 44 | bbdb-emacs26_canna | 1 | |
| 978 | 6458 | 44 | bbdb-emacs26_canna | 1 | |
| 672 | 6458 | 44 | bbdb-emacs26_canna | 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Jul 7 18:16:59 slocum kernel: mps0: SAS Address for SATA device = 452e361796809487 | |
| Jul 7 18:16:59 slocum kernel: mps0: SAS Address from SATA device = 452e361796809487 | |
| Jul 7 18:16:59 slocum kernel: (da7:mps0:0:26:0): UNMAPPED | |
| Jul 7 18:16:59 slocum kernel: da7 at mps0 bus 0 scbus0 target 26 lun 0 | |
| Jul 7 18:16:59 slocum kernel: da7: <ATA TOSHIBA HDWE150 FP2A> Fixed Direct Access SPC-4 SCSI device | |
| Jul 7 18:16:59 slocum kernel: da7: Serial Number 4725K6DVF57D | |
| Jul 7 18:16:59 slocum kernel: da7: 600.000MB/s transfers | |
| Jul 7 18:16:59 slocum kernel: da7: Command Queueing enabled | |
| Jul 7 18:16:59 slocum kernel: da7: 4769307MB (9767541168 512 byte sectors) |
NewerOlder