- Joined
- Dec 1, 2010
- Location
- Doylestown, Ohio
This worklog is as much for me as for anyone looking to do something similar. First, I need to thank thideras and cw832, much of the info contained herein has come either directly or indirectly from them.
Everything will on the server will be done with the terminal / ssh. One of the first things we will do is install ssh.
I’ve very open to critique / suggestions with the file server. I know that there are smarter people out there than me.
I’ve been fooling around with this for a bit in VMs and have had freenas and WHS2011 running on this hardware. After losing my WHS2011 disk, not really appreciating WHS2011, and having random issues with freenas 8, I decided to go back to Ubuntu and mdadm.
I’d use Ubuntu Server, but my motherboard doesn’t like it. Everything I do here, should also work for Ubuntu Server.
Goals: Expandable and portable fileserver. RAID with email notifications. Webmin. Not having to touch the server unless a hard drive does fail.
Current Hardware:
I plan on replacing the motherboard/cpu/ram when I need to expand next.
CPU: 2 X Xeon 3.2GHZ Nocona
Motherboard: Asus NCL-DE/1U/2GBL
RAM: 512mb x 8 DDR 400 ECC
HDD: 8 X Hitachi 7K1000 750GB
HDD: 160GB WD
RAID Controller: Dell PERC 5/i
I started with the intent of using purely hardware raid, but I’ve realized that expansion with the PERC card is impossible, and that mdadm is VERY flexible.
mdadm is also very portable. I can replace all the hardware, and run one command to recreate the array with no data loss. I also have no use for the speed that hardware raid can provide.
Security:
I’m not using user authentication. I will use samba’s ‘Hosts allow’ feature to grant access, along with DHCP reservation on my router. I’m not going to be paranoid and worry about MAC spoofing.
Table of Contents
The Tutorial
Everything will on the server will be done with the terminal / ssh. One of the first things we will do is install ssh.
I’ve very open to critique / suggestions with the file server. I know that there are smarter people out there than me.
I’ve been fooling around with this for a bit in VMs and have had freenas and WHS2011 running on this hardware. After losing my WHS2011 disk, not really appreciating WHS2011, and having random issues with freenas 8, I decided to go back to Ubuntu and mdadm.
I’d use Ubuntu Server, but my motherboard doesn’t like it. Everything I do here, should also work for Ubuntu Server.
Goals: Expandable and portable fileserver. RAID with email notifications. Webmin. Not having to touch the server unless a hard drive does fail.
Current Hardware:
I plan on replacing the motherboard/cpu/ram when I need to expand next.
CPU: 2 X Xeon 3.2GHZ Nocona
Motherboard: Asus NCL-DE/1U/2GBL
RAM: 512mb x 8 DDR 400 ECC
HDD: 8 X Hitachi 7K1000 750GB
HDD: 160GB WD
RAID Controller: Dell PERC 5/i
I started with the intent of using purely hardware raid, but I’ve realized that expansion with the PERC card is impossible, and that mdadm is VERY flexible.
mdadm is also very portable. I can replace all the hardware, and run one command to recreate the array with no data loss. I also have no use for the speed that hardware raid can provide.
Security:
I’m not using user authentication. I will use samba’s ‘Hosts allow’ feature to grant access, along with DHCP reservation on my router. I’m not going to be paranoid and worry about MAC spoofing.
Table of Contents
The Tutorial
1. OS Installation and SSH Configuration
2. Samba, mdadm, webmin installation
3. Creating the mdadm RAID array
4. Creating the samba share
5. Setting up email notifications
Worklog2. Samba, mdadm, webmin installation
3. Creating the mdadm RAID array
4. Creating the samba share
5. Setting up email notifications
Last edited: