knew
For future reference, this is the knew server. It runs a few jails, including Bacula regression testing services. File systems Paritions zpools /var/run/dmesg.boot
For future reference, this is the knew server. It runs a few jails, including Bacula regression testing services. File systems Paritions zpools /var/run/dmesg.boot
Last night, I moved a SAS card and had to renumber some devices. I also moved two SSDs into the same box (see photos). Those SSDs were the boot drives from the system from which I pulled the SAS drive. That box, tape01, contains the Bacula configuration file I need for this new box. I know, I know. Why not use Bacula to restore that file. That would be too easy. I want
Importing a zpool and renaming it Read More »
I do have a FreeBSD-11 box, cuppy: $ uname -a FreeBSD cuppy.int.unixathome.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r279394: Sat Feb 28 21:01:21 UTC 2015 dan@cuppy.unixathome.org:/usr/obj/usr/src/sys/GENERIC amd64 $ That box is used mostly for testing and/or erasing DLT tapes. The current status of that box is not healthy. It’s running fine, but it is not optimal: Let’s fix this. Background Why is one drive upset? Because I installed FreeBSD onto it. Why? I don’t know,
Adding a failed HDD back into a ZFS mirror Read More »
In this post, I am working with FreeBSD 10.2 on this server. Over the past few days, a 3 year old drive has been giving errors. The number of errors has been constant, but I have a spare drive here, so I decided to replace it. I have verified that it is out of warranty. Rather than pull the error drive and replace it, I opted to add in a new drive and
Added new drive when existing one gave errors, then zpool replace Read More »
That smartd: Device: /dev/ada0, 8 Currently unreadable (pending) sectors problem which arose on Sunday is still around. I’ve run a short test, a long test, and a ZFS scrub is now underway. I may just replace the drive. $ sudo smartctl -P show /dev/ada0 smartctl 6.4 2015-06-04 r4109 [FreeBSD 10.2-RELEASE-p9 amd64] (local build) Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org Drive found in smartmontools Database. Drive identity strings: MODEL: TOSHIBA DT01ACA300 FIRMWARE:
smartd: Device: /dev/ada0, 8 Currently unreadable (pending) sectors persists Read More »
Last night, I managed to install new (but used) SAS cables for my Dell TL4000 on the tape01 server. I managed to get bacula-sd running, but I was unable to communicate with it from bacula-dir, via bconsole on my laptop. Eventually, I ran bacula-sd from the command line in the foreground and with debugging and saw things which needed to be corrected. In this post, I will adjust permissions on devices get bacula-dir
Using a Dell TL4000 with Bacula’s bacula-sd on FreeBSD with ZFS Read More »
Yes, this was not fun. I took some notes, but not everything. Please read the notes if you plan on doing these foolish things. I was cleaning up /usr/src on a host which does not hold src. I looked and found: It was there that I knew I’d done the wrong thing. Trying snapshots Let’s look for snapshots, find one from a few minutes ago, and rollback to that. $ zfs list -t
Deleting files from /usr/, breaking your system, then recovering Read More »
I’m using FreeBSD 10.2-RC2 here, with a bunch of HDD. Here are the current pools: The degraded music pool contains a drive I will be replacing later in this post. But first, I want to replace a mis-matched drive in the benchmarking pool. I noticed that when I saw this output: The serial number on line 19 is of a different format. I suspected I was using different size drives because I knew
Swapping disks in a zpool Read More »
I’m using FreeBSD 10.2-RC2. One of my new hard 3TB drives was acting up. I removed it and sent it off to be replaced. In the meantime, I received some 5TB drives and I added one of them into the existing vdev of the zpool. First, I partitioned the drive much like the other drives in the system. In my case, this was: $ sudo gpart create -s gpt da0 da0 created $
Replacing a failed drive in ZFS on FreeBSD Read More »
I noticed these messages this morning, on the new server: $ grep smartd /var/log/messages Jul 25 11:35:29 varm smartd[813]: Device: /dev/da15 [SAT], 8 Currently unreadable (pending) sectors Jul 25 11:35:29 varm smartd[813]: Device: /dev/da15 [SAT], 10 Offline uncorrectable sectors Jul 25 12:05:28 varm smartd[813]: Device: /dev/da15 [SAT], 8 Currently unreadable (pending) sectors Jul 25 12:35:29 varm smartd[813]: Device: /dev/da15 [SAT], 8 Currently unreadable (pending) sectors Jul 25 13:05:29 varm smartd[813]: Device: /dev/da15 [SAT],
smartd: Device: 8 Currently unreadable (pending) sectors Read More »