User Tools

Site Tools


nas:build_a_linux_nas

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nas:build_a_linux_nas [2021/09/25 16:16] peternas:build_a_linux_nas [2021/09/25 21:38] (current) peter
Line 10: Line 10:
   - [[NAS:Build a Linux NAS:Mount the RAID Array|Mount the RAID Array]]   - [[NAS:Build a Linux NAS:Mount the RAID Array|Mount the RAID Array]]
   - [[NAS:Build a Linux NAS:Create a Samba Share|Create a Samba Share]]   - [[NAS:Build a Linux NAS:Create a Samba Share|Create a Samba Share]]
- +  - [[NAS:Build a Linux NAS:Data Scrubing|Data Scrubing]] 
 +  - [[NAS:Build a Linux NAS:Power Consumption|Power Consumption]] 
 +  - [[NAS:Build a Linux NAS:Tune the System|Tune the System]] 
 +  - [[NAS:Build a Linux NAS:Benchmark the System|Benchmark the System]] 
 +  - [[NAS:Build a Linux NAS:Monitor the System|Monitor the System]] 
 +  - [[NAS:Build a Linux NAS:Support recovering from a faulty disk|Support recovering from a faulty disk]]
  
 ---- ----
  
----- +===== Resources =====
- +
-===== Create Samba Share ===== +
- +
-Save a backup of the default Samba Config. +
- +
-<code bash> +
-sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.orig +
-</code> +
- +
-Now edit the Samba Config file, **/etc/samba/smb.conf**, and populate as: +
- +
-<file bash /etc/samba/smb.conf> +
-[global] +
-workgroup=WORKGROUP +
-server min protocol = SMB2 +
-server max protocol = SMB3 +
-server string = NAS +
-log file = /var/log/samba/%m.log +
- +
-[data] +
-path = /mnt/nas/data +
-available = yes +
-valid users = peter +
-read only = no +
-browseable = yes +
-writable = yes +
-</file> +
- +
----- +
- +
-===== Create a Samba user ===== +
- +
-<code bash> +
-sudo smbpasswd -a peter +
-</code> +
- +
-returns: +
- +
-<code bash> +
-Added user peter. +
-</code> +
- +
-<WRAP info> +
-**NOTE:**  Make sure that the user has permissions to the files on system level as well. +
-</WRAP> +
- +
-----+
  
-===== Test Access to the Share =====+http://www.ducea.com/2009/03/08/mdadm-cheat-sheet/
  
-Within a Web Browser, enter+https://www.cyberciti.biz/tips/linux-raid-increase-resync-rebuild-speed.html
  
-<code bash> +https://h3x.no/2011/07/09/tuning-ubuntu-mdadm-raid56
-//192.168.1.5/data +
-</code>+
  
-<WRAP info> +https://developer.ibm.com/tutorials/l-4kb-sector-disks/
-**NOTE:**  +
  
-  * **192.168.1.5**  The IP Address of the NAS. +https://www.linuxquestions.org/questions/linux-general-1/recovering-mdadm-superblocks-713234/
-    * Obviously use whatever IP address that device has. +
-  * **data**:  The name of the Samba Share, as defined in the Samba Config file. +
-</WRAP>+
  
nas/build_a_linux_nas.1632586567.txt.gz · Last modified: 2021/09/25 16:16 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki