sjw,
@sjw@bae.st avatar

Working on the maintenance I meant to do last weekend. In about an hour I'm expecting about an hour of downtime. Wish me luck!

sjw,
@sjw@bae.st avatar

Alright, here we go!
@roboneko @SuperSnekFriend @roboneko

sjw,
@sjw@poa.st avatar

@sjw @roboneko @SuperSnekFriend Okay this is taking longer than expected because my original idea didn't work.

Once I get all the files copied off the block I can delete all the snapshots/data and then copy the database back on to the drives. I should probably run a trim before copying the data back on tho.

sjw,
@sjw@poa.st avatar

@sjw @roboneko @SuperSnekFriend I'm copying a terabyte of data and I'm limited to the write speed of my HDDs in raidz. Luckily zstd plus a record size of 1M means I can write this data at around 300 MB/s. Copying back should be blazing fast since reading highly compressed data linearly plus read performance is way higher. I might actually be limited by the write speed of my nvme striped mirrors.

sjw,
@sjw@poa.st avatar

@sjw @roboneko @SuperSnekFriend 85% done copying to the HDDs

sjw,
@sjw@poa.st avatar

@sjw @roboneko @SuperSnekFriend So looks like copying from the HDDs is super slow for some reason. I'll investigate that later but for right now it looks like everything is about 45% done copying. Once it's complete everything should start back up no problem.

sjw,
@sjw@poa.st avatar

@sjw @roboneko @SuperSnekFriend Oh yeah. Turning on prefetch sped up the transfer by 3x

sjw,
@sjw@poa.st avatar
sjw,
@sjw@bae.st avatar

@sjw @roboneko @SuperSnekFriend and we're back!
Work is spread much more evenly now so performance should be better

sjw,
@sjw@bae.st avatar
p,
@p@shitposter.club avatar
sjw,
@sjw@bae.st avatar

@p @p @roboneko @SuperSnekFriend @sjw now both blocks in the stripe are within 2GB of each other instead of one being mostly full and the other being mostly empty. After less than around 15% of free space remained on one block performance started to tank. I figured the easiest way to balance the data would be to just move it off and then back onto the drives.

not_br549,
@not_br549@jollyville.net avatar

solid state drives, ugh -- gimme them old fashioned spinning rust platters, with their cylinders, heads, sectors! DASD ftfw!

(back in the 80s, we actually had removable platters. if a fly shits on one of them while it's out of the machine, it will fuck up a read head. you'll lose access to a platter on all your discs ...)

p,
@p@shitposter.club avatar

@not_br549 @p @roboneko @sjw @SuperSnekFriend @sjw

> gimme them old fashioned spinning rust platters, with their cylinders, heads, sectors! DASD ftfw!

It was such a great system that solid-state storage pretends to have CHS! Even spinny disks started lying and just hard-coded the 512 in there. It was brilliant, a beautiful system.

> (back in the 80s, we actually had removable platters. if a fly shits on one of them while it's out of the machine, it will fuck up a read head. you'll lose access to a platter on all your discs ...)

Oh, you must have been in a fancy region. The only computers I saw in the 80s were desktops, or that old massive luggable Compaq with the dual 5.25" floppies and the 5" green CRT. That thing was fun.

But no removable platters in the washing-machine drives, so I never got to see one walk across the raised tile.

not_br549,
@not_br549@jollyville.net avatar

I've never seen it done, but the big electromagnet and power electronics for the head access arm in one of those washing-machine drives would make a fantastic subwoofer. It would just need the right sort of membrane, a sheet of plywood or something, and enough weight to stabilize the heavy magnet...

p,
@p@shitposter.club avatar

@not_br549 @p @roboneko @sjw @SuperSnekFriend @sjw Ha, that would be awesome.

p,
@p@shitposter.club avatar

@sjw @p @roboneko @SuperSnekFriend @sjw How'd it go out of balance to begin with?

sjw,
@sjw@bae.st avatar

@p @p @roboneko @SuperSnekFriend @sjw it was on a mirror and running out of space so I just slapped another mirror on it creating a stripe. One block was empty and the other was about 70% full. The stripe started life pretty unbalanced.

I just moved all the data off and then back on and let ZFS balance the data as it wrote it. It seems to have worked great.

Xenomorph,
@Xenomorph@bae.st avatar

@sjw @sjw Did something go wrong? I keep getting Error fetching timeline. My page won't load anything below my pinned posts, but for some reason my Home timeline loads fine. :hyperconfused:

Almost immediately after posting this my profile now loads normally. :akko_confused:

sjw,
@sjw@bae.st avatar

@Xenomorph @sjw yeah something weird is kind of going on but I'm pretty sure it's unrelated.

roboneko,
@roboneko@bae.st avatar
SuperSnekFriend,
@SuperSnekFriend@poa.st avatar

@roboneko @sjw 1. Where's Cornbread
2. Where's all the gay weed?

sjw,
@sjw@bae.st avatar
SuperSnekFriend,
@SuperSnekFriend@poa.st avatar

@sjw @roboneko Is he having fun? :jahy_oooh: :BlobCatHeart:

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • Hentai
  • doujinshi
  • announcements
  • general
  • All magazines