Question: I really only need help with the storage overhead part. Here's how I did it, but I'm not sure if this is correct. Percentage of

 I really only need help with the storage overhead part. Here's

I really only need help with the storage overhead part. Here's how I did it, but I'm not sure if this is correct.

Percentage of required storage overhead for 100K bytes file:

19 pointers (for the inodes) + 1024 pointers (for the single indirect block) = 1043 pointers

((1043 pointers * 4 bytes)/100000 bytes)*100 = 4.172%

Percentage of required storage overhead for 1000K bytes file:

19 pointers (for the inodes) + (1024 pointers * 1024 pointers) (for the double indirectblock) = 1048595 pointers

((1048595 * 4 bytes)/10000000 bytes)*100 = 41.94%

1. (10 pts) Consider a file system that uses inodes to represent files. Disk blocks are 4 KB in size, and a pointer to a disk block requires 4 bytes. This file system has 16 direct disk blocks, as well as single, double, and triple indirect disk blocks. What is the maximum size of a file that can be stored in this file system? What percentage of the required storage is overhead if the file is 100K bytes? 1000K bytes? 1. (10 pts) Consider a file system that uses inodes to represent files. Disk blocks are 4 KB in size, and a pointer to a disk block requires 4 bytes. This file system has 16 direct disk blocks, as well as single, double, and triple indirect disk blocks. What is the maximum size of a file that can be stored in this file system? What percentage of the required storage is overhead if the file is 100K bytes? 1000K bytes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!