Does ZFS only work with raw hardware devices and basically take them over or can it just work with a partial allocation of a drive such as software raid on linux?
ZFS is very nice about heterogenous drives. It won't be able to provide redundancy on 1.5TB if you only have 1TB + 1.5TB, but if you later replace the 1TB drive with a 2TB drive, then you will get 1.5TB redundant storage without having to do any backup or restore.
I am curious. I know somebody mentioned this before but I want to know if I can add different size HDDs to the ZFS.I have two 1 TB drives but I am getting a deal on 1.5 TB drive.
@damoos I'd want to do that in order to stagger i/o across various hardware
proxicate 1 year ago
@thelegendarypaki You can but you only the smallest drives size will be available to the zpool. i.e. 1.5 + 1 = 1
damoos 1 year ago
@proxicate Look up Raid6
damoos 1 year ago
@proxicate Zfs can work with files, never mind hardware.
You can create an empty file, and then create a pool out of that file.
If, why would you want to do that ? But you can.. :-)
damoos 1 year ago
@mkleinpaste does Raid-Zx have any advantages over raid 0,1 and 10?
proxicate 1 year ago
Does ZFS only work with raw hardware devices and basically take them over or can it just work with a partial allocation of a drive such as software raid on linux?
proxicate 1 year ago
ZFS is very nice about heterogenous drives. It won't be able to provide redundancy on 1.5TB if you only have 1TB + 1.5TB, but if you later replace the 1TB drive with a 2TB drive, then you will get 1.5TB redundant storage without having to do any backup or restore.
aphor 2 years ago
I am curious. I know somebody mentioned this before but I want to know if I can add different size HDDs to the ZFS.I have two 1 TB drives but I am getting a deal on 1.5 TB drive.
thelegendarypaki 2 years ago
@hungarianhc
That would be a mirror vdev then?
If one drive fails (your pool will be "degraded" but still 100%online) you just replace it with a new drive and "resilver".
If your drives are hot-swap the pool will never go offline, if it's not your pool will only be offline during shut-down/replacement.
It will be online during resilvering.
xcarobx9 2 years ago
ZFS supports its own version of RAID levels. It supports basic RAID 0,1&10. Then it has its own parity raid as follows:
RAID-Z=min 3 drives with 1 being parity
RAID-Z2=min 4 drives with 2 being parity
RAID-Z3=min 5 drives with 3 being parity
Because of ZFSs commit on write paradigm RAIDZ+ doesnt suffer the write commit whole. It still suffers the RAID5 IO penalty though.
mkleinpaste 2 years ago