Playing around with a ‘failing’ drive

In zpool replace, you can read about a drive which was giving errors and which I replaced. At present, that drive is [still] giving these errors, but it not part of any spool. [17:38 r730-03 dvl ~] % tail /var/log/messages Dec 25 14:52:17 r730-03 smartd[15472]: Device: /dev/da6 [SAT], 18 Currently unreadable (pending) sectors Dec 25 14:52:17 r730-03 smartd[15472]: Device: /dev/da6 [SAT], 18 Offline uncorrectable sectors Dec 25 15:22:17 r730-03 smartd[15472]: Device: /dev/da6 [SAT], […]

Playing around with a ‘failing’ drive Read More »

Converting a subversion repo to git

This is not finished. It has been posted for review. When this paragraph is gone, the post is finished. I’ve wanted to convert my subversion repos to git for years. It’s never been a high priority. But here we go. First, I created a local temporary and insure subversion repo with a copy of my real repo. This allows me to mess up and not affect the real repo. I’m sure nothing I’m

Converting a subversion repo to git Read More »

Setting up a local subversion repository server with nil security

There is much code for FreshPorts which lives in a subversion repository in my basement. I have long wanted to convert that to git and move it to git hub. In this post: FreeBSD 14.1 subversion 1.14.4 Which reminds me: I need to find a tool which backs up Github repos for me. Preferably everything under an organization. Just in case. I will copy the data from my repo to another host and

Setting up a local subversion repository server with nil security Read More »

zpool replace

Yesterday, I added a new drive into the system. Today, I will replace the failing drive with that one. In this post: FreeBSD 14.1 Before [18:23 r730-03 dvl ~] % zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT data01 32.7T 26.0T 6.76T – – 32% 79% 1.00x ONLINE – zroot 412G 18.5G 393G – – 18% 4% 1.00x ONLINE – [18:24 r730-03 dvl ~] % zpool status data01

zpool replace Read More »

Dell R730 – moving disks from front drive bay to PCI slots in r730-03

I’ve been seeing these types of errors for about 4 weeks now. I ordered a replacement drive. When it arrived, I realized I had no free drive bays. When a drive is still functional, I prefer to leave it in the host to retain zpool integrity. Instead, I will add the new drive in, run the zpool replace command, and when completed, remove the faulty drive. I decided to order more Icy Dock

Dell R730 – moving disks from front drive bay to PCI slots in r730-03 Read More »

Eaton 5PX UPS – clear the ‘Replace Battery’ warning

Three weeks ago, I wrote about Replacing batteries Eaton 5PX – 5PX2200RT & 5PXEBM48RT. Back then, I did not properly replace the front panel before connecting the battery… See also Eaton 5PX console booting screen shots for the followup work. Fixing this requires disconnecting the battery from the UPS. I’m not sure if I can do that live, but I’m not going to try. During this procedure, I will also move two drives

Eaton 5PX UPS – clear the ‘Replace Battery’ warning Read More »

kernel: swap_pager: cannot allocate bio

This morning, I saw this in my logs: In this post: FreeBSD 14.1 r730-03 Looking in he logs, there wasn’t much useful: Searching online, I found swap_pager: cannot allocate bio so I decided to limit ARC size. I’ve done this before, and recently too.. Here is what I added to /boot/loader.conf: I just picked the same value I was using for another host. The values in the file can using units, such as

kernel: swap_pager: cannot allocate bio Read More »

Replacing batteries Eaton 5PX – 5PX2200RT & 5PXEBM48RT

NOTE: the images in this blog post were broken. As of 2024-12-01 1600 UTC, they are fixed. Sorry about that. Two useful links for future me: https://caniuse.com/?search=HEIC https://urlscan.io/result/31b29ced-bf41-415c-994e-df6ec532cb29/ The time arrived this morning. The batteries were charged up. I had most of the day to myself. It was time to replace the batteries. Elapsed time for this process, according to the photos I took, was about 90 minutes. However, looking at snmpd metrics,

Replacing batteries Eaton 5PX – 5PX2200RT & 5PXEBM48RT Read More »

Optimizing UPS power use when the power goes out

This post is mostly for myself. I’m just putting my Sunday morning thoughts down for later review and consideration. When Selecting replacements batteries for my Eaton 5PX UPS (5PX2200RT & 5PXEBM48RT), I began to think about: when the power goes off, why can’t I keep using my laptop? Usually, I still have an Internet connection: the ISP isn’t going offline. Why not turn off the two servers in the basement, and anything else

Optimizing UPS power use when the power goes out Read More »

Selecting replacements batteries for my Eaton 5PX UPS (5PX2200RT & 5PXEBM48RT)

Both nut and Nagios are telling me: replace my batteries. Fair enough. The UPS (5PX2200RT) and the external battery pack (5PXEBM48RT) were installed and configured with nut four years and two months ago. It’s time. Usually, I buy compatible third party batteries. Looking at video and images, I’m seeing these units use batteries in a pre-packaged plastic shell. I posted to the nut users mailing list and received some fantastic replies. The best

Selecting replacements batteries for my Eaton 5PX UPS (5PX2200RT & 5PXEBM48RT) Read More »

Scroll to Top