InterviewStack.io LogoInterviewStack.io

Linux Filesystems and Storage Questions

Specialized knowledge of Linux storage subsystems, filesystem architectures, and maintenance. Covers filesystem internals and selection considerations for ext4, XFS, and btrfs; partitioning tools and workflows using fdisk and parted; logical volume management including physical volumes, volume groups, logical volumes, snapshots and resizing; adding and expanding disks, resizing filesystems, mount options and performance tradeoffs; filesystem integrity tools such as fsck, recovery techniques, inode and metadata concepts, capacity planning, and interaction with software and hardware RAID and storage arrays.

MediumTechnical
62 practiced
XFS metadata appears corrupted and the filesystem refuses to mount on a production host. Explain safe preparatory steps before running xfs_repair, including capturing evidence, creating block-level backups or snapshots, dry-run repair steps, and techniques to minimize data loss while recovering an XFS filesystem in production.
HardTechnical
79 practiced
Compare btrfs and ZFS for use in a cloud SRE environment. Discuss checksumming and self-healing, snapshot and replication capabilities, compression and deduplication trade-offs, metadata overhead and scalability, licensing/kernel integration issues, and which workloads or operational constraints would favor one over the other.
EasyTechnical
78 practiced
Explain the inode concept on Linux filesystems: what metadata an inode holds (permissions, timestamps, pointers), how inodes relate to directory entries and pathnames, what inode exhaustion means in practice, how to inspect inode usage on a running system, and practical strategies SREs use to mitigate inode exhaustion in production.
HardSystem Design
84 practiced
Design a highly-available, multi-AZ storage architecture for a cloud-hosted web service with a 99.99% availability SLO, 500k reads/sec, 100k writes/sec, and 50TB of hot data. Specify layers (block storage, replication, caching tier, filesystem choice on app servers), backup and restore approach, monitoring/alerting strategy, and trade-offs between cost, consistency and performance.
HardSystem Design
71 practiced
Design a backup and disaster recovery system for 200 TB of production block storage spread across multiple data centers. Requirements: daily incremental backups, weekly full backups, RTO < 4 hours for critical datasets, RPO < 1 hour for highest-priority data, and retention/compliance policies. Detail architecture (snapshot vs block-level copy vs agent), cataloging, verification, restore runbooks, and how SREs should operate and test the system.

Unlock Full Question Bank

Get access to hundreds of Linux Filesystems and Storage interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.