Situation
The application keeps its orders in /srv/data, and right now that directory sits on the root partition.
A new empty disk has been attached to the server for the data. The server also has a disk with last year's
archive.
Task
Make sure that:
- the new disk has a GPT partition table with a partition on it;
- the partition holds an ext4 filesystem labelled
data; /etc/fstabhas a line for/srv/databy this partition's UUID with thenofailoption;- the partition is mounted at
/srv/dataand comes back there aftersudo umount /srv/dataandsudo mount -a; - the application's files are in
/srv/dataon the new disk, the same as they are now.
Constraints
- Leave the archive disk alone: its partitions, its filesystem and its files.
The tools you need are already installed. The machine has no Internet access.
Lab goals
0 of 6-
The new disk has a GPT table with a partition — not checked yet
-
The partition holds ext4 labelled data — not checked yet
-
/etc/fstab has a line for /srv/data by the partition's UUID, with nofail — not checked yet
-
The partition is mounted at /srv/data and comes back after umount and mount -a — not checked yet
-
The application's files are in /srv/data on the new disk — not checked yet
-
The archive disk is untouched — not checked yet
Hints
0 of 3 open · they open one at a time
Hint 1
Show the solution
after 3 failed checks