Disks

replacing an existing zroot with a proper zroot

I wrote this post late one night while pondering how to solve this problem. I may have solved it with much less effort. I want to copy a zroot from old drives to new drives. The new drives are in a test box of mine. Once the new drives are configured, I will replace the existing mirror with them. Not shown here, I have already installed FreeBSD 12.1 on the new drives. I […]

replacing an existing zroot with a proper zroot Read More »

knew

This post has been replaced by a newer post. For future reference, this is the knew server … oh wait, I think it’s this server which is was mounted in the 4U chassis mentioned in this post. It runs a few jails, including Bacula regression testing services. It is now mounted in a SuperChassis 846E16-R1200B This is the previous post for this system configuration. Photos of the assembly. File systems Paritions zpools Those

knew Read More »

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 »

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 »

Migrating all your iocage jails to a new host

In this post, I’m not exporting an iocage jail to another host. I am moving the entire iocage instance to another host. This is accomplished by doing a zfs export on the zpool, moving the drives to a new system, and doing a zfs import. The drive migration is covered in a previous post. In this post: FreeBSD iocage old host: R710 – r710-01 new host: R720 – r720-01 The first power The

Migrating all your iocage jails to a new host Read More »

Migrating drives and the zpool from one host to another.

Today is the day. Today I move a zpool from an R710 into an R720. The goal: all services on that zpool start running on the new host. Fortunately, that zpool is dedicated to jails, more or less. I have done some planning about this, including moving a poudriere on the R710 into a jail. Now it is almost noon on Saturday, I am sitting in the basement (just outside the server room),

Migrating drives and the zpool from one host to another. Read More »

Installing internal PCI Slot SSD drive enclosures in a Dell R720

I like to build systems that boot using drives directly connected to the M/B. No HBA, no SATA cards, etc. I like the simplicity involved. Sometimes that target is hard to achieve. The first step to configuring the R720 was upgrading the firmware. I spent time on hardware selection, including power and data sources. I also spent time looking at NVMe booting, but abandoned that idea. Earlier this week, enough hardware had arrived

Installing internal PCI Slot SSD drive enclosures in a Dell R720 Read More »

Replacing both drives in a zpool mirror

As previously mentioned, zuul has new drives. It is now time to replace the existing drives with the new drives. I will do this one at a time. Replace. Wait for resilver. At no time will the mirror be degraded (as would be the case if we removed a drive and mirrored). In this approach, we will mirror one of the drives to a new drive, and zfs will automatically remove the old

Replacing both drives in a zpool mirror Read More »

new drives for zuul

I have two new drives for zuul. I’ll start adding them into the zpool soon. For now, here is the smarctl output for the new drives. I’ll start some tests on them soon. By new, I mean new to this host. The drives have 17,000 hours on them. [dan@zuul:~] $ sudo smartctl -a /dev/ada2 smartctl 7.0 2018-12-30 r4883 [FreeBSD 12.0-RELEASE-p7 amd64] (local build) Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org === START

new drives for zuul Read More »

Scroll to Top