[PVE-User] Proxmox - BIG PROBLEM

Frédéric MASSOT frederic at juliana-multimedia.com
Mon Jul 29 18:55:22 CEST 2019


Le 29/07/2019 à 10:55, lord_Niedzwiedz a écrit :
> I ran a command on the server by mistake:
> 
> rm /*
> rm: cannot remove '/Backup': Is a directory
> rm: cannot remove '/boot': Is a directory
> rm: cannot remove '/dev': Is a directory
> rm: cannot remove '/etc': Is a directory
> rm: cannot remove '/home': Is a directory
> rm: cannot remove '/media': Is a directory
> rm: cannot remove '/mnt': Is a directory
> rm: cannot remove '/opt': Is a directory
> rm: cannot remove '/proc': Is a directory
> rm: cannot remove '/Roboczy': Is a directory
> rm: cannot remove '/root': Is a directory
> rm: cannot remove '/rpool': Is a directory
> rm: cannot remove '/run': Is a directory
> rm: cannot remove '/srv': Is a directory
> rm: cannot remove '/sys': Is a directory
> rm: cannot remove '/tmp': Is a directory
> rm: cannot remove '/usr': Is a directory
> rm: cannot remove '/var': Is a directory
> 
> Strange machines work.
> I'm logged in gui.
> But I can not get to the machine VM.
> Do not execute any commands.
> What to do ??!!
> From what I see, I deleted my catalogs:
> / bin
> / lib
> / lib64
> / sbin
> WITH /.
> How is this possible ??!!


You definitely have a distribution with a "/usr" merged.

https://wiki.debian.org/UsrMerge

The "rm" command has removed all files on root except folders. Symbolic
links from "/usr" merged have also been removed. You have to recreate
them by hand. Maybe by starting the machine on a live or rescue system.

bin -> usr/bin
lib -> usr/lib
lib64 -> usr/lib64
sbin -> usr/sbin


-- 
==============================================
|              FRÉDÉRIC MASSOT               |
|     http://www.juliana-multimedia.com      |
|   mailto:frederic at juliana-multimedia.com   |
| +33.(0)2.97.54.77.94  +33.(0)6.67.19.95.69 |
===========================Debian=GNU/Linux===


More information about the pve-user mailing list