Ive been spending a lot of time trying to learn about truenas and the mechanics of it. I want to get away from big tech and self-host as much as I can.
Right now, I find a lot of the terminology is what’s holding me back. If I may, id like to explain what I think these words me, and if I’m wrong, can you please correct me.
· Disks: the physical spinning drives that the vdev sits across.
· Vdev: the software that creates different variations of RAID or mirrored disks. Its virtual disk, pretending to be a big disk but actually the physical part is multiple separate disks
· Dataset: The equivalent of a partition in windows? A collections of folders and directories
· Pool: the space created by the vdev, depending on the raid config and allocated size. Additionally, the space where all the datasets live. The disks that make up the vdev
· Zvol: Similar to a dataset but with the added bonus of being able to limit capacity of virtual disk.
I found a lot of diagrams in google, they are mostly the same but some slight differences.
Questions
A) Dataset partitions
Can a dataset be allocated to a user through its own ip address on the network? If I want to allocate 2tb to a user for them to use, totally separate to my datasets, can that be done? Does it matter if they use mac and I use windows?
For example, if I have a RAID5 config with a pool capacity of 100TB, can I allocate a ‘drives’ like this:
-
For myself: 80tb – E: drive (only accessible from my windows system)
-
For another user 20TB F: drive (only accessible from a users mac system)
I found an article online very helpful, can’t post the link here. In the article the author shows a ZFS diagram which includes the word partition, but I have seen other people say that partition is a windows only thing.
B) Zvol and its differential from datasets
Aside from being able to limit cacacity, what is the difference of Zvol from datasets?
On my system at the moment. I have a acess to a drive on truenas through my PC and it appears as a removable disk. I only created a dataset, but is it a Zvol?