Unix/Linux Go Back    


Homework & Coursework Questions 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

Homework & Coursework Questions


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 02-03-2017   -   Original Discussion by Eggsy
Eggsy's Unix or Linux Image
Eggsy Eggsy is offline
Registered User
 
Join Date: Feb 2017
Last Activity: 3 February 2017, 10:26 AM EST
Posts: 6
Thanks: 5
Thanked 0 Times in 0 Posts
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).
Sponsored Links
    #2  
Old Unix and Linux 02-03-2017   -   Original Discussion by Eggsy
Corona688's Unix or Linux Image
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 18 May 2018, 2:59 PM EDT
Location: Saskatchewan
Posts: 22,673
Thanks: 1,177
Thanked 4,321 Times in 3,984 Posts
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.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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
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
Question about Setting Flags chris1234 UNIX for Dummies Questions & Answers 2 04-11-2008 12:43 PM
Basic question about setting up new users FredSmith UNIX for Dummies Questions & Answers 2 11-03-2005 01:49 AM



All times are GMT -4. The time now is 04:44 PM.