Lost files since renamed folder

Super User Asked by Asklep on December 20, 2020

I had installed a virtual machine in mnt/Linux-VM

This folder was supposed to be mounted on a separate partition and mistakenly I assumed so – but it was not since I have made a mistake in etc/fstab.
So the VM of min. 3GB was on the system partition.

Since I had a parse error in fstab (could see this while booting – antiX Linux) I renamed that folder to LnxVM (I didn’t know the error, assumed it migh).
fstab is now correct, the partition is mounted to /mnt/LnxVM

But since the folder in which the VM files had been installed doesn’t exist anymore, the 3GB VM file is not displayed anymore…
nowhere, have seeked trash files, on the system partition but nothing.

But the 3GB are still used on the system partition as it is allmost full. Before there where around 4GB free space…
How can I find and delete the lost files (virtualbox .vmdk & .vbox) ??

Thanks for every tip.

One Answer

The solution here is symple. I added this comment character '#' in front uf the UUID of the corrosponding partition in the fstab file in /etc in order to dissconnect this folder '/mnt/LnxVM' from it.

Now the file tree from /mnt/LnxVM is as it was before and my 'lost fiels' are displayed again.

Answered by Asklep on December 20, 2020

Add your own answers!

Related Questions

How to trace the routes to all hosts in a subnet?

1  Asked on December 5, 2021 by uggla


Create an alias to a samba share from the command line

2  Asked on December 5, 2021 by matthieu-cartier


Change DNS with script

8  Asked on December 5, 2021 by endy-tjahjono


Ping: General Failure

2  Asked on December 5, 2021 by user3114179


Open multiple firewall ports in CentOS7

4  Asked on December 5, 2021 by markus-wilhelm


How do I setup ftp/sftp on google cloud?

2  Asked on December 5, 2021 by user11020868


Hybrid MBR not entirely converted on MacBook Pro

1  Asked on December 5, 2021 by camty04


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir