Building a NAS Server with Raspberry Pi and Openmediavault
By Brian Schell
()
About this ebook
What if, instead of simply plugging an external or internal hard drive into your working computer, you could have a file server located somewhere in your home or office? One that offers access to files for any device on the premises, taking into account security settings that you can set up?
This is the function of a NAS, or "Network Attached Storage" device. This file server does nothing except act as a go-between between the network and the hard drives. The Raspberry Pi, a super-inexpensive, low-power consumption, tiny computer, is just perfect for handling this task.
The software we will be installing to make this happen is called Openmediavault, or OMV for short. It's an open source project that is heavily developed and still getting new features regularly. OMV is the NAS software, but it all runs on the Linux operating system, which means it's stable and very reliable. Not to mention all this software is completely free of charge.
This book explains how to set up a Raspberry Pi for use as a NAS Server. We'll look at hardware options, downloading and installing the operating system and Openmediavault software, how to configure your hard drives (either with a single hard drive or as a dual-drive RAID system), folders, and files, how to get files into the Pi from other places in the house, and how to access everything from other devices on the network using secure user accounts. It's all you need to know, and only what you need to know!
Brian Schell
Brian Schell is a College English Instructor who has an extensive background in Buddhism and other world religions. After spending time in Japan, he returned to America where he created the immensely popular website, Daily Buddhism. For the next several years, Schell wrote extensively on applying Buddhism to real-world topics such as War, Drugs, Tattoos, Sex, Relationships, Pet Food and yes, even Horror Movies. Twitter: @BrianSchell Facebook: http://www.Facebook.com/Brian.Schell Web: http://BrianSchell.com
Read more from Brian Schell
Old-Time Radio Listener's Guide to X Minus One Rating: 0 out of 5 stars0 ratingsGoing Text: Mastering the Command Line Rating: 4 out of 5 stars4/5Building a Plex Server with Raspberry Pi Rating: 0 out of 5 stars0 ratingsGoing iPad (Third Edition): Making the iPad Your Only Computer Rating: 5 out of 5 stars5/5Teaching and Learning in Japan: An English Teacher Abroad Rating: 0 out of 5 stars0 ratingsWriting and Self-Publishing Your Book on the iPad Rating: 0 out of 5 stars0 ratingsJess and the Monsters Season One: Jess and the Monsters Rating: 0 out of 5 stars0 ratingsJess and the Carnival Killer Rating: 0 out of 5 stars0 ratingsRandom Acts of Cloning: The Complete Series Rating: 0 out of 5 stars0 ratingsComputing with the Raspberry Pi: Command Line and GUI Linux Rating: 0 out of 5 stars0 ratingsJess and the Demon Zombies Rating: 0 out of 5 stars0 ratingsRandom Acts of Cloning: Mutations Rating: 0 out of 5 stars0 ratingsJess and the Swamp Monster Rating: 0 out of 5 stars0 ratingsDOS Today: Running Vintage MS-DOS Games and Apps on a Modern Computer Rating: 0 out of 5 stars0 ratings
Related to Building a NAS Server with Raspberry Pi and Openmediavault
Related ebooks
Raspberry Pi Server Essentials Rating: 0 out of 5 stars0 ratingsRaspberry Pi for Secret Agents Rating: 4 out of 5 stars4/5Arch Linux: Fast and Light! Rating: 3 out of 5 stars3/5The Official Raspberry Pi Beginner's Guide: How to use your new computer Rating: 4 out of 5 stars4/5Learning Raspberry Pi Rating: 0 out of 5 stars0 ratingsHamshack Raspberry Pi: How to Use the Raspberry Pi for Amateur Radio Activities Rating: 0 out of 5 stars0 ratingsRaspberry Pi Cookbook for Python Programmers Rating: 0 out of 5 stars0 ratingsRaspberry Pi :The Ultimate Step by Step Raspberry Pi User Guide (The Updated Version ) Rating: 4 out of 5 stars4/5Raspberry Pi 3 Model B for Beginners: Explore What Raspberry Pi 3 Model B Can Do Rating: 0 out of 5 stars0 ratingsRP2040 Assembly Language Programming: ARM Cortex-M0+ on the Raspberry Pi Pico Rating: 0 out of 5 stars0 ratingsLearning Raspbian Rating: 5 out of 5 stars5/5Introducing VirtualBox & Debian: MyOwnGeek, #1 Rating: 0 out of 5 stars0 ratingsRaspberry Pi Home Automation with Arduino - Second Edition Rating: 0 out of 5 stars0 ratingsBuild Your Own Car Dashboard with a Raspberry Pi: Practical Projects to Build Your Own Smart Car Rating: 0 out of 5 stars0 ratingsHow to Build a Computer: The Best Beginner's Guide to Building Your Own PC from Scratch! Rating: 0 out of 5 stars0 ratingsRaspberry Pi 2 Server Essentials Rating: 0 out of 5 stars0 ratingsRaspberry Pi: Amazing Beginners Guide on How to Start Using Raspberry Pi Rating: 0 out of 5 stars0 ratingsRaspberry Pi 3 Projects for Java Programmers Rating: 0 out of 5 stars0 ratingsHow to Do Everything: Ubuntu: Ubuntu Linux Rating: 0 out of 5 stars0 ratingsRaspberry Pi By Example Rating: 0 out of 5 stars0 ratingsSoftware-defined radio Second Edition Rating: 0 out of 5 stars0 ratingsPenetration Testing with Raspberry Pi Rating: 5 out of 5 stars5/5The Official Raspberry Pi Handbook 2023: Astounding projects with Raspberry Pi computers Rating: 0 out of 5 stars0 ratingsImplementing Cloud Storage with OpenStack Swift Rating: 0 out of 5 stars0 ratingsAdvanced Home Automation Using Raspberry Pi: Building Custom Hardware, Voice Assistants, and Wireless Nodes Rating: 0 out of 5 stars0 ratingsLinux kernel A Complete Guide - 2019 Edition Rating: 0 out of 5 stars0 ratingsAntennas for Portable Devices Rating: 0 out of 5 stars0 ratingsGPlus: Google Plus Strategies, Profiles, Circles, Communities, & Hangouts. A DivaPreneurs Quick Start Guide to Google Plus Rating: 0 out of 5 stars0 ratingsRust for the IoT: Building Internet of Things Apps with Rust and Raspberry Pi Rating: 0 out of 5 stars0 ratings
Networking For You
Group Policy: Fundamentals, Security, and the Managed Desktop Rating: 5 out of 5 stars5/5Cybersecurity: The Beginner's Guide: A comprehensive guide to getting started in cybersecurity Rating: 5 out of 5 stars5/5CompTIA Network+ Practice Tests: Exam N10-008 Rating: 0 out of 5 stars0 ratingsA Beginner's Guide to Ham Radio Rating: 0 out of 5 stars0 ratingsNetworking For Dummies Rating: 5 out of 5 stars5/5SharePoint For Dummies Rating: 0 out of 5 stars0 ratingsLinux Bible Rating: 0 out of 5 stars0 ratingsAWS Certified Cloud Practitioner Study Guide: CLF-C01 Exam Rating: 5 out of 5 stars5/5The Windows Command Line Beginner's Guide: Second Edition Rating: 4 out of 5 stars4/5Home Networking Do-It-Yourself For Dummies Rating: 4 out of 5 stars4/5The Compete Ccna 200-301 Study Guide: Network Engineering Edition Rating: 5 out of 5 stars5/5Quantum Computing For Dummies Rating: 3 out of 5 stars3/5Emergency Preparedness and Off-Grid Communication Rating: 3 out of 5 stars3/5Microsoft Azure For Dummies Rating: 0 out of 5 stars0 ratingsRaspberry Pi Electronics Projects for the Evil Genius Rating: 3 out of 5 stars3/5Computer Networking: An introductory guide for complete beginners: Computer Networking, #1 Rating: 5 out of 5 stars5/5Networking All-in-One For Dummies Rating: 5 out of 5 stars5/5CompTIA Network+ Certification Guide (Exam N10-008): Unleash your full potential as a Network Administrator (English Edition) Rating: 0 out of 5 stars0 ratingsCompTIA Network+ Study Guide: Exam N10-009 Rating: 0 out of 5 stars0 ratingsMicrosoft Certified Azure Fundamentals Study Guide: Exam AZ-900 Rating: 0 out of 5 stars0 ratingsConcise and Simple Guide to IP Subnets Rating: 5 out of 5 stars5/5Windows Command Line Administration Instant Reference Rating: 0 out of 5 stars0 ratingsProgramming Arduino: Getting Started with Sketches Rating: 4 out of 5 stars4/5A Practical Guide Wireshark Forensics Rating: 5 out of 5 stars5/5Closing the Loop: Systems Thinking for Designers Rating: 0 out of 5 stars0 ratingsNetworking Fundamentals: Develop the networking skills required to pass the Microsoft MTA Networking Fundamentals Exam 98-366 Rating: 0 out of 5 stars0 ratings
Reviews for Building a NAS Server with Raspberry Pi and Openmediavault
0 ratings0 reviews
Book preview
Building a NAS Server with Raspberry Pi and Openmediavault - Brian Schell
Building a NAS Server with Raspberry Pi and Openmediavault
Brian Schell
BlueHouseBooks.comBuilding a NAS Server with Raspberry Pi and Openmediavault
Copyright 2020 by Brian Schell.
All Rights Reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or in any means – by electronic, mechanical, photocopying, recording or otherwise – without prior written permission.
Raspberry Pi, openmediavault, and other products mentioned within are trademarks owned by their respective companies. This book is not affiliated in any way with any group mentioned.
Written and designed by: Brian Schell
ISBN: 9798632268356
Version Date: March 31, 2020
Contents
Introduction
Required Hardware
Setting up the Devices
Using your Raspberry Pi Remotely
First-Time Raspbian Setup
Installing Openmediavault
Configuring Openmediavault
Setting up a Dual-Drive RAID System
Connecting to a Shared Drive on the Network
Bulk Copying Files
Your Back-Up Plan
Troubleshooting Checklist
Upgrades
Conclusion
About the Author
Also by Brian Schell
Introduction
What does this book cover?
Put simply, this book covers all the steps necessary to build and configure a basic Network Attached Storage system using a Raspberry Pi and one or more hard drives. We’ll look at buying and assembling a Raspberry Pi, how to download, install, and configure the Linux operating system, and how to download, install and configure the basic Openmediavault server software. All of this assumes you’ve never touched a Raspberry Pi or Linux before; it’s a step-by-step book for non-techies.
We then look at two basic hardware configuration types: One with a single hard drive and the other with a dual-drive RAID setup, both of which can be expanded and customized quite a bit.
On the more advanced side, we will not be looking at Openmediavault plugins or Docker containers, as these are so specialized they simply aren’t necessary for a basic NAS system. This is not an advanced configuration manual, nor does it cover every single option in the Openmediavault software. It’s what you need to know, and only what you need to know to get yourself a reliable, working, inexpensive NAS setup!
Note that there a bazillion steps involved in configuring a NAS (only a mild exaggeration). If at some point, you get lost or think you may have missed something, skip ahead to the Troubleshooting Checklist
chapter, where all the steps are laid out for you in a more basic form. If you accidentally skipped something, this list should be of help in tracking it down.
What is a NAS Server?
First things first, NAS stands for Network Attached Storage,
and it is just what it sounds like. It’s storage (hard drives) for your files that are attached to a network. Instead of simply plugging an external or internal hard drive into your working computer, you have essentially a file server located somewhere in your home or office that offers access to files for any device on the premises, taking into account security settings that you can set up. This file server does nothing except act as a go-between between the network and the hard drives. Since this task is fairly light, processor-wise, a simple computer like a Raspberry Pi is just perfect for the task.
The software we will be installing to make this happen is called Openmediavault, or OMV for short. It’s an open source project that is heavily developed and still getting new features regularly. It also allows new functions to be added via a plugin feature. OMV is the NAS software, but it all runs on the Linux operating system, which means it’s stable and very reliable, not to mention all this software is completely free of charge.
What is a Raspberry Pi?
This product with a silly name is actually a pocket-sized computer. This little box that fits in your pocket is as powerful as any computer you could buy ten years ago. That doesn’t sound particularly impressive, but considering the tiny size and price of the Pi, it really is. Although you can set up a spare full-sized computer as your NAS server, a Raspberry Pi (RPI) is more than good enough for this project, and the whole system, bought new with everything you need, will only run you around $55, so it’s much less expensive than buying a full-sized computer; probably even cheaper than buying most used PCs.
This book will focus on setting up a Raspberry Pi computer, installing and configuring the hard drive(s) and the Openmediavault software on it, and getting your files into the new system.
What’s the catch?
Well, the tricky part
is that the Raspberry Pi computer runs Linux rather than Windows or MacOS, so it may require some learning to set up and use. That’s the point of this book: to get you from knowing absolutely nothing about Linux or the Raspberry Pi to having a fully-working OMV file server.
Is This Safe?
This