02-03-2017
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 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."
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.
Thanks in advance and cheers!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
What Command do I need to use to Format my hard Drive in Linux.
Please help me out.
-Regards
-Iftikhar:) (2 Replies)
Discussion started by: syedifti
2 Replies
2. UNIX for Dummies Questions & Answers
:confused: ........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows......
dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/????????
Where I have the question marks is the problem.
How do I find out what the... (4 Replies)
Discussion started by: shorty
4 Replies
3. Filesystems, Disks and Memory
Hi
I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies
4. AIX
Good day,
I have an rs/6000 server, model 7044-270. I bought a 2nd hard drive for it but im not sure its the right one. (fru:H13060) As you surely know, the 7044-270 hard drives are put in some sort of tray/carrier. There is a cable that will interface the HDD with the tray/carrier so the... (0 Replies)
Discussion started by: Netghost
0 Replies
5. UNIX for Advanced & Expert Users
Hi all,
I would to know if I can install Linux on an external 320 gigabyte hard drive..I have Windows XP on my internal hard drive which is 80 GB , but this installation on 320 external HDD is for testing purpose
If it is possible to install Linux on the external drive, will it cause any... (5 Replies)
Discussion started by: bsandeep_80
5 Replies
6. Shell Programming and Scripting
I'm new to Linux and have very limited experience with shell scripts in general. I am taking a class and I have to research online and come up with a shell script that monitors disk space. I also have to be able to explain it line by line. I've researched various sites and came across this shell... (3 Replies)
Discussion started by: wgreg23
3 Replies
7. UNIX for Dummies Questions & Answers
Linux Red Hat machine
GNOME version 2.16.0
External hard drive is a Western Digital 500 GB My Book Essential.
How can I reformat the external hard drive so that I can backup my Linux machine?
Thanks (1 Reply)
Discussion started by: jm4smtddd
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I`m trying to copy an entire directory(with numerous files, folders and subfolders etc, a content size of 500gigs) from a linux machine running Red Hat Enterprise Linux 6 to an external hard drive on my windows.
I downloaded and installed psftp on my windows and I can login using psftp... (9 Replies)
Discussion started by: newbie83
9 Replies
9. Homework & Coursework Questions
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... (1 Reply)
Discussion started by: Eggsy
1 Replies
10. UNIX for Beginners Questions & Answers
Hello all,
I am EXTREMELY new to using bash and I have a bit of a problem: I'm trying to set up a shell script that can
1.) take one of several giant files off of an external hard drive
2.) use it as input for scripts on my laptop's hard drive
... (3 Replies)
Discussion started by: machine_spirit
3 Replies
LEARN ABOUT OPENDARWIN
newfs_hfs
NEWFS_HFS(8) BSD System Manager's Manual NEWFS_HFS(8)
NAME
newfs_hfs -- construct a new HFS Plus file system
SYNOPSIS
newfs_hfs [-N] [-U uid] [-G gid] [-M mask] [-h | -w] [-s] [-b block-size] [-c clump-size-list] [-i first-cnid] [-J [journal-size]]
[-n node-size-list] [-v volume-name] special
DESCRIPTION
Newfs_hfs builds an HFS Plus file system on the specified special device. Before running newfs_hfs the disk should be partitioned using the
Disk Utility application or pdisk(8).
The file system default parameters are calculated based on the size of the disk partition. Typically the defaults are reasonable, however
newfs_hfs has several options to allow the defaults to be selectively overridden. The options are as follows:
-N Causes the file system parameters to be printed out without really creating the file system.
-U uid Set the owner of the file system's root directory to uid.
-G gid Set the group of the file system's root directory to gid.
-M mask Specify the access permissions mask for the file system's root directory.
-h Creates a legacy HFS format filesystem. This option is not recomended for file systems that will be primarily used with Mac OS X
or Darwin.
-s Creates a case-sensitive HFS Plus filesystem. By default a case-insensitive filesystem is created. Case-sensitive HFS Plus file
systems require a Mac OS X version of 10.3 (Darwin 7.0) or later.
-w Adds an HFS wrapper around the HFS Plus file system. This wrapper is required if the file system will be used to boot natively
into Mac OS 9.
-b block-size
The allocation block size of the file system. The default value is 4096.
-c clump-size-list
This specifies the clump and/or initial sizes, in allocation blocks, for the various metadata files. Clump sizes are specified
with the -c option followed by a comma separated list of the form arg=blocks.
Example: -c c=5000,e=500
a=blocks Set the attribute file clump size.
b=blocks Set the allocation bitmap file clump size.
c=blocks Set the catalog file clump size.
e=blocks Set the extent overflow file clump size.
-i first-cnid
This specifies the initial catalog node ID for user files and directories. The default value is 16.
-J [journal-size]
Creates a journaled HFS+ volume. The default journal size is 8MB. Appending an 'M' to the journal size implies megabytes (i.e.
64M is 64 megabytes). The maximum journal size is 512 megabytes.
-n node-size-list
This specifies the b-tree node sizes, in bytes, for the various b-tree files. Node sizes are specified with the -n option fol-
lowed by a comma separated list of the form arg=bytes. The node size must be a power of two and no larger than 32768 bytes.
Example: -n c=8192,e=4096
a=bytes Set the attribute b-tree node size.
c=bytes Set the catalog b-tree node size.
e=bytes Set the extent overflow b-tree node size.
-v volume-name
Volume name (file system name) in ascii or UTF-8 format.
SEE ALSO
mount(8), pdisk(8)
HISTORY
The newfs_hfs command appeared in Mac OS X Server 1.0 .
Mac OS X April 1, 2003 Mac OS X