FreeBSD

system freezes up with lots of sonewconn Listen queue overflow

I recently added 10 new HDD to a system which already had 10 HDD (now a total of 20). The HDD are split into two zpools: $ zpool list NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT system 27T 22.1T 4.93T – 19% 81% 1.00x ONLINE – tank_data 45.2T 26.3T 19.0T – 37% 58% 1.00x ONLINE – zoomzoom 436G 9.67G 426G – 6% 2% 1.00x ONLINE – The zoomzoom zpool is […]

system freezes up with lots of sonewconn Listen queue overflow Read More »

Flashing an LSI SAS 9201-16i

WARNING: This did not work. It succeeded, without error, but the card did not work. There will be a new blog post soon. Yesterday, a new LSI SAS 9201-16i arrived. I bought it on eBay from a supplier in China and paid for expedited shipping. I offered US$250 for their $338 listing and it was accepted. Shipping was another $30. It arrived 6 days later. Why do I need one? The system in

Flashing an LSI SAS 9201-16i Read More »

leapsecond file (‘/var/db/ntpd.leap-seconds.list’): expired less than N days ago

After upgrading all my servers to FreeBSD 10.3 last weekend, I started to see these messages in the logs: Aug 3 21:15:19 slocum ntpd[29456]: leapsecond file (‘/var/db/ntpd.leap-seconds.list’): expired less than 64 days ago I found this post which suggested running service ntpd fetch but that did not fix it. While debugging the issue, I added ntp_leapfile_fetch_verbose=”YES” to /etc/rc.conf, which provides more output to the fetch command: $ sudo service ntpd fetch ntp_src_leapfile version

leapsecond file (‘/var/db/ntpd.leap-seconds.list’): expired less than N days ago Read More »

Adding SLOG to a zpool

I have recently added two 480 GB SSDs to a 10 x HDD raidz2 system. The SSDs will be mainly used for spooling to tape during backups, but I’m going to use a small part of it for a SLOG. Not all systems benefits from a SLOG (Separate intent LOG), but synchronous writes, such as databases, do. All ZFS systems have a ZIL (ZFS Intent Log); it is usually part of the zpool.

Adding SLOG to a zpool Read More »

Importing a zpool and renaming it

Last night, I moved a SAS card and had to renumber some devices. I also moved two SSDs into the same box (see photos). Those SSDs were the boot drives from the system from which I pulled the SAS drive. That box, tape01, contains the Bacula configuration file I need for this new box. I know, I know. Why not use Bacula to restore that file. That would be too easy. I want

Importing a zpool and renaming it Read More »

Adding in a SAS card renumbered my devices

Last night, I added a SAS card into a box which is connected to a tape library (photos here). After starting up the box, Nagios reported that the tape device was no longer present. I first added such checks back in 2012 and updated them for more recent acquisitions. This means that the copy-to-tape jobs did not run last night, because there was no sa0, instead, there was an sa1, which was not

Adding in a SAS card renumbered my devices Read More »

Adding a failed HDD back into a ZFS mirror

I do have a FreeBSD-11 box, cuppy: $ uname -a FreeBSD cuppy.int.unixathome.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r279394: Sat Feb 28 21:01:21 UTC 2015 dan@cuppy.unixathome.org:/usr/obj/usr/src/sys/GENERIC amd64 $ That box is used mostly for testing and/or erasing DLT tapes. The current status of that box is not healthy. It’s running fine, but it is not optimal: Let’s fix this. Background Why is one drive upset? Because I installed FreeBSD onto it. Why? I don’t know,

Adding a failed HDD back into a ZFS mirror Read More »

Added new drive when existing one gave errors, then zpool replace

In this post, I am working with FreeBSD 10.2 on this server. Over the past few days, a 3 year old drive has been giving errors. The number of errors has been constant, but I have a spare drive here, so I decided to replace it. I have verified that it is out of warranty. Rather than pull the error drive and replace it, I opted to add in a new drive and

Added new drive when existing one gave errors, then zpool replace Read More »

Scroll to Top