How to made a NAS configuration like with ubuntu server

Asked by Paul D

Hiya!

I would like to use my old server as NAS. Online I found many different ready-to-go solutions like FreeNAS, OpenFiler and etc. But they all come with live CDs and require a whole OS to be installed.

So far Ubuntu Server has proven to be a very reliable and quite straight-forward OS. Is there any way to turn Ubuntu Server into NAS? So that some folder or partition on the server hard drives would be seen as NAS to other Windows and Linux based computers? I heard about configuring ftp on Ubuntu, but it seems not exactly what I would need. Although I would like to make NAS, I still need some other features of Ubuntu Server

I quite new to Ubuntu, but not beginner. Would there be any application and/or packages that I would have to install in order to make NAS?

I would be very grateful if someone could point me in the right direction. Hopefully this came up somewhere already.

Thanks!

Paul

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu samba Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You can install openssh-server and connect securely and file transfer.

Revision history for this message
Paul D (pavster) said :
#2

I though of this... but I need to make Ubuntu server work like hardware NAS, so that Windows based computers would see it the server as NAS. FreeNAS does it, but Id like to have it as an application on the server or configure the server to act like NAS.

I want to make it be seen as a NAS disk to be seen like separate network disk. OpenSSH wouldn't work, becayse the back-up software I use on Windows computers doesn't support SSH, but supports ftp and network disks.

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#3

http://paperjammed.com/wp-content/uploads/2009/02/20090214-creating-a-basic-nas-with-ubuntu-linux.pdf

You can simply share the folders you need using Samba and the shares will be accessible like a windows system sharing a folder.

Revision history for this message
Paul D (pavster) said :
#4

Thanks! I'll try doing it this way. Good manual!

I'm still a bit confused... Will these folders be seen as FTP by my back-up software or would the server have to be configured as an FTP server like some other users say on the forum?

Would other users be asked for a password or any credentials when connecting to the network folder? Together with that, will it be in any way possible to configure folders in a way they will be seen as network drivers to each user? At the end of the manual above it says that it has to be configured with Samba in some way... Unfortunately I couldn't find anything straight-forward instructions online.

Also if I have two HDDs in the server and a few partitions on the HDD I intend to install Ubuntu on, can I make the second drive and other partitions also be seen on the network?

Thanks!

Paul

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

You can setup an FTP server if you need FTP. It's not very secure at all. SSH will give you SFTP functionality and will be secure.

You can use Samba to share folders and they will be visible as Windows shares, or you can use sshfs under Linux systems (and with 3rd party apps in windows).

You simply have to share the folders you want to share using any technology you choose.

Revision history for this message
Paul D (pavster) said :
#6

Now I understand. This now solves the problem for Linux computers. Unfortunately my Windows back-up solution doesn't support SFTP. Only FTP. If it's not secure enough I guess I won't bother setting it up... Also files larger than 2Gb can't be handled by FTP.

 Is there any other way I can solve this? Having just a shared folders would be not safe enough. Is it possible to make a particular folder be seen only by particular computer? As I found online, having virtual network drives (like with hardware NAS) would completely solve the problem with Windows computers. I managed to configure shared folder.

But is there any way to make shared folders be seen as network drives?

Thanks!

Revision history for this message
Launchpad Janitor (janitor) said :
#7

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Paul D (pavster) said :
#8

--- On Tue, 9/11/10, Launchpad Janitor <email address hidden> wrote:

> From: Launchpad Janitor <email address hidden>
> Subject: Re: [Question #130750]: How to made a NAS configuration like with ubuntu server
> To: <email address hidden>
> Date: Tuesday, 9 November, 2010, 8:48
> Your question #130750 on samba in
> ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/samba/+question/130750
>
>     Status: Open => Expired
>
> Launchpad Janitor expired the question:
> This question was expired because it remained in the 'Open'
> state
> without activity for the last 15 days.
>
> --
> If you're still having this problem, you can reopen your
> question either
> by replying to this email or by going to the following page
> and
> entering more information about your problem:
> https://answers.launchpad.net/ubuntu/+source/samba/+question/130750
>
> You received this question notification because you are a
> direct
> subscriber of the question.
>

Revision history for this message
Paul D (pavster) said :
#9

still having problem... Really need to create virtual hard drives to create clone copies of my existing desktop one for backup purposes!
--- On Tue, 9/11/10, Launchpad Janitor <email address hidden> wrote:

> From: Launchpad Janitor <email address hidden>
> Subject: Re: [Question #130750]: How to made a NAS configuration like with ubuntu server
> To: <email address hidden>
> Date: Tuesday, 9 November, 2010, 8:48
> Your question #130750 on samba in
> ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/samba/+question/130750
>
>     Status: Open => Expired
>
> Launchpad Janitor expired the question:
> This question was expired because it remained in the 'Open'
> state
> without activity for the last 15 days.
>
> --
> If you're still having this problem, you can reopen your
> question either
> by replying to this email or by going to the following page
> and
> entering more information about your problem:
> https://answers.launchpad.net/ubuntu/+source/samba/+question/130750
>
> You received this question notification because you are a
> direct
> subscriber of the question.
>

Revision history for this message
Launchpad Janitor (janitor) said :
#10

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Paul D (pavster) said :
#11

Got it solved! I'll create a shared folder. Thanks actionparsnip!

Revision history for this message
Paul D (pavster) said :
#12

Solved it.

Revision history for this message
Paul D (pavster) said :
#13

Thanks actionparsnip, that solved my question.