A portable, low-cost Network Attached Storage (NAS) system built using a Raspberry Pi 2 Model B and OpenMediaVault. Perfect for local file sharing, backups, and home lab experimentation.
| Component | Description |
|---|---|
| 🧠 Raspberry Pi 2 Model B v1 | The main controller |
| 💾 SD Card (8GB or more) | Storage for OS and OMV |
| 🔌 Power Supply | Micro-USB adapter for powering the Pi |
| 🌐 Ethernet Cable | For network access via LAN |
| 📱 USB Drive / NVMe SSD | For NAS storage (via USB adapter) |
| 🌍 Internet Connection | Required for installation and updates |
- About The Project
- Key Features
- Hardware & Software
- Installation & Setup Guide
- Performance & Monitoring
- Future Scope
- License
PocketPi transforms a Raspberry Pi into a functional Network Attached Storage (NAS) device. It serves as a cost-effective and power-efficient alternative to commercial NAS solutions, making it ideal for students, hobbyists, and anyone looking to set up a personal cloud for offline backups or a shared drive for a small home network.
The entire system is managed through the OpenMediaVault (OMV) web interface, eliminating the need for a dedicated monitor or keyboard after the initial setup.
- 🖥️ Fully Headless: Configured and managed remotely via SSH and a web browser.
- 💽 Flexible Storage: Use any USB-connected storage device (Flash Drive, HDD, or SSD).
- 🌐 Web-Based Management: An intuitive OpenMediaVault UI for managing storage, users, and services.
- 🤝 Standard File Sharing: Supports
SMB/CIFSfor Windows/macOS/Linux clients andNFSfor Linux/macOS clients. - 🔌 Plug-and-Play: Easy to set up on your local network.
- Raspberry Pi: Raspberry Pi 2 Model B
- Storage: 32GB USB Flash Drive (or any other USB storage)
- Power Supply: 5V, 2A micro-USB Power Adapter
- Network: Ethernet Cable
- Operating System: Raspberry Pi OS Lite (32-bit)
- NAS Software: OpenMediaVault 6 (OMV)
- Remote Access: SSH client (like PuTTY or Terminal)
Follow these steps to build your own PocketPi.
- Download the Raspberry Pi Imager.
- Choose "Raspberry Pi OS Lite (32-bit)".
- In the advanced options, enable SSH and set a
piuser password. This is crucial for headless setup. - Flash the OS to your microSD card.
- Insert the microSD card, connect the Ethernet cable and USB storage drive, and power on the Pi.
- Find your Pi's IP address from your router's admin page.
- SSH into the Pi:
ssh pi@<YOUR_PI_IP_ADDRESS> - Run the OMV installation script. This single command installs everything you need:
wget -O - [https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install](https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install) | sudo bash
- Once the script finishes, access the OMV web UI by navigating to http://<YOUR_PI_IP_ADDRESS> in a browser.
- File System Setup:
- Navigate to Storage -> File Systems.
- On Windows, open File Explorer, right-click "This PC," and select "Add a network location."
- Enter the path to your share.
- Enter the username and password you created in OMV.
The system performance is suitable for basic file transfers and backups. The Raspberry Pi 2 B is limited by its 10/100 Mbps Ethernet port and shared USB bus, resulting in transfer speeds of around 7-9 MB/s.
You can monitor CPU, memory, and network usage directly from the OMV dashboard.
- RAID Implementation for data redundancy
- Port forwarding for remote NAS access
- VPN integration for secure connections
- Advanced firewall rules
- Multi-user authentication with permissions
This project is licensed under the MIT License - see the LICENSE file for details.



