robertdistefano
Cadet
- Joined
- Jul 31, 2012
- Messages
- 2
Okay, so I've got the hardware set up and FreeNAS on a thumb drive. Can remote in using a web browser and all seems well.
However, I'm pretty overwhelmed with a few things.
Groups
There are a whole bunch of groups preset by FreeNAS (wheel, etc). What are they for? Are they needed? My application will be this - home use, with only one user - me - accessing it (at this point). Do I create a "users" group and put my user in there?
ZFS and ZFS Intent Log
Here is my setup, and what I would like to achieve. I have 4x 2TB drives and a 1x 800GB drive. The 4x 2TB drives will be set to a RAIDZ1 ZFS structure. The 1x 800GB drive will be completely separate and used as a Time Machine drive (take this out of the picture for now). Creating the Volume was fairly straight forward - I selected the 4x 2TB drives, selected ZFS, and RAIDZ1, and 4K support (as my drives support this). However ZFS Extra is where I got stuck, and even after reading and reading, I'm still confused. My understanding is that a ZFS Intent Log is stored (what that log does, is beyond me) somewhere. I have the option of None - I don't know if this means that there will be no log (unlikely because it's needed) - or that the log will be stored on the same drives as the Volume. Then the other options which utilize another drive(s) to store the log. I've read that this practice is the best - can someone explain why? I have a 250GB 2.5" drive that I can pop in the NAS that I can use for the ZIL. Will this do, or provide any benefit at all? I don't want to dedicate one of the 4x 2TB drives as that will take a chunk of space away. I also need the 1x 800GB drive for the Time Machine.
Then I created a single volume for my Time Machine backup. I don't need this striped as the likely hood of my Macbook dying and my Time Machine are rare, so I will be able to replace either without data loss.
Does it matter what I call the Volumes? Will this name reflect on the client end, or is it strictly for FreeNAS purposes?
ZFS Volumes and ZFS Datasets
Okay this is where I got even more lost. With that 4x 2TB ZFS RAIDZ - I want to create two volumes - one called "Media" to store, well, media - and another called "Data" to store files (images, apps, etc). I created the first ZFS Volume called "Media" and allocated 4TB of the 5TB or so available on the RAIDZ volume for it. Then I created "Data" and allocated the rest. So now I have the following:
ZFS RAIDZ1 - 5.2TB (comprised of 4 disks)
|____"media" volume (4TB)
|____"data" volume (1TB+)
From my very basic understanding of shares. I imagine that when I AFP into my freenas on my Mac, I will be asked which Share to connect to - media or data - and start doing my thing. Is this correct?
Okay. Then what are ZFS Datasets? Where do they come in, and do I use them for my application?
Sharing
Initially for this exercise, I will just be sharing with AFP (but will do NFS and SMB later). I did what I imagined to be create the AFP protocol and set the Volumes. However, when I went to connect to the FreeNAS from my Mac - when it did connect (only once) - it gave me a list of "media" and "data" - great! - but they were only around 30GB each. It seemed to be accessing the leftover space on the Volumes, and not the actual Volumes themselves.
As you can see, I'm fairly clueless with all of this - and would love some guidance. So basically my end result would be this:
4x 2TB drives RAIDZ split into two volumes - "media" (4TB) and "data" (1TB+) and shared via AFP.
1x 800GB drive set up solely for Apple Time Machine share.
I didn't think it would be this complicated. :\
Thank you
However, I'm pretty overwhelmed with a few things.
Groups
There are a whole bunch of groups preset by FreeNAS (wheel, etc). What are they for? Are they needed? My application will be this - home use, with only one user - me - accessing it (at this point). Do I create a "users" group and put my user in there?
ZFS and ZFS Intent Log
Here is my setup, and what I would like to achieve. I have 4x 2TB drives and a 1x 800GB drive. The 4x 2TB drives will be set to a RAIDZ1 ZFS structure. The 1x 800GB drive will be completely separate and used as a Time Machine drive (take this out of the picture for now). Creating the Volume was fairly straight forward - I selected the 4x 2TB drives, selected ZFS, and RAIDZ1, and 4K support (as my drives support this). However ZFS Extra is where I got stuck, and even after reading and reading, I'm still confused. My understanding is that a ZFS Intent Log is stored (what that log does, is beyond me) somewhere. I have the option of None - I don't know if this means that there will be no log (unlikely because it's needed) - or that the log will be stored on the same drives as the Volume. Then the other options which utilize another drive(s) to store the log. I've read that this practice is the best - can someone explain why? I have a 250GB 2.5" drive that I can pop in the NAS that I can use for the ZIL. Will this do, or provide any benefit at all? I don't want to dedicate one of the 4x 2TB drives as that will take a chunk of space away. I also need the 1x 800GB drive for the Time Machine.
Then I created a single volume for my Time Machine backup. I don't need this striped as the likely hood of my Macbook dying and my Time Machine are rare, so I will be able to replace either without data loss.
Does it matter what I call the Volumes? Will this name reflect on the client end, or is it strictly for FreeNAS purposes?
ZFS Volumes and ZFS Datasets
Okay this is where I got even more lost. With that 4x 2TB ZFS RAIDZ - I want to create two volumes - one called "Media" to store, well, media - and another called "Data" to store files (images, apps, etc). I created the first ZFS Volume called "Media" and allocated 4TB of the 5TB or so available on the RAIDZ volume for it. Then I created "Data" and allocated the rest. So now I have the following:
ZFS RAIDZ1 - 5.2TB (comprised of 4 disks)
|____"media" volume (4TB)
|____"data" volume (1TB+)
From my very basic understanding of shares. I imagine that when I AFP into my freenas on my Mac, I will be asked which Share to connect to - media or data - and start doing my thing. Is this correct?
Okay. Then what are ZFS Datasets? Where do they come in, and do I use them for my application?
Sharing
Initially for this exercise, I will just be sharing with AFP (but will do NFS and SMB later). I did what I imagined to be create the AFP protocol and set the Volumes. However, when I went to connect to the FreeNAS from my Mac - when it did connect (only once) - it gave me a list of "media" and "data" - great! - but they were only around 30GB each. It seemed to be accessing the leftover space on the Volumes, and not the actual Volumes themselves.
As you can see, I'm fairly clueless with all of this - and would love some guidance. So basically my end result would be this:
4x 2TB drives RAIDZ split into two volumes - "media" (4TB) and "data" (1TB+) and shared via AFP.
1x 800GB drive set up solely for Apple Time Machine share.
I didn't think it would be this complicated. :\
Thank you