LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-05-2010, 02:28 PM   #1
blood_omen
Member
 
Registered: Apr 2004
Location: Canada
Distribution: OpenBSD 3.6, Slackware 10.1
Posts: 134

Rep: Reputation: 15
Using Linux to unify or consolidate storage


I apologize if this email is out of place, but I have the following personal project and I have been searching over the internet to try to find the best possible solution. We are not a big company and I am trying to implement some sort of SAN or NAS to consolidate my storage.

I have a whole bunch of PCs that are not longer in use and are just collecting dust, I'm trying to (in case it is possible) to somehow put them all to work as a single unit and use their hard drives or add more hard drives, to create a Storage Area Network. Is it possible, using Linux or BSD, to achieve this goal. Are there any recommendations as to where to start with this? I am eager to learn new things, I have experience using BSD and GNU/Linux, I just want to know which direction to go in order to achieve my goal.

Thanks and have a nice day
 
Old 05-05-2010, 02:45 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
A SAN doesn't typically work like a bit bucket (eg: combining storage of 5-6 different machines into one storage item that can be presented to hosts). If you can get the drives all in one machine or something similar then you can present that storage to other machines as a NAS or SAN (whichever is appropriate).

If you're on a budget I'd say take a look at openfiler or freenas (I prefer the later.)
 
Old 05-05-2010, 02:53 PM   #3
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Sure.

1. Your first problem is hardware:

What drive types are these?
Are they compatible with each other?
Are they compatible with your HDD controller(s)?
How many HDD drives does your controller(s) permit together in a single PC?
Etc etc
<= These are all questions you need to answer for your particular hardware mix

2. Second, it sounds like (to whatever extent possible), you want to access multiple *physical* drives as a single *logical drive*.
So you need a Linux distro that supports "logical volume management".
Which, fortunately, is most of 'em

3. Finally, you want to decide how to "publish" your logical volumes across the network. NFS? Samba? "Something else"?

Independent of these considerations, you might also want to look at solutions like FreeNAS:

http://freenas.org/freenas

'Hope that helps .. PSM
 
Old 05-05-2010, 03:11 PM   #4
blood_omen
Member
 
Registered: Apr 2004
Location: Canada
Distribution: OpenBSD 3.6, Slackware 10.1
Posts: 134

Original Poster
Rep: Reputation: 15
@paulsm4

1. Hardware problems
Most of the PCs are Dell Dimension 2350, if hardware has to be exactly the same I can use those, which I have plenty.
They all have IDE drives.
I can have 2 drives per channel.

2. Yes, that's exactly what I am hoping for, grab all the small PCs, put them all to work as in a "cluster" and present the physical hard drives as logical volumes.
The GNU/Linux distribution is immaterial, I prefer Slackware, which is the ditro I have more experience with, but it could be debian, CentOS, whichever distro, BSD even, as long as I can, if possible, achieve my goal.

3. 99.9% of my clients and servers run on Windows, so I believe Samba will be the most acceptable way to publish the volumes, but it can be iSCSI, ZFS, etc. I started looking into Windows Storage Server 2008, but I didn't get very far, could not find good sources of documentation to achieve my goal.

If FreeNas can accomplish this, I will be more than happy to use it. Again, I am trying to use the most cost effective and highest performance possible, for this initial stage the resources are my plethora of PCs, the internet to download GNU/Linux or BSD and 0 dollars.

Thanks,
 
Old 05-11-2010, 10:45 AM   #5
blood_omen
Member
 
Registered: Apr 2004
Location: Canada
Distribution: OpenBSD 3.6, Slackware 10.1
Posts: 134

Original Poster
Rep: Reputation: 15
This is just a follow up,

I did manage to somehow accomplish my goal, I ended up using FreeNAS, put together 3 of the PC (I have more identical ones, just used three for research and testing).

I will explain my configuration in the hope that someone can point me some tips on how to increase the performance.

For convinience I will call the PCs PC0, PC1 and PC2. They are all P4 with 1 GB of RAM and 50 GB IDE HDD. PC1 and PC2 where configured as iSCSI target, while PC0 has the iSCSI initiator plus the CIFS service. I created a RAID 5 in PC0 using 2 10GB iSCSI volumes from PC1 and 2 10GB iSCSI volumes from PC2, then I mounted that Raid5 volume and I was able to access the share from my computer.

While I am quite sure it mightn ot be the best solution to this for the moment it worked, although, I'm still hoping that some of you might have some advice that could help me increase the performance of this. Just as a reference, it took about 9 hours to build a 30GB Raid5, although I don't know if this is expected.

Well I just wanted to share some of my experience of the last few days on how to put together a really cheap NAS/SAN.

Have a nice day.
 
Old 05-18-2010, 11:09 AM   #6
Randeep
LQ Newbie
 
Registered: Apr 2010
Location: Bangalore
Distribution: Redhat, Centos
Posts: 25

Rep: Reputation: 0
Try openfiler.

Here is a full implementation link.

http://helpinlinux.blogspot.com/2010...openfiler.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Intel, Nokia aim to unify mobile Linux ecosystem with MeeGo LXer Syndicated Linux News 0 02-16-2010 05:30 AM
LXer: Would a 2nd Sandbox Unify the Fragmented Linux Mobile Market? LXer Syndicated Linux News 0 04-08-2009 10:50 PM
LXer: IDC: Linux server shipments shrink as enterprises consolidate ... LXer Syndicated Linux News 0 03-07-2007 09:01 PM
InformationWeek: IBM, Industry Group To Consolidate Linux Patents russellh Linux - News 1 11-23-2005 02:53 PM
Consolidate Partitions? marcheikens Linux - General 2 01-17-2004 12:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration