System Administration And Management Homework
1) Fill in the blanks...
• The smallest addressable unit of disk space is called _________.
• The smallest allocatable unit of disk space is called _________.
• A subset of a hard disk drive that can contain a separate file system is called _______.
2) In the FAT file system, how many entries are there in the FAT itself (hint: how is it indexed) and what does each entry contain? Hint: I don't want an actual size, I want what the size is based on.
For problems #3 - #8 , consider a 500 GB hard disk drive with 512 byte sectors and 4 KB (4096 byte) clusters. Consider an ASCII text document midterm.txt storing the answers to this exam. The file midterm.txt is 42500 characters. Recall: every ASCII character consumes 8 bits (i.e. 1 byte).
Answer every question in short-answer form. Show calculations where necessary.
3) How many clusters will be allocated to midterm.txt by the Operating System?
4) In the last cluster it is given, how many bytes does midterm.txt use?
5) In the last cluster it is given, how many sectors does midterm.txt use?
6) What is the RAM slack of midterm.txt?
7) What is the file slack of midterm.txt?
8) What is the drive slack of midterm.txt?
9) The following tables contain a simplified layout for a FAT file system. Describe the hierarchical arrangement of files and directories and show their content. Do this in a clean, clear text-format way using tabbing and newlines in your answer.
Root (\) starts at Cluster: 1
FAT
Cluster
|
Status
|
|
Cluster
|
Status
|
|
Cluster
|
Status
|
1
|
EOF
|
|
7
|
8
|
|
13
|
EOF
|
2
|
17
|
|
8
|
EOF
|
|
14
|
EOF
|
3
|
EOF
|
|
9
|
EOF
|
|
15
|
EOF
|
4
|
EOF
|
|
10
|
14
|
|
16
|
EOF
|
5
|
EOF
|
|
11
|
EOF
|
|
17
|
EOF
|
6
|
7
|
|
12
|
EOF
|
|
|
|
Clusters
Cluster
|
Content(Dfordirectory,Fforregularfile)
|
1
|
D: progs11 docs 12 users 13 README.txt 6
|
2
|
F: lettertothedepartment
|
3
|
F: lettertomystudent
|
4
|
F: useemacs
|
5
|
D:
|
6
|
F: toinstall,downloadISOimage
|
7
|
next,unpackintoC:\temp
|
8
|
|
9
|
F: 918%%%429!!!
|
10
|
F: 123%%%986xxx
|
11
|
D: p.exe 9 q.exe 10
|
12
|
D: a.txt 16 b.txt 3 c.txt 2
|
13
|
D: Bob 5 Ryan 15
|
14
|
pqr***888,,,
|
15
|
D: profile.txt 4
|
16
|
F: todolist
|
17
|
the end
|
For Questions #10 and #11, consider a disk whose blocks are sequentially labeled A, B, C, D, E, F, G, and H.
10) A RAID organization of this disk that looks like this...
is using a technique known as... (indicate the single best answer)
a) parity
b) striping
c) mirroring
d) fragmenting
e) clustering
11) A RAID organization of this disk that looks like this...
is using a technique known as... (indicate the single best answer)
a) parity
b) striping
c) mirroring
d) fragmenting
e) clustering
12) A RAID organization resembling that in Question #10 would be an instance of... (indicate all that apply)
a) RAID 0
b) A theoretical product that is not used in commercial systems
c) RAID 1
d) A RAID system that could remain available after the loss of any single disk
e) RAID 10
f) A RAID system that could remain available after the loss of any two disks
g) RAID 5
h) A RAID system with data redundancy
i) A RAID system that could remain available after the loss of any three disks
j) The most storage-efficient RAID system
For questions #13 - #17, please indicates TRUE or FALSE by typing TRUE or FALSE.
Example typed answer for non-existent question 108, which coincidentally is the anticipated temperature in Fahrenheit at 4pm this afternoon...
108. false
13) Operating Systems tend to allow user applications to interface directly with hardware peripherals.
TRUE or FALSE
14) The seek time of a magnetic hard disk drive tends to be shorter (lower latency) than the transfer rate.
TRUE or FALSE
15) A cluster is a group of one or more contiguous hard drive sectors.
TRUE or FALSE
16) In UNIX/Linux OSes, every partition has a separate file-system, each with its own drive letter (like C:\, D:\, etc).
TRUE or FALSE
17) All hard drive sectors are 512 bytes in size.
TRUE or FALSE