Home Man
Search
Today's Posts
Register

Students must use and complete the template provided. If you do not use the template your post may be deleted! Special homework rules apply here.

Question about setting up an hdd for a videoserver

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 02-03-2017
Question about setting up an hdd for a videoserver

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:
You want to set up a hard drive for a videoserver under linux.
- The videofiles will have a size of at least 10MB and a maximum of 8BG.
- The hard drive has a disk space of 1TB.
- You can choose one of the following block sizes: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024kB.

Which block size do you choose for the filesystem and what's the maximum number of I-Nodes you would need.

Additionally you also want to set up another filesystem for administrative data under the same conditions as above. The files have an average size of 150 Byte and the Filesystem is supposed to have a size of 100MB. Which block size do you choose.

2. Relevant commands, code, scripts, algorithms:

3. The attempts at a solution (include all code and scripts):

I suppose the maximum amount of i-nodes for a 1TB hard drive is around 31M since there's 1 i-node created for every 32KB of space. But as for the block sizes, I have no idea what to choose. I imagine 1MB would work to not fragment the files too much.

Any help is much appreciated.

4. Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):

University of Spplied Sciences, Trier, Germany, Systemadministration


Note: Without school/professor/course information, you will be banned if you post here! You must complete the entire template (not just parts of it).
# 2  
Old 02-03-2017
You can't really say "there's an inode every 32kb" when you aren't told what filesystem is used.

For cluster sizes, you probably aren't off the mark. The number of inodes you will need is 1TB divided by 10MB.

The little filesystem is the opposite extreme, no point using clusters larger than the minimum.
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Question about setting up a hard drive for a videoserver under Linux Eggsy UNIX for Beginners Questions & Answers 1 02-03-2017 08:03 AM
Help setting ACL's wilberforce UNIX for Beginners Questions & Answers 0 07-18-2016 05:45 AM
Is there a difference between setting a user as nologin and setting it as a role? os2mac Solaris 1 09-12-2013 07:27 AM
JVM Setting aajmani AIX 1 09-27-2008 05:01 AM
Question about Setting Flags chris1234 UNIX for Dummies Questions & Answers 2 04-11-2008 12:43 PM
ssh setting kwliew999 AIX 11 07-10-2007 11:57 AM
Basic question about setting up new users FredSmith UNIX for Dummies Questions & Answers 2 11-03-2005 01:49 AM
Setting the UID in Mac OS X noahcowan OS X (Apple) 1 06-07-2004 10:41 PM
setting ACL's andy_kann Security 5 07-13-2001 05:10 PM


All times are GMT -4. The time now is 05:22 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password