this post was submitted on 24 Nov 2023
1 points (100.0% liked)

Data Hoarder

1 readers
1 users here now

We are digital librarians. Among us are represented the various reasons to keep data -- legal requirements, competitive requirements, uncertainty of permanence of cloud services, distaste for transmitting your data externally (e.g. government or corporate espionage), cultural and familial archivists, internet collapse preppers, and people who do it themselves so they're sure it's done right. Everyone has their reasons for curating the data they have decided to keep (either forever or For A Damn Long Time (tm) ). Along the way we have sought out like-minded individuals to exchange strategies, war stories, and cautionary tales of failures.

founded 1 year ago
MODERATORS
 

Here's another question regarding how to upgrade and replace drives in a ZFS pool, I currently have 5x 8TB drives in a ZFS raidz1 configuration

  pool: storage
 state: ONLINE
  scan: scrub repaired 0B in 08:15:49 with 0 errors on Sun Nov 12 08:39:50 2023
config:

	NAME        STATE     READ WRITE CKSUM
	storage     ONLINE       0     0     0
	  raidz1-0  ONLINE       0     0     0
	    sda     ONLINE       0     0     0
	    sdc     ONLINE       0     0     0
	    sdb     ONLINE       0     0     0
	    sdd     ONLINE       0     0     0
	    sde     ONLINE       0     0     0
	cache
	  nvme0n1   ONLINE       0     0     0

errors: No known data errors

I now have 5x 20TB drives ready to replace, but I don't want to pull a drive out and wait for the data to repair itself, I would like to replace them while the drives are attached.

I have a SATA to USB hub where I can move some of my 8TB drives to, so that I can replace the SATA connections with my 20TB drives. How can I initiate a drive replacement with my original 8TB drives in the USB SATA hub and the new drives in the SATA ports that my old drives were in? Sorry if this sounds confusing.

top 3 comments
sorted by: hot top controversial new old
[–] alexkidd4@alien.top 1 points 11 months ago (1 children)

This is probably possible, but I believe you'll be in more danger by depending on a USB connected device for the rebuild. I've heard of folks losing whole arrays in external USB enclosures due to flaky controllers or adapters.

[–] VBQL@alien.top 1 points 11 months ago

Even if you loose the USB hub, wouldn’t there still be parity on the remaining drives? If I were to do it one at a time. I guess the question boils down to is it faster to rebuild from parity or from a USB 3 transfer

[–] therealtimwarren@alien.top 1 points 11 months ago

Startech make an 8 port SATA card. Worked for me.

Make me array and use zfs send | zfs receive to sync data. Disks can hang out of the side of the pc for a day or two if needs be. You'll need some power splitters you.