Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » Installation Support

Post new topic   Reply to topic
Minimal optimal components for a NAS
View previous topic :: View next topic  
Author Message
DiMag
Junior Member


Joined: 28 May 2013
Posts: 9
Location: Athens, Greece

PostPosted: Tue May 28, 2013 10:17 am    Post subject: Minimal optimal components for a NAS Reply with quote

Beside CIFS and NFS (and optionally OpenLDAP), which servers are essential for a NAS? I assume it is safe to drop all mail-related servers, but is it also safe to drop httpd, mysqld, and squid? I want to build a NAS box just for file sharing in a Windows-centric network (in which there also is a single Linux desktop and several OpenELEC boxes, thus the need for NFS), and the only specifications are that (A) firstly, it handles RAID arrays to the extent that you can transfer to it a degraded array from your QNAP/Synology/Thecus box, and (B) secondly, that it implements Samba 4 AD as good as currently possible.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue May 28, 2013 5:13 pm    Post subject: Reply with quote

Instead of searching for dependencies, why won't you just disable the services you don't need...
A disabled service just consumes disk space and not system resources...
A full blown SMS install is under 3GB (~2,6GB) so space ain't the trouble.

To see what services running do from a terminal
Code:
smsconfig st

and stop and disable with
Code:
smsconfig [service] stop
smsconfig [service] off


Mail server consumes the most though and especially clamav so by just disabling clamav or all the mail server you save a lot of resources, and if you need basic local mail you can switch to sendmail...
More info at http://sms.it-ccs.com/forum/viewtopic.php?t=317

Running as NAS only, you need Samba and NFS and if you have Macs the netatalk (AFP) and might need a minimal mail server to notify you in a RAID degrade situation.

mysql and squid are not of any use, if you want an http server you can use nginx as well, although httpd ain't that hungry in SMS as in other distros.

I use SMS to recover degraded arrays, so you will have to problem with that, if you have knowledge about RAID recovery and mdadm usage...

For samba 4 domain controller follow the instructions at
http://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
and use bind9 for DNS and enable heimdal, although the how to is missing a few things will get you started...
I have in my plans to create a tutorial for samba 4 AD DC, when I find the time...

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » Installation Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional