A 300 GB disk uses file descriptors with eight direct block addresses, one indirect and one doubly indirect. Block size is 128 bytes and each address eight bytes. Find maximum file size.
Each indirect block stores 128/8=16 pointers. Addressable data blocks are 8+16+16²=280. Their data capacity is 280×128=35840 bytes=35 KiB, corresponding to B. Metadata blocks are excluded from file data size, and the disk is much larger than this descriptor limit.
More File Systems and Disk Performance questions
GATE 2013 CS (CS1) Q39– A disk has sixteen surfaces, 16384 cylinders and 64 sectors per surface in a cylinder,…
GATE 2011 CS (CS1) Q54– Loading 100 application libraries requires one disk access each. Seek time is 10 ms and…
GATE 2026 CS (CS1) Q59– Consider a hard disk with a rotational speed of 15000 rpm. The time to move the read/write…
GATE 2026 CS (CS2) Q53– To keep track of free blocks in a file system, the linked-list approach is used. The disk…
GATE 2025 CS (CS1) Q51– A disk of size 512M bytes is divided into blocks of 64K bytes. A file is stored in the…
GATE 2022 CS Q63– Consider two files systems A and B, that use contiguous allocation and linked allocation,…