Sponsored Content
Homework and Emergencies Homework & Coursework Questions Question about setting up an hdd for a videoserver Post 302990943 by Eggsy on Friday 3rd of February 2017 08:13:56 AM
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).
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Basic question about setting up new users

I currently have one user (USER1) that's a member of group 'A'. I want to create a bunch of users and have them all have access to READ all of USER1's files. Should I create all of the new users and have them all be members of a new group (group 'B')?? It looks like when USER1 creates a file it... (2 Replies)
Discussion started by: FredSmith
2 Replies

2. Solaris

Partioning HDD

Hi theres I am quite new to solaris, I have 40GB HDD in which I have created only 10 GB partition & installed solaris 10. Now I want to add another 10GB from remaining 30GB space. I tried this with format utility but I get stuck after I create fdsik partition. After creating this I cant... (1 Reply)
Discussion started by: i_mroy
1 Replies

3. SCO

SCO 5.0.7 and Serial ATA HDD question

Hi guys, I have this quick question , is it posible to isntall SCO 5.0.7 on a serial ATA and if it is can you tell me how or maybe a website that has some info about this. I'm not using any raid, just one HDD. Thanks a lot (0 Replies)
Discussion started by: josramon
0 Replies

4. UNIX for Dummies Questions & Answers

Question about Setting Flags

I have a script which will look for a test folder under the parent directory. If the folder contains test folder then create the same directory structure in other remote machine. Once the directories are created then transfer all the contents of that test folder. this is what i am doing :- ... (2 Replies)
Discussion started by: chris1234
2 Replies

5. UNIX for Dummies Questions & Answers

Old HDD copy to new HDD ? im lost...

Over the last few months the HDD spins louder and louder, so I fiqured its time to replace the HDD. Its been running 24/7/365 since 98 :eek:. yes i said since 98 :D I have an IBM system 43P Model 240. 233 MHz. running AIX Version 4. The current HDD is an IBM DGHS COMP IEC -950 FRU PN#... (5 Replies)
Discussion started by: Chevy89rocks
5 Replies

6. UNIX for Dummies Questions & Answers

How do I boot second HDD?

I have a Sun Blade 1500 (sparc) I have two HDD's both configured with Solaris 10. How do I chose at boot which HDD I want to use? I've had a look through the FAQ, also done a web search but haven't come up with requisite info. touch /reconfigure does not seem to help. Any suggestions... (8 Replies)
Discussion started by: lewtargett
8 Replies

7. UNIX for Dummies Questions & Answers

help me format hdd!!

i just got a copy of windows and when i go to install it, it says i cant because it needs an ntfs file system. can anyone help me format my hard drive through linux? (2 Replies)
Discussion started by: camroc84
2 Replies

8. Solaris

Is there a difference between setting a user as nologin and setting it as a role?

Trying to figure out the best method of security for oracle user accounts. In Solaris 10 they are set as regular users but have nologin set forcing the dev's to login as themselves and then su to the oracle users. In Solaris11 we have the option of making it a role because RBAC is enabled but... (1 Reply)
Discussion started by: os2mac
1 Replies

9. AIX

IBM AIX Internal HDD vs SAN HDD and Oracle

Hi Folks, I am facing an issue with the performance. P4 with 1 processor and 16 GB RAM and SAN HDD = Oracle report takes 25 minutes P5 with 2 processors and 16 GB RAM internall HDD with LPAR = Oracle Report takes 1 hour 15 minutes ( please note I have assigned all the max processors and... (7 Replies)
Discussion started by: filosophizer
7 Replies

10. UNIX for Beginners Questions & Answers

Question about setting up a hard drive for a videoserver under Linux

Hi there, I'm currently preparing for an exam and came across a question that I don't really know how to answer. "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... (1 Reply)
Discussion started by: Eggsy
1 Replies
disksecn(1M)															      disksecn(1M)

NAME
disksecn - calculate default disk section sizes SYNOPSIS
block_size] [-n disk_name] DESCRIPTION
is used to calculate the disk section sizes based on the Berkeley disk partitioning method. recognizes the following options: Produce tables suitable for inclusion in the device driver. Produce tables suitable for generating the disk description file When generating the above tables, use a sector size of block_size bytes, where block_size can be or Defaults to DEV_BSIZE (defined in if not specified. Specifies the disk name to be used in calculating sector sizes; for example, or If an unknown disk name is specified, prompts the user for the necessary disk information. If neither nor table selection switches are specified a default table of the section sizes and range of cylinders used is output. Disk section sizes are based on the total amount of space on the disk as given in the table below (all values are supplied in units of 256-byte sectors). If the disk is smaller than approximately 44 Mbytes, aborts and returns the message Section 44-56MB 57-106MB 107-332MB 333+MB 0 97120 97120 97120 97120 1 39064 39064 143808 194240 3 39064 39064 78128 117192 4 unused 48560 110096 429704 6 7992 7992 7992 7992 10 unused unused unused 516096 Note It is important to note the difference between the block size passed into via the switch argument and the sector size the user is asked to input when an unknown disk name is passed to via the switch argument. The block size is the sector size that assumes the disk to have when it prints the requested tables. All information printed in the tables is adjusted to reflect this assumed sector size (block size) passed in by the user. The sector size requested by when an unknown disk name is passed does not necessarily have to be the same as the assumed sector size (block size) passed in by the switch argument. For example, a user wants to see the device driver tables for the disk named with an assumed sector size (block size) of 256 bytes. The user has the following information about the disk: Disk type = winchester Sector size = 512 Number of sectors per track (512 byte sectors) = 16 Number of tracks = 7 Number of cylinders = 968 Revolutions per minute = 3600 The user invokes by typing the following command: Assuming that is an unknown disk name, prompts the user for the necessary disk information. The user should input the information as shown above, reflecting a sector size of 512 bytes. All the information will be adjusted within to reflect the assumed sector size (block size) of 256 bytes, passed as the argument of the switch, before the requested device driver table is output. This adjustment also takes place when the disk name is known and an assumed sector size (block size) is passed in as the argument of the switch which is not DEV_BSIZE bytes, the assumed sector size (block size) used to create the file. RETURN VALUE
returns the following values: Successful completion. Usage error. User did not input parameters for an unknown disk. Disk too small or an invalid block size. aborts and prints an error message under the following conditions: o was invoked without specifying a disk name. o Requested both and switch. o Illegal block size requested. o Unknown disk name was specified and user did not supply disk information. o Disk's maximum storage space is less than approximately 44 MB. WARNINGS
Alternate names are not included in the output when the switch is used. Blanks are required in the command line between each of the switches when invoking A blank is required between the switch and the disk name argument to that switch. For example: does not save the block size used to generate the disk description file. The system assumes that the block size used was DEV_BSIZE when it reads the information stored in the file. AUTHOR
was developed by the University of California, Berkeley. FILES
SEE ALSO
disktab(4). Servers Only disksecn(1M)
All times are GMT -4. The time now is 07:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy