Solved

Home Grown NAS?

Posted on 2009-04-08
17
797 Views
Last Modified: 2013-12-15
I recently got a good deal on some hard disks and wanted to leverage them to create a NAS.  I know that there are a lot of chassis' available on the market for something like this, but I was wondering if it is easy to create a home-grown model?

What I mean is, I have a spare PC laying around that isn't really doing anything useful.  Can I load some sort of bare-bones O/S like Linux to simply mount the drives on the network?  I am going to put a SATA raid card in as well, so maybe I will just spring for a NAS Chassis.

I would like something that can alert me in the event of a RAID array failure.

Suggestions?  Best idea gets the points.

Thanks in advance.
0
Comment
Question by:ged125
  • 7
  • 4
  • 3
  • +3
17 Comments
 
LVL 35

Accepted Solution

by:
torimar earned 400 total points
ID: 24103298
This may be the "barebones Linux" you are looking for: FreeNAS (http://www.freenas.org/index.php)

"FreeNAS is a free NAS (Network-Attached Storage) server, supporting: CIFS (samba), FTP, NFS, AFP, RSYNC, iSCSI protocols, S.M.A.R.T., local user authentication, Software RAID (0,1,5) with a Full WEB configuration interface. FreeNAS takes less than 32MB once installed on Compact Flash, hard drive or USB key."

Although it is more Unix than Linux ...
0
 
LVL 7

Expert Comment

by:dolomiti
ID: 24103346
hi ged,
you have to find a RAID (sata,scsi,sas) that has an agent in the guest OS
I know ServeRAID IBM (Adaptec IBM re-branded), they have, but they are
expensive.
Inside agent configuration, you can define an action, typically an e-mail, to do.

How many disks do you think to use, in which cfg (RAID1,10,JBOD or also 5),
and which bus have you in your spare PC ?

bye
vic
0
 
LVL 6

Author Comment

by:ged125
ID: 24103363
I have SATA.  It can be up to 6 disks in the array
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 2

Assisted Solution

by:rydersaint
rydersaint earned 100 total points
ID: 24103527
Hello ged125 and torimar
http://www.openfiler.com/
Is linux solution
However I prefer FreeNAS because you can go into the source and modify for your needs too
version 7 (still Alpha, not stable) has ZFS. This is better then raid and give you much more control and pools you HDD instead of raid magic numbers that (yuk)

ZFS http://opensolaris.org/os/community/zfs/
is really worth reading about if your going to do any NAS save you alot of hassles later on

Ryder
 
0
 
LVL 7

Expert Comment

by:Thomas Wheeler
ID: 24103554
I agree with rydersaint but I would use nexenta. I just built a home grown nas out of a shuttle PC with 2 sata cards and a sata / sas hot swap drive cage for 2.5" drives. ZFS is great.

0
 
LVL 6

Author Comment

by:ged125
ID: 24103585
Alpha not stable meaning not a solution?   Or does it work with minor bugs?
0
 
LVL 7

Expert Comment

by:Thomas Wheeler
ID: 24103604
Are you referring to nexenta? I have been using nexenta and opensolaris with ZFS and I love it. I have had no problems at all.
0
 
LVL 6

Author Comment

by:ged125
ID: 24103664
Airtop might be the winner.  I will validate tomorrow.  I would rather not have a Alpha level solution if I can avoid it.  Thanks to everyone for the input.  
0
 
LVL 7

Expert Comment

by:tankergoblin
ID: 24104638
NAS  is network attached storage, purpose is use to store file.
Now adays NAS allows you to setup FTP server, streaming server, etc.

Of course you can use your pc to create your own NAS. In fact NAS is a file server.
Just that NAS will be cheaper than pc server.
You can create NAS or file server using any OS that can connect to network or internet.
with pc server you can do more that share file and ftp file....
0
 
LVL 6

Author Comment

by:ged125
ID: 24108695
Ok, so I installed Nexenta and I am completely new to SunOS.  Airtop, can you shoot me a quick tutorial on getting it up and running?

Thanks
0
 
LVL 7

Expert Comment

by:Thomas Wheeler
ID: 24108807
You want to create your zfs and then setup your share

To find your connected disks
cfgadmin | grep "disk"

Create your pool
zpool create data raidz c1t1d0 c1t1d0 c2t1d0 c3t1d0
zpool status

zfs set sharesmb=on data

browse to \\ip\data


0
 
LVL 6

Author Comment

by:ged125
ID: 24110131
cfgadmin didn't end up working as a command.  Not sure why, I am logged in as a power user.

Also, question for Rydersaint:  I have been looking at FreeNAS and I like the interface.  However, it looks like ZFS should be a requirement.  That being said, how much testing have you done with version 7?  Realizing that it is still Alpha, how long before you would consider it stable?   Do they have a scheduled RC release?

Thanks
0
 
LVL 7

Expert Comment

by:Thomas Wheeler
ID: 24112792
it should be located in /usr/sbin/cfgadm and should be in your path. in any event you can use the commands above to create your pool. the example shows creating a raidz pool with 4 disks.
0
 
LVL 6

Author Closing Comment

by:ged125
ID: 31568322
I ended up going with FreeNAS.  I am testing version .7 and .69
0
 
LVL 2

Expert Comment

by:rydersaint
ID: 24133347
Hello ged125 and airtop

Version 7 I was running for quite some time
I found it really errors out when you use zfs and iscsi together (crash burn)
and you lose the web interface (due to memory) after awhile if you dont set up a swap partition
Other then that it was really good (still alpha though so expect the unexpected)

thank you  for the points
0
 
LVL 6

Author Comment

by:ged125
ID: 24133429
So I have already deployed 7 using a 1GB flash USB, but I didn't create a swap file because I have 2GB of RAM.  Do I still need to build one?  If so, can I do that without reinstalling?
0
 
LVL 2

Expert Comment

by:rydersaint
ID: 24133561
hello ged125

Yes I recommend you still add one as my server had 4GB
it explains howto  it under the swap area in the web interface
basically add another disk(partition / left over space) and place in the path to it

Ryder
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Drobo data gransfare rate over Ethernet is slow 4 37
DELL RAID MD 3260 Expansion 9 53
CLI command keep running after close 7 36
VMware vSAN 6.5 usage example and caveats 11 72
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question