LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-18-2005, 11:18 AM   #1
The Milkman
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
Best configuration for home file/web server?


Hello everyone. I am currently running Suse 9.2. I am in the process of phasing out my current Windows 2000 Server machine to replace it with the Suse 9.2 box. The purpose of the machine is to act as a local file server (for my home LAN), web server and ftp server. All three servers are to have access to the same files. Probably about 400 GB worth of data. Of course the web/ftp server will have access restrictions.

My question is this.......what is the best configuration of my drives? Ext2, ext3 or reiser? Where should these drives be mounted? Should the mount points be within the user folder (public_html)? Also, when I hooked up one 200 GB drive and formatted it with ext2, there was about 9GB used but I had no data on it. Any ideas?

I appreciate any help. I am trying my best to learn Linux and get away from MS.
 
Old 01-18-2005, 01:02 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,805

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
By default when you format a partition with an ext2/3 5% is reserved for root. This space is supposed to reduce fragementation and allow root to log on in case the filesystem becomes full. You can use tune2fs to change the setting.

ext3 is good because you can use all of the ext2 filesystem utilities. reiserfs is faster if you have lots of small files.

You can create a common directory anywhere but I wouldn't stick in a /home/user directory.
 
Old 01-18-2005, 01:05 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Quote:
Originally posted by michaelk
ext3 is good because you can use all of the ext2 filesystem utilities. reiserfs is faster if you have lots of small files.
Almost ... undelete doesn't work. Which would be the
only advantage of ext over reiser :)



Cheers,
Tink
 
Old 01-18-2005, 01:10 PM   #4
jacks4u
Member
 
Registered: Dec 2004
Location: Phoenix, Arizona, USA
Distribution: Debian, RedHat, ???
Posts: 56

Rep: Reputation: 15
For a network fileserver, resistance to failure wuld seem to be important. When I used ext2, if there was a power failure, or the machine was improperly shut down, sometimes there was filesystem corruption of one sort or another. With ext3 this was reduced, if not eliminated, and now I'm using Reiserfs, and have had no instances of filesystem corruption, of any type. I should think this is an important issue.

The OS, it's binaries and config settings can be duplicated with a little work and an install CD, but the data --That's the important stuff. It cannot be eaily duplicated, unless restored from backup. A robust, fault resistant file system should be important in your situation.

You don't indicate the intended purpose for this system, other than file service. Do you intend to offer all these files to the public? Or will there be a limited number of users? Will the list of files stored on this system grow? Will the general public be able to add new files? will the primary user interface be the user's web browser? or will users have shell access?

There is a recent thread [url http://www.linuxquestions.org/questi...hreadid=270357 Here] that has info about the apache module 'mod_userdir' that might help

jacks4u

Last edited by jacks4u; 01-18-2005 at 01:16 PM.
 
Old 01-18-2005, 01:55 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,805

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Quote:
Almost ... undelete doesn't work.
Thanks for the correction. Knock on wood I've never had to recover data from linux. However, I can't say the same thing for windows...
 
Old 01-18-2005, 05:37 PM   #6
The Milkman
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by jacks4u
You don't indicate the intended purpose for this system, other than file service. Do you intend to offer all these files to the public? Or will there be a limited number of users? Will the list of files stored on this system grow? Will the general public be able to add new files? will the primary user interface be the user's web browser? or will users have shell access?

There is a recent thread [url http://www.linuxquestions.org/questi...hreadid=270357 Here] that has info about the apache module 'mod_userdir' that might help

jacks4u
I really appreciate all these responses. To answer some of the questions above......the intent of the server is really for myself and a few friends. I want to have accessibilty to pictures, music and other files from anywhere via a web browser or FTP. There will be the occassional upload but usage and traffic is very limited. No more than one user at a time would occur.

Based on these repsonses I think I will reformat using reiser FS.

Now why wouldn't I want to include all the data in a user folder? Where would it be mounted then? I would then have to set up the folder to accept other users to access and write to.

Another thing....forgive this MS mentality below but I would like to see where I am mistaken.

I will have, let's say, 4 drives total. 2 120GB's, 1 200GB, 1 160GB. Does it make sense to make a folder which then has 4 folders titled according to the drive? I assumed I would make the folder the mount point.

Thanks in advance.
 
Old 01-19-2005, 04:35 PM   #7
BinaryBob
Member
 
Registered: Aug 2002
Posts: 117

Rep: Reputation: 15
You may want to have all those drives appear as a single volume, which you can then mount. If this sounds good to you take a look at LVM http://www.tldp.org/HOWTO/LVM-HOWTO/
 
Old 01-19-2005, 07:53 PM   #8
jacks4u
Member
 
Registered: Dec 2004
Location: Phoenix, Arizona, USA
Distribution: Debian, RedHat, ???
Posts: 56

Rep: Reputation: 15
I will echo the previous message, because it really sounds like this is what you are looking for.

jaks4u
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Home Web Server Hardware purelithium Linux - Hardware 5 11-26-2005 08:33 PM
home web server croned Linux - Networking 11 05-01-2005 08:37 PM
Home Web Server procyon Linux - General 4 01-23-2005 06:12 PM
web server at home? amishdisco Linux - Networking 3 03-24-2004 03:14 PM
web server from home? khutze Linux - Networking 11 01-06-2003 03:22 PM


All times are GMT -5. The time now is 04:43 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration