zpool degraded – one drive missing from system

I rebooted knew yesterday for upgrades. When it came back, the main storage zpool was degraded: Is the drive alive? The drive is not listed at all in /var/run/dmesg.boot. I keep a list of the expected drives in /etc/periodic.conf, for use by a Nagios check: [dan@knew:~] $ /usr/sbin/sysrc -nf /etc/periodic.conf daily_status_smart_devices /dev/da22 /dev/da21 /dev/da20 /dev/da19 /dev/da18 /dev/da17 /dev/da16 /dev/da15 /dev/da14 /dev/da13 /dev/da12 /dev/da11 /dev/da10 /dev/da9 /dev/da8 /dev/da7 /dev/da6 /dev/da5 /dev/da4 /dev/da3 /dev/da2 /dev/da1 […]

zpool degraded – one drive missing from system Read More »

Creating a drive-bay map

When the time comes to replace a drive, it is very nice to know which drives is missing. I created this drive map to help me figure out which drive disappeared. I created this drive-bay map using a combination of: zpool status sesutil map lsblk camcontrol /var/run/dmesg.boot I have not included /var/run/dmesg.boot here. If you click on this image, you’ll see a larger version which is easier to read. I went through sesutil

Creating a drive-bay map Read More »

slocum

This post has been replaced by a new one. For reference, the previous post on this server is still available. FYI, this server is named after Joshua Slocum, who was the first person to sail single-handedly around the world. This server was upgraded on Feb 2 2019. Only the storage persisted. Everything else was upgraded. The hardware M/B – Supermicro X9DRE-TF+ RAM – 128GB composed of 8x 16GB DDR3 1600Mhz 21300 ECC/REG CPU

slocum Read More »

zfstools & sanoid – snapshots on the local host

I’m going to implement zfstools on all my ZFS-based hosts today. I first started using this tool in July 2019. In this post: FreeBSD 12.0 and 12.1 zfstools 0.3.6_1 sanoid-2.0.1_2 Local snapshots only I will be using zfstool only for creating local snapshots. If I wanted snapshots for sending to other hosts, I would probably use a tool such as sysutils/sanoid, which is policy-driven solution for snapshot management and replication. For now, there

zfstools & sanoid – snapshots on the local host Read More »

SATA: Avoid molded ATA adapters, instead, use crimped-on connectors

When I set up the R720 with internal SSDs, I used a SATA power splitter, a Y-shaped cable. Today I replaced it because of a known fire-hazard. I received an email from a reader urging me to replace it and supplied a reference to a known good cable. I happened to have that very cable. It turned out, I needed, and had, two of them. In general, you want to avoid molded SATA

SATA: Avoid molded ATA adapters, instead, use crimped-on connectors Read More »

r720

This host has been retired. The services were distributed amongst r730-01 and r730-03. This host was often referred to as r720 or r720-01 (after r720-02 appeared on the scene) This replaces a previous post. I’ve been given a Dell PowerEdge 720. It contains: 6 x 400GB SAS SSDs – data01 zpool 2 x 100GB SAS SSDs – unused – I think this is da0 and da1 2 x 80GB SATA SSDs – zroot

r720 Read More »

Migrating a Dell TL4000 to a new FreeBSD server and attaching it to a jail

I recently migrated a bunch of jails from one server to another. Today I attached the Dell TL4000 tape library. A jail on this server copied Bacula backups from disk to tape. In this post: FreeBSD 12.0 Bacula 9.4.3 Dell R720 Investigation As anticipated, I needed to update the server configuration to cope with changed device numbers. The symptoms: when running the update slots command from within bconsole, I was getting this response.

Migrating a Dell TL4000 to a new FreeBSD server and attaching it to a jail Read More »

Oct 4 09:01:24 slocum kernel: pid 1409 (check_bacula), uid 181: exited on signal 11

I’ve been getting these messages in /var/log/messages on slocum for as long as I can remember. Today I found out why those errors are occurring. They are logged on the FreeBSD jail host for a Nagios instance I run. Nagios runs in a jail on that host. I’ve just been ignoring the messages, but today it got me. I was having trouble getting a new FreeBSD port to work, so I was easily

Oct 4 09:01:24 slocum kernel: pid 1409 (check_bacula), uid 181: exited on signal 11 Read More »

How allow.mount.zfs affects mountpoints for ZFS

I noticed this the other day, and thought it was interesting. When the jailed property is set on a ZFS fileset, it affects the mountpoint within the jail. If your jail uses allow.mount.zfs (known as allow_mount_zfs when using iocage), the mountpoints become relative to the jail. For example, in my poudriere jail, this is what I see the main dataset: [dan@pkg01:~] $ zfs list tank_fast/poudriere NAME USED AVAIL REFER MOUNTPOINT tank_fast/poudriere 51.1G 452G

How allow.mount.zfs affects mountpoints for ZFS Read More »

CAM status: CCB request completed with an error

Well, this isn’t very nice. Oct 26 20:18:23 r720-01 kernel: mps0: Controller reported scsi ioc terminated tgt 20 SMID 334 loginfo 31120303 Oct 26 20:18:23 r720-01 kernel: mps0: Controller reported scsi ioc terminated tgt 20 SMID 394 loginfo 31120303 Oct 26 20:18:23 r720-01 kernel: mps0: Controller reported scsi ioc terminated tgt 20 SMID 259 loginfo 31120303 Oct 26 20:18:23 r720-01 kernel: (da11:mps0:0:20:0): WRITE(10). CDB: 2a 00 0c 13 ec 68 00 00 08

CAM status: CCB request completed with an error Read More »

Scroll to Top