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 »

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 »

Moving poudriere from the host into a jail

This post is all about moving poudriere from the host into a jail, but you could probably use it for creating a new jail and running poudriere in it. NOTE: If you’re looking for a jail configuration for poudriere, please refer to Configuration for running poudriere in a jail on FreeBSD 14 – it contains new stuff, like mlock (thanks to feld for pointing this out). This also assumes use of iocage, but

Moving poudriere from the host into a jail Read More »

My plan for moving the R710 into the R720

Today the drive caddies arrived for the R720. I refer to the services provided by the R710, not the server itself. I will list those services later and outline how I want to move them. I could do all this over this coming weekend but I have already allocated that time to some errands I have to catch up on. Physical things This section discusses the physical things which must move. Drives There

My plan for moving the R710 into the R720 Read More »

Going from partition to label in zpool status

In my recent post you saw this: [dan@r720-01 ~]$ zpool status zroot pool: zroot state: ONLINE scan: resilvered 818M in 0 days 00:00:09 with 0 errors on Tue Oct 15 21:32:12 2019 config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 ada0p3 ONLINE 0 0 0 gpt/zfs1 ONLINE 0 0 0 errors: No known data errors [dan@r720-01 ~]$ I want to change ada0p3 to gpt/zfs0, as

Going from partition to label in zpool status Read More »

Creating a mirror from your zroot

I planned to create a zroot mirror when I installed FreeBSD on the R720 but the supplier shipped only one of the two purchased SSDs. Today the second drive arrived. Let’s create a zroot mirror. In this post: FreeBSD 12 man 8 zpool Posts I looked at: creating a mirrored ZFS Pool out of a single-disk rpool – not FreeBSD Convert Single disk ZFS-On-Root to Mirror – used the GUID via zbd; I

Creating a mirror from your zroot Read More »

Scroll to Top