Situation
A service keeps its data on a separate disk that is mounted at /data. After a server reboot
the service cannot find its files: the /data directory is empty.
Task
Make sure that:
sudo mount -acompletes without errors;- the service's data disk is mounted at
/data, with its files in place; - the disk mounts at
/datafrom its/etc/fstabentry, after a reboot too.
Constraints
- The data on the disk is needed: do not format it or recreate the service's files.
The tools you need are already installed. There's no internet on this machine.
Lab goals
0 of 4-
mount -a completes without errors — not checked yet
-
The service's data disk is mounted at /data — not checked yet
-
The disk mounts at /data from its /etc/fstab entry and survives a reboot — not checked yet
-
The service's files on the disk are intact — not checked yet
Hints
0 of 3 open · they open one at a time
Hint 1
Show the solution
after 3 failed checks