A system administrator is preparing a server for a critical application deployment. A key requirement is the ability to instantly create a point-in-time copy of the application's data directory before applying updates. This copy will be used to quickly roll back to the previous state if the update fails. The filesystem chosen must support this rollback capability natively, efficiently, and with minimal storage overhead for the copy. Which of the following filesystems best meets this requirement?
The correct answer is btrfs. The B-tree Filesystem (btrfs) has built-in, copy-on-write (CoW) functionality that allows for the creation of instantaneous, space-efficient snapshots. These snapshots are ideal for creating rollback points before system changes, as they initially consume very little extra space.
ext4 is a stable and widely used journaling filesystem, but it does not have integrated snapshot capabilities. Achieving similar functionality would require using an external tool like LVM, which operates at the block level rather than the filesystem level.
xfs is a high-performance journaling filesystem optimized for large files and parallel I/O operations. Like ext4, it lacks built-in, lightweight snapshotting capabilities suitable for quick rollbacks.
tmpfs is a temporary filesystem that stores all its data in volatile memory (RAM) and is cleared on reboot. It is completely unsuitable for persistently storing application data or for creating durable rollback points.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are the advantages of Btrfs over other filesystems for snapshots?
Open an interactive chat with Bash
What does 'copy-on-write' mean in the context of filesystems like Btrfs?
Open an interactive chat with Bash
Why is LVM needed for snapshots in ext4 or xfs, and how does it work?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
System Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access