Which command remounts the filesystem as read-write after resolving underlying issues?

Prepare for the Google Data Center Technician Exam. Use our interactive quiz featuring flashcards and multiple choice questions with hints and explanations. Get exam-ready today!

Multiple Choice

Which command remounts the filesystem as read-write after resolving underlying issues?

Explanation:
Remounting an already-mounted filesystem with new options is the way to change its access mode without unmounting it. When the underlying issue is resolved and you want to allow writes again, you issue a remount with the read-write option so the kernel re-applies the mount options in place. The best choice uses the remount flag and sets write access in one command: mount -o remount,rw /. This tells the system to take the current root filesystem and switch its mode from whatever it is (often read-only after a fault) to read-write, without detaching it. It’s the standard, reliable way to restore write capability after problems have been addressed. Remounting with read-only would keep the system in a non-writable state, which isn’t our goal here. The option -T is intended for specifying a filesystem type during a fresh mount, not for changing options on an already mounted filesystem. While some setups might accept rw,remount, the conventional and widely supported form is remount,rw to clearly indicate changing the mount in place and enabling writes.

Remounting an already-mounted filesystem with new options is the way to change its access mode without unmounting it. When the underlying issue is resolved and you want to allow writes again, you issue a remount with the read-write option so the kernel re-applies the mount options in place.

The best choice uses the remount flag and sets write access in one command: mount -o remount,rw /. This tells the system to take the current root filesystem and switch its mode from whatever it is (often read-only after a fault) to read-write, without detaching it. It’s the standard, reliable way to restore write capability after problems have been addressed.

Remounting with read-only would keep the system in a non-writable state, which isn’t our goal here. The option -T is intended for specifying a filesystem type during a fresh mount, not for changing options on an already mounted filesystem. While some setups might accept rw,remount, the conventional and widely supported form is remount,rw to clearly indicate changing the mount in place and enabling writes.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy