Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Moey
Oct 22, 2010

I LIKE TO MOVE IT

Talorat posted:

So be clear, these things have no size limits on the drives as long as you don’t use the interposers right?

From what I have seen, no.

I recall some Netapp expansion shelves having a goofy firmware on their expansion cards where they wouldn't recognize non NetApp branded disks (disks running their firmware), but I thought you could flash the controllers to a standard firmware to get around it.

Just look for a shelf that meets your needs, then Google the model number. Some other nerd has most likely already done the legwork of testing for you.

Adbot
ADBOT LOVES YOU

Moey
Oct 22, 2010

I LIKE TO MOVE IT
Back to a project that went on the backburner. Migration to new TrueNAS server.

I have enough new/unused disks to create a 6 disk RAIDZ2 vdev that will hold existing data.

After that migration of data, I'll end up with a some disks from the old box that I'll be reusing, so adding another 6 disk RAIDZ2 vdev to that new pool.

After that, I would like to rebalance the pool. Anyone done any "in-place rebalancing"?

https://github.com/markusressel/zfs-inplace-rebalancing

Moey
Oct 22, 2010

I LIKE TO MOVE IT

BlankSystemDaemon posted:

That script just does what zfs send/receive does, but worse because it re-computes all checksums, and takes significantly longer.

How would send/receive help me in this current situation though? Without bringing in some temporary storage as a dumping ground for a two-transfer migration.

I don't see any benefit? Unless I am missing some feature of ZFS send/receive (which I admittedly do not use).

Edit:

Oooo, are you suggesting zpool send/receive within the same pool.

Same concept as the script, so every file does a copy then delete (of original)?

I was not aware send/receive could operate within a single pool (if that is what you were hinting at).

Double edit:

Like this? https://forum.proxmox.com/threads/zfs-send-recv-inside-same-pool.119983/post-521105

Moey fucked around with this message at 07:16 on Mar 25, 2024

Moey
Oct 22, 2010

I LIKE TO MOVE IT

BlankSystemDaemon posted:

Yep, got it in one; zfs send -R tank/olddataset@snapshot | mbuffer | zfs receive newdataset, then once it’s done you delete the old one and rename the new one.

If you’re smart about it, you enable zpool checkpoint until you’re satisfied that everything made it over - that way, you can revert administrative changes like dataset removal.
Just don’t forget to turn it off again.

Neato. Gracias.

I'll do some testing before migrating data and letting it rip on the actual "final" disk layout.

Moey
Oct 22, 2010

I LIKE TO MOVE IT

Yaoi Gagarin posted:

why even make a second pool, you could put those drives in as a new vdev in the original pool?

Because Wibla will call you dumb.

Moey
Oct 22, 2010

I LIKE TO MOVE IT

Talorat posted:

Tell me more about that second option. What’s a vdev? Will this allow the single pool to have a single mount point?

vdev = Single or multiple sets of drives. Single disk, mirror , RAIDZ, RAIDZ2......

Pool (zpool) = collection of single or multiple vdevs

If you create a pool with multiple vdevs, and one vdev suffers a catastrophic failure (more disk failures than your level of parity) your pools data is gone.


e:fb

Moey
Oct 22, 2010

I LIKE TO MOVE IT

BlankSystemDaemon posted:

Just an observation, but if you aren't willing to switch to ZFS, it probably means you either don't have backups, or don't trust them - so you might also wanna address that.

Or they are using a different mature solution. Not everyone is in the same ZFS cult as you.

The backhand poo poo that comes out of you is amazing.

Moey
Oct 22, 2010

I LIKE TO MOVE IT

Hughlander posted:

TO be fair...
1) They were replying to How
2) How was explicitly asking how to import it into TrueNAS Scale which is ZFS based.

Yeah, I didn't even look at the context before the reply, that's on me.

But this isn't the first time I've seen similar responses/comments

Adbot
ADBOT LOVES YOU

Moey
Oct 22, 2010

I LIKE TO MOVE IT

BlankSystemDaemon posted:

I'm sorry I phrased myself so poorly, it wasn't my intention to come off backhanded, but I can see how I did.
What I should've written is "if you aren't able to switch to ZFS by degrading your existing mirror" - because that's a fairly trivial operation if you have backups.

I also apologize, didn't mean to come off so pissy, it just seemed very blunt when I read it without scrolling back. So I'm the dumb looking one here.

I do appreciate your ZFS knowledge bombs in here. Now let's carry on with nerd storage chat.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply