tldr: I'm going to set up raid z2 with 4x8TB hard drives. I'll have photos, documents (text, pdf, etc.), movies/tv shows, and music on the pool. Are the below commands good enough? Anything extra you think I should add?
sudo zpool create mypool raidz2 -o ashift=12 /dev/disk/by-id/12345 ...
zfs set compression=lz4 mypool #maybe zstd?
zpool set autoexpand=on mypool
zpool set autoreplace=on mypool #I might keep this off. I can see myself forgetting in the future
zpool set listsnapshots=on mypool
With ai raising hard drive prices, I over spent on 3x10TB drives in order to reorganize my current pool and have 3 hard drives sitting on a shelf in the event of a failure. My current pool was built over time but it currently consists of 4x8TB drives. They are a mirrored stripe so a usable 16TB. If I understand it correctly, I can lose 1 drive for sure without losing data and maybe a second drive depending on which drive fails. Because of that, I want to move to raid z2 to ensure I can lose 2 drives without data loss. I'm going to move data from my 4x8TB drives, to the 3x10TB, reconfigure the 4x8TB, and move everything back. I run Immich, plex/jellyfin, and navidrome off the pool. All other documents are basically there for long term storage just in case. What options should I use for raid z2 when setting it up?
I know I can look this stuff up. I have been and continue to do so, I was just hoping for some advise from people that are more knowledgeable about this than me. The move from the 4x8TB drives to the 3x10TB is going to take ~3 days so I really don't want to mess this up and have to start over 😅
Edit:
After looking up each property, this is the command I will probably end up using to create the raid z2 pool, thanks Avid Amoeba:
~~sudo zpool create
-o ashift=12 -o acltype=posixacl -o xattr=sa
-o compression=lz4 -o dnodesize=auto -o relatime=on
-o normalization=formD
raidz2
mypool
/dev/disk/by-id/12345 ...~~
Edit2:
Above command didn't work on my machine. The order and uppercase "O" matters. Had to do this:
sudo zpool create \
mypool \
raidz2 \
-o ashift=12 -O compression=lz4 \
-O normalization=formD -O acltype=posixacl \
-O xattr=sa -O dnodesize=auto \
-O relatime=on \
/dev/disk/by-id/12345 ...
Edit3:
And finally, after all this, I set up my tmp pool of 3x10TB disks as a raid z2 instead of raid z1. Spent a day and a half transferring before I finally saw my mistake after running out of space 🫠
I can’t tell if you’re actually asking or if your question was rhetorical but I’ll go ahead and answer. This is over simplified but this is basically what is being reported:
The RAM companies know how much RAM each of their factories can make in a given hour, day, month, year, etc.
To keep math simple, let’s say the RAM company owns 1 factory. They can make 100 chips in that factory per year. In January 2026, Company A orders 50 chips, Company B orders 50 chips, Company C orders 50 chips, and Company D orders 50 chips. It’ll take 2 years to complete those orders. Maybe each company gets some chips every month for 2 years or maybe it’s first come first serve. Regardless, 2 years. The factories are at max capacity, they physically can’t make them faster.
The only way to make more chips is to build another factory which takes time. But what if you make a lot of money overcharging customers? What if you think AI might be a bubble and demand will go down? Speaking as a company, building a new factory might not be worth the investment.