In HW-2.5, one can read for the 2nd step of the procedure:
Safely shutdown a secondary of the replica set and delete the old database files.
Once the server is shutdown, I have some doubts about the proper way to delete the old database files.
The first solution coming up to my mind is running this command in the VM terminal:
(supposing the last -31252- is the one shutdown)
vagrant@database:~$ rm -r M310-HW-2.5/r2/*
But it may be somewhat too abrupt, and not the right way.
Any comment would be helpful.