|
With ZFS, do mirrored vdevs need to be the same size? Let's say I have three mirrored vdevs setup like so: vdev1: 2x 8 TB drives vdev2: 2x 10 TB drives vdev3: 2x 2 TB drives I would end up with a single 20 TB pool. Right? Also, it's not a problem to add a new pair of drives as a mirrored vdev after the pool has been created and is in use, correct? I understand that you aren't really meant to add drives to expand the size of a pool in a RAIDZ setup, but if I'm just using mirrored pairs of drives, adding a new vdev is a simple and expected use case, right? Sorry for the newbie questions. I'm slowly going through ZFS documentation, but there's a lot of it and I'm dumb. mekyabetsu fucked around with this message at 16:18 on Apr 16, 2024 |
# ¿ Apr 16, 2024 16:05 |
|
|
# ¿ May 17, 2024 07:51 |
|
Arishtat posted:Correct you can expand the pool via adding new mirror vdevs. I read about this, but I don't understand why it's a problem. I mean, obviously more data is going to be written to the larger drives because they're... bigger.
|
# ¿ Apr 16, 2024 17:25 |
|
IOwnCalculus posted:I'm assuming the 2TB drives are old, because 2TB. Is an extra 2TB storage worth the increased risk of losing the entire array if both of the 2TB drives die before you can finish replacing one of them? I would put them in a separate pool and use it for local backups of irreplaceable data instead of making it part of your main pool. Yeah, I just used that as an example. I do have some smaller drives, but I'll likely just sell those and buy some larger 10+ TB drives to expand when needed. Thanks to all for your help and answers!
|
# ¿ Apr 17, 2024 02:29 |
|
I’m choosing an OS for my file server which will be running ZFS along with Plex and some other relatively lightweight home lab stuff. I assume Ubuntu plays nicely with ZFS and will be suitable for my needs? I was looking at Manjaro as well, but for a home server, I think I’d prefer something a little more stable (and familiar to me) like an Ubuntu LTS release.
|
# ¿ Apr 18, 2024 18:27 |
|
Is there a preference or best practice for what type of disk partitions to use for ZFS? I decided to just delete all the partitions on the disks I'm using and let zpool decide for me, and I got this:code:
|
# ¿ Apr 20, 2024 00:52 |
|
BlankSystemDaemon posted:ZFS works best with whole disks without any partitioning hifi posted:The best practice is to give zfs the entire disk and that is what mine looks like as well. I assume it's something to do with linux not understanding how zfs works The 8M partitions were created automatically for what I assume is a very good reason. Eletriarnation posted:I think the partition type is literally just a label so the OS knows what it's working with, and doesn't affect anything about the actual layout or functionality of the partition - asking which is best is like asking which file extension is best for a particular type of file. As long as the OS recognizes what it's working with, you should be good. This makes sense to me. Thank you!
|
# ¿ Apr 20, 2024 04:16 |
|
|
# ¿ May 17, 2024 07:51 |
|
BlankSystemDaemon posted:I was phone-posting from bed when responding, so I didn't notice it then - but there's something you do want to take care of: Switch to using /dev/disk/by-id/ for your devices, instead of plain /dev/ devices. code:
|
# ¿ Apr 20, 2024 14:03 |