ZPool Data Allocation

Status
Not open for further replies.

Dermot

Cadet
Joined
Dec 2, 2013
Messages
1
Hi everyone, new to FreeNAS and this forum. So I have a kind of basic question about ZFS pools. I've read up a lot on the file system, fascinating stuff, but I can't find the answer to a basic question.
So let's say I'm setting up my nas with a few hard drives. I'm created a striped pool. So basically I just want a big volume to store stuff.
I then create my windows share and I'm off an running.
My question is, when I write to this share from my pc, how does ZFS/FreeNAS know what physical disk to write too? Does it spread the data around? Or does it fill each drive up 1 at a time? I guess this would also apply if I had 4 hard drives and was mirroring. I ask cause I always heard (maybe just folklore) to not fill a drive up to much cause it can increase the chance of a failure.

Hope this isn't too "duh".
Thanks,
Dermot
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Read up on ZFS slabs. That's how FreeNAS allocates free space for files. ;)
 
Status
Not open for further replies.
Top