An always-on network backup device accessible to a computer from both outside and inside the network is a highly desirable thing. As the system will always be on, power consumption is an important consideration. These requirements are fairly met by this Raspberry Pi-based network storage system as it consumes less power than its off-the-shelf counterparts.

Presented here is a system which uses two USB hard drives plugged into Raspberry Pi to store data. One of the hard drive stores data directly and the other is used to back up the data.

For a simple network, one drive is sufficient but it is recommended to use two for local redundancy. External hard drives should be low-power and have sufficient capacity for future addition of data. In this case, two NTFS-formatted hard drives are used and samba software helps to implement network sharing. Follow the steps mentioned below in the exact sequence to set up and configure the network storage system with Raspberry Pi.

Explore Circuits and Projects Explore Videos and Tutorials

Mounting the external hard disk
connect the hard drives to the Raspberry Pi and power it up. It is a good idea to use a USB hub with separate power supply. The Raspberry Pi should have a working operating system (Raspbian) configured suitably for remote access to follow all the steps. You can refer ‘Remote Access to Raspberry Pi’ published in June 2013 issue.

Fig. 1: Add NTFS support
Fig. 1: Add NTFS support
Fig. 2: Partition of the external hard drives
Fig. 2: Partition of the external hard drives
Fig. 3: Make the directories to mount the drives
Fig. 3: Make the directories to mount the drives

LEAVE A REPLY