Author name: Dan Langille

Getting acme.sh to renew certs via cronjob on FreeBSD

In the past, I’ve written about using acme.sh to automatically generate SSL certificates and distribute them to the required locations. I do this in a single central location, and the websites and mail servers grab their new certs from a webserver. At the time of writing, I was using FreeBSD 11.1 and acme.sh 2.7.4, supplied […]

Getting acme.sh to renew certs via cronjob on FreeBSD Read More »

FreeBSD – what processes in what jails are using swap?

Sometimes stuff gets swapped out. When it does, it’s good to know what is swapped. I was getting this Nagios alert this morning. I started searching. I found this post about showing what is using swap via: [dan@knew:~] $ ps ax | awk ‘NR==1{print};$3 ~ /W/’ PID TT STAT TIME COMMAND 12 – WL 54:27.37

FreeBSD – what processes in what jails are using swap? Read More »

Replaced a drive? What about that gmirror swap?

I just swapped out a drive which was involved in a gmirror swap. This is the current status: $ gmirror status Name Status Components mirror/swap DEGRADED da0p2 (ACTIVE) da2p2 (ACTIVE) da3p2 (ACTIVE) da4p2 (ACTIVE) da5p2 (ACTIVE) da9p2 (ACTIVE) da10p2 (ACTIVE) Here is how I can fix that: sudo gmirror forget swap The above tells gmirror

Replaced a drive? What about that gmirror swap? Read More »

After replacing 3TB drive with 5TB drive, FreeBSD 10.3 system did not reboot

I started replacing 3TB drives with 5TB drives in a 10 drive raidz3 array on a FreeBSD 10.3 box. I was not sure which drive tray to pull, so I powered off the server, and, one by one, pulled the drive tray, photographed it, and reinserted the drive tray. No changes were made. The first

After replacing 3TB drive with 5TB drive, FreeBSD 10.3 system did not reboot Read More »

Scroll to Top