WARNING: LONG
Believe me I have tried to read enough to setup and get a properly working NAS. I followed the step by step instructions given by Maximumpc recent article on "Roll your own Home Server" Oct 2012 issue. For this being by 1st ever install, I think I have done well. I managed to set up a mostly working freeNAS (version 8.2.0) without much difficulty. My problems are probably from not understanding some of the setup options correctly, but unfortunately I don't know which ones. I have completed the install as follows:
My hardware is using 8 2tb drives (I have a lot of data to store).
1. Install the OS. (on to a 4gb flash drive) This worked perfectly and boots right into freenas8.2.0. I have changed the admin password, added the root account email address, & console logging as per the Maximumpc instructions. Booted up and typed into the 192.168.0.189 address on another separate windows7 computer & brought up the NAS server.
2. Set up Storage. I have created a volume name and selected the 8 drives, zfs filesystem and RAIDZ2. My 8 drives create a volume with approx 10.7TB. I then created only one dataset with compression level "inherit", enable atime "inherit", Quota for this dataset/Quota for this dataset & all children/Reserved space for this dataset/Reserved space for this dataset & all children" all to zero.
3.Add Users & Groups. I created a new user username: Ron; Create a new primary group for the user: checked; ; Home directory: /mnt/RSVOL/RSDATASET; My home directory mode: ALL 9 boxes Owner/Group/Other & Read/Write/Execute checked; Shell: csh; Disable password logons checked; and SSH Public Key completely blank.
4.Configure Permissions. I clicked on Change Permissions and selected Owner: Ron ; Owner(group) wheel(SHOULD THIS BE "Ron"?); mode has ALL 9 boxes Owner/Group/Other & Read/Write/Execute checked; Type of ACL: unix; set permissions recursively: unchecked. My goal with these settings is to have complete read/write/execute permission for ALL files and directories on the entire volume and dataset.
5.Set up a Media Share. Went to "Sharing then Add Windows (CIFS) share"; dataset name: All_FreenasData" and set the dataset path to /mnt/RSVOL/RSDATASET; export read only:unchecked; Browsable to Network Clients: checked; Inherit Owner: checked; Inherit Permissions: checked; Export recycle bin: unchecked;Show hidden files: unchecked;Allow guest access: checked; Only Allow Guest Access: unchecked;
6. Go to my Media Share and copied ONE main directory (from my window7 computer) with many sub-directories and many sub-sub directories with lots of deep sub-directories into the freenas dataset. About 15,000 files in all. Took less than 1 hour. Everything seemed to be ok except the following:
A) Before I copied this one main directory into the freenas newly created dataset, it already had the following files in the dataset: ".cshrc .login .login_conf .mail_aliases .mailrc .profile .rhossts .shrc" listed in the root. WHY?
B) As a 1st test, after I copied my one main directory and all of its sub-directories and 15,000 files from the Windows7 computer to the freenas share, in windows7 again, I tried to do the reverse by selecting my just created root directory in the freenas share and hitting the delete windows command. Windows preceded to delete many of the sub-directories BUT refused to delete some of the sub-directories complaining that the sub-directories were not empty. In order to complete the full deletion, I needed to to manually travel down to lower sub-directories, open them, and then select and delete these files separately. Some directories & sub-directories & files were correctly completely deleted while others sub-directories and files had to be emptied manually. WHY?
Thanks to all that at least read my question. Much appreciated.
Ron
Believe me I have tried to read enough to setup and get a properly working NAS. I followed the step by step instructions given by Maximumpc recent article on "Roll your own Home Server" Oct 2012 issue. For this being by 1st ever install, I think I have done well. I managed to set up a mostly working freeNAS (version 8.2.0) without much difficulty. My problems are probably from not understanding some of the setup options correctly, but unfortunately I don't know which ones. I have completed the install as follows:
My hardware is using 8 2tb drives (I have a lot of data to store).
1. Install the OS. (on to a 4gb flash drive) This worked perfectly and boots right into freenas8.2.0. I have changed the admin password, added the root account email address, & console logging as per the Maximumpc instructions. Booted up and typed into the 192.168.0.189 address on another separate windows7 computer & brought up the NAS server.
2. Set up Storage. I have created a volume name and selected the 8 drives, zfs filesystem and RAIDZ2. My 8 drives create a volume with approx 10.7TB. I then created only one dataset with compression level "inherit", enable atime "inherit", Quota for this dataset/Quota for this dataset & all children/Reserved space for this dataset/Reserved space for this dataset & all children" all to zero.
3.Add Users & Groups. I created a new user username: Ron; Create a new primary group for the user: checked; ; Home directory: /mnt/RSVOL/RSDATASET; My home directory mode: ALL 9 boxes Owner/Group/Other & Read/Write/Execute checked; Shell: csh; Disable password logons checked; and SSH Public Key completely blank.
4.Configure Permissions. I clicked on Change Permissions and selected Owner: Ron ; Owner(group) wheel(SHOULD THIS BE "Ron"?); mode has ALL 9 boxes Owner/Group/Other & Read/Write/Execute checked; Type of ACL: unix; set permissions recursively: unchecked. My goal with these settings is to have complete read/write/execute permission for ALL files and directories on the entire volume and dataset.
5.Set up a Media Share. Went to "Sharing then Add Windows (CIFS) share"; dataset name: All_FreenasData" and set the dataset path to /mnt/RSVOL/RSDATASET; export read only:unchecked; Browsable to Network Clients: checked; Inherit Owner: checked; Inherit Permissions: checked; Export recycle bin: unchecked;Show hidden files: unchecked;Allow guest access: checked; Only Allow Guest Access: unchecked;
6. Go to my Media Share and copied ONE main directory (from my window7 computer) with many sub-directories and many sub-sub directories with lots of deep sub-directories into the freenas dataset. About 15,000 files in all. Took less than 1 hour. Everything seemed to be ok except the following:
A) Before I copied this one main directory into the freenas newly created dataset, it already had the following files in the dataset: ".cshrc .login .login_conf .mail_aliases .mailrc .profile .rhossts .shrc" listed in the root. WHY?
B) As a 1st test, after I copied my one main directory and all of its sub-directories and 15,000 files from the Windows7 computer to the freenas share, in windows7 again, I tried to do the reverse by selecting my just created root directory in the freenas share and hitting the delete windows command. Windows preceded to delete many of the sub-directories BUT refused to delete some of the sub-directories complaining that the sub-directories were not empty. In order to complete the full deletion, I needed to to manually travel down to lower sub-directories, open them, and then select and delete these files separately. Some directories & sub-directories & files were correctly completely deleted while others sub-directories and files had to be emptied manually. WHY?
Thanks to all that at least read my question. Much appreciated.
Ron