Search Results for: bacula

Making room to creating a raidz2 from 8x 4TB devices – here. we. go.

It’s time. Time to create the 8x 4T raidz2 zpool. That doesn’t happen in this post, hopefully the next one. But first, I have to move some stuff around, to free up all the 4TB devices. The host has 4 devices (NVMe) and I moved in two more, 4TB SSDs. From /var/log/messages: Dec 9 00:24:29 r730-01 kernel: mrsas0: System PD created target ID: 0xc Dec 9 00:24:29 r730-01 kernel: mrsas0: System PD created […]

Making room to creating a raidz2 from 8x 4TB devices – here. we. go. Read More »

PostgreSQL: MD5 password support is deprecated – updating the user passwords

Eight years ago, PostgreSQL introduced scram-sha-256 hashes for passwords. Eleven months ago, MD5 was deprecated. Yesterday, I got caught up with all this. Some of this post will deal with how I fixed it, but mostly it is documenting (for myself) what I did. The fix covers several services and takes place over multiple days. First, some background on why this change has come into focus for me. I have a FreeBSD jail

PostgreSQL: MD5 password support is deprecated – updating the user passwords Read More »

What will I do with those 2 x 1TB drives?

During zfs: setting compression and adding new vdevs I replace 2x 1TB drives with 2x 4TB drives. This afternoon as I was taking laundry down to the basement, I realized: I have two unused drives in the host. Either I remove them or I repurpose them. I know I have 4x 1TB drives (two SSDs and two NVMe). I could make a 2TB mirror out of them. Where can I use them? r730-03

What will I do with those 2 x 1TB drives? Read More »

zfs: setting compression and adding new vdevs

If you read my recent posts, I’m replacing an existing zpool with new devices. At first, I went to copy the old zpool to a new zpool. I then decided instead of copying, to replace. I’m also going to see about compression. I’m sure it won’t take effect, because replace is a block-by-block copy, or so I think. We’ll confirm. Before Here is the zpool, really, just the top-level filesystem. Notice how compression

zfs: setting compression and adding new vdevs Read More »

Moving a zpool to new devices – after the syncoid copy – oh wait, zfs replace

This morning, as I was typing the subject of this blog post, I realized I don’t have to do this copying. The new devices are staying in this host. It is better for me to add the new devices to the zpool and remove the old devices. That is so much easier. The existing zpool can stay in use and there is no interruption in service. NOTE: after publishing this entry, I realized

Moving a zpool to new devices – after the syncoid copy – oh wait, zfs replace Read More »

Running short on space on the FreshPorts development zpool

It’s been some time since I asked for public donations for hardware. In this case, I’m asking for donations to buy two more storage devices to expand this zpool: [18:08 r730-01 dvl ~] % zpool list data02 NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT data02 1.73T 1.39T 351G – – 66% 80% 1.00x ONLINE – Most of the space is used for FreshPorts, however it is not for the

Running short on space on the FreshPorts development zpool Read More »

Swapping zpools – moving from using main_tank to using data

As mentioned in Doing a bit of stress work on a new HDD, I have a failing 5TB drive which is going to be replace by a 4TB drive. Only about 1.45TB are used, so there’s plenty of space to grow. If you get one thing from this post, don’t be downsizing zpools like this. I would have had much less work and opportunity for error, if I had returned that 4TB drive

Swapping zpools – moving from using main_tank to using data Read More »

Doing a bit of stress work on a new HDD

As foreshadowed in x8dtu – drive problems, I will be visiting a data center soon to replace a 4TB HDD. The replacement HDD arrived last night. It was unceremoniously tossed onto the front porch by the courier. However, it was properly packaged. I’m sure it’s fine. The original idea: put this drive into a host, and write some data to it, to exercise it a bit. As you will soon learn, that is

Doing a bit of stress work on a new HDD Read More »

Using ~/.ssh/authorized keys to decide what the incoming connection can do

~/.ssh/authorized_keys allows you to specify the command run by the incoming ssh connection. In this post: FreeBSD 14.2 I was searching for a previous blog post to give you some background. I failed. I backup my Bacula database and my Bacula configuration via rsync. These backups go to more than one host. The following are lines from ~rsyncer/.ssh/authorized-keys on my dbclone host – which gathers database backups from various hosts. The above appears

Using ~/.ssh/authorized keys to decide what the incoming connection can do Read More »

Scroll to Top