Now open the /etc/samba/smb.conf file in an editor of your choice and enter the configuration options for the INTERNAL sharing at the end of the file like shown below. Connect your device to the Network via a wired connection or via WLAN and open a terminal.ģ. Let’s assume that the Raspbian operating system is already installed and running on RPi. Make sure you have access to the terminal or you’re logged in to the Raspberry Pi via SSH connection.įor the file storage, we need an external USB Hard-drive with a storage capacity of your choice. For this project, we’ll need a Raspberry Pi 2 or Pi3 with a running Rasbian and connected to some Network. The goal is to save files on the NAS server and share them between different computer clients. In this article, we will set up a simple NAS server from scratch, based on the SMB protocol. RPi board can be used for an almost unlimited number of projects, like running Plex media server, playing retro games with a game emulator built on the Pi and much more.Īll of that features make the Raspberry Pi an ideal candidate for your own small NAS storage system. Due to its small size, the RPi can be placed almost everywhere as it occupies a very small space. On the other hand, the Raspi saves a lot of money because it’s really cheap and consumes a very small amount of energy. Well, concerning the advantages of making up Raspberry Pi NAS hosting device, RPI is a mini-computer with the full performance of a Linux-based operating system and contains almost all functions of a large server system. In this article, we will use the newest “Raspbian Stretch” operation system, released at with the Kernel version 4.9. Also, there are a couple of alternative operating systems available for the Raspberry Pi. The optimized operating system for the Raspberry Pi 2 and the Raspberry PI 3 is Raspbian, a free and open source software based on Debian. It has a wired local area network (LAN) and 4 USB-Ports for different external devices like keyboard and mouse or external storage devices. Raspberry Pi is a mini computer build on a single PCB board, slightly larger than a credit card. The most common are RAID-0, RAID-1 and RAID-5.Īdvantages of building NAS on Raspberry Pi There are various RAID levels to protect the data in case of a disk failure. If you have more than one storage device mounted on your NAS server, the storage devices can be arranged via a RAID controller (Redundant Array of Independent Disks) into logical and redundant storage containers for redundancy and safety reason. The main hardware components of the NAS storage system are the media storage devices, mainly hard drives. The mainly used protocol is SMB (Server Message Block).Īdditional protocols are NFS (Network File System), FTP (File Transfer Protocol), SFTP (Secure File Transfer Protocol), SCP (Secure Copy) and more. The NAS server can use different file sharing protocols to share the data via the network. This enables multiple users to access and share the same file storage. NAS (or Network Attached Storage) Server is a network storage system to serve and share files to other client computers in a local network area. Building NAS on Raspberry Pi is a very smart way to create DIY NAS for safe and efficient file management.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |