Skip to main content

Sometimes, things work as intended

A small computer success story:

I have a Synology NAS at home. For those who aren't familiar with them, they're small computers that are set up to make storing and sharing files easy. They keep your data across multiple hard drives so that if a hard drive fails, no data is lost. Or, at least, that's the theory.

After we moved last year, I set up the NAS and ran all of the status checks. It reported that one drive was still working but starting to have problems. I bought another drive, plugged it in, and set it as a "hot spare" (basically, the system knew about it, but it wasn't being used). I also turned on monthly disk checks. Months passed with no more problems.

...until last Tuesday. On Tuesday night, the system automatically sent us mail to tell us that

  1. The troubled disk had finally failed.
  2. Since we had a hot spare, it would be used as a replacement disk and our data would be copied to it.
  3. When everything was finished, the system would let us know.
I ordered a replacement drive (Western Digital Red, in case you care) from Digitec, and said that I'd pick it up at their depot on the other side of town.

On Wednesday afternoon, the system sent a follow-up "everything's good now" message. By that time, I'd picked up the replacement drive. After removing the bad drive, installing the new drive and logging in, the system gave me a vague "You need to follow our advice and finish doing something" warning. I wish I'd grabbed a screenshot. It was almost hilariously vague.

Fortunately, I knew what had to be done. I told the system to configure the new drive as a hot spare for the other drives. It immediately kicked off a full check of the new drive. On Thursday, the spare was checked and ready to go.

Overall, aside from one confusing error message, everything worked well and exactly as designed. I've worked with storage in previous jobs. It's never that easy. Status checks fail. Notifications fail. Rebuilds fail. Replacement drives don't arrive in time or, when they do arrive, the new drives won't play nicely with the existing drives. Even though this was a small home problem, it just worked. It's so nice when that happens.

Comments

  1. Sounds like it worked well, which is neat because it seems computers seldom do.
    How do you know a hard drive is ready to fail if it doesn't send you a note?

    ReplyDelete
    Replies
    1. Hard drives include something called SMART https://en.wikipedia.org/wiki/S.M.A.R.T. that lets your computer ask the hard drive whether everything's okay. In theory, your computer should check your hard drive's SMART status occasionally and alert you if anything's amiss.

      The unfortunate reality is that computers do a bad job of passing along those messages (or, when they do, of making it clear that "SMART error" means "You need to buy a new hard drive right away"), so you usually know that a hard drive is bad when it starts to make terrible noises and stops worksing.

      Delete

Post a Comment

Popular posts from this blog

Stinky cheese, man

I'm living in a place that's known for it's cheese. There are hundreds of kinds of cheese at my local grocery store. I try something different every time I go shopping, and I've still barely scratched the surface of what's available. There's one kind of cheese that deserves special mention: Raclette . Raclette is strange for a few different reasons. Most notably, it's almost always served cooked, and there's a bit of a ritual around cooking it. You will never be offered raw raclette. Why? Raw raclette is pungent stuff. It's hard to describe the smell, but I've heard it described as a cross between sweat socks, vomit, and curdled milk. To say that it stinks is a polite understatement. So, why on earth would anyone eat it? Because when you cook it, you somehow cook the stink out of it, and what's left is sublime. It's a sort of oily cheese, and you get something like the best pizza or nacho cheese you've ever had. I've hea...

Actual Size

I get a lot of questions about Switzerland's size. So, I put together a spreadsheet showing Switzerland's size relative to each US State. You can view the full spreadsheet on Google Sheets , but here are some highlights: The two states that are closest in size to Switzerland are Maryland and West Virginia. Maryland is 61% (about 2/3x) of the size of Switzerland. West Virginia is 151% (about 1 and 1/2x) of the size of Switzerland. Pennsylvania is 281% (about 3x) of the size of Switzerland. One of the nice things about living in a small country is the short distance to the borders. I can be in Germany in an hour. France, Lichtenstein, or Austria in 2 hours, or Italy in 4 hours (less when full service through t he Gotthard Tunnel opens later this year). This weekend, we're going to visit... somewhere, and "do you want to go to Milan or Munich" is about as difficult as "Do you want to go to Columbus or Buffalo?"