[PVE-User] Proxmox - BIG PROBLEM

lord_Niedzwiedz sir_Misiek1 at o2.pl
Mon Jul 29 11:52:07 CEST 2019


But i heave in directory binary files and command.
And this not working.

root at tom12:/usr/bin# ./ls
ls           lsblk        lsinitramfs  lslocks      lsmem lsns         
lspci        lsusb
lsattr       lscpu        lsipc        lslogins     lsmod lsof         
lspgpot
root at tomas12:/usr/bin# ./ls
-bash: ./ls: No such file or directory
root at tom12:/usr/bin# /usr/bin/ls
-bash: /usr/bin/ls: No such file or directory

Why ??!!

W dniu 29.07.2019 o 11:24, lord_Niedzwiedz pisze:
>
>> Your system without /bin/ and /lib can't be usable, you need to 
>> totally recover it.
> But why did rm erase them.
> And the rest of the catalogs did not remove?
>
> I have a working VM there that I can not clone or stop.
>> I personally prefer to install a new system and migrate the vm files 
>> (that you  have on local-zfs). But forget to use the GUI
>>
>>
>>
>>
>> ----- Il 29-lug-19, alle 11:08, lord_Niedzwiedz <sir_Misiek1 at o2.pl> 
>> ha scritto:
>>
>>         VM at local-zfs.
>>     But local-zfs not available with gui !!
>>     VM still work.
>>
>>     And I see in:
>>     cd /mnt/pve/
>>     directory:
>>     nvme0n1 / nvme1n1 / sda /
>>
>>     Here is one virtual.
>>     The rest on local-zfs (and they work, and I can not see the space).
>>
>>     Proxmox it's still working.
>>
>>     I lostmybe only :
>>     /bin
>>     /lib
>>     /lib64
>>     /sbin
>>     How is it possible that command:
>>     rm / *
>>     removed them ?? !!
>>
>>     Without the -r option.
>>
>>     And the rest of the catalogs did not delete ?? !!
>>     Maybe these were symbolic links?
>>
>>     Gregor
>>
>>         Where are located the VM's disks ? LVM ? ZFS ?
>>         Is possibile that you still have your disks (if LVM, for 
>> example), but i think that is better that you install a fresh Proxmox 
>> server, and move the disks from the old hard drive to the new one.
>>         You need some knowledge about linux, lvm, and you can save 
>> all your data.
>>
>>
>>
>>         ----- Il 29-lug-19, alle 10:55, 
>> lord_Niedzwiedzsir_Misiek1 at o2.pl  ha scritto:
>>
>>             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 ??!!
>>             I'm still logged in on one console after the shell, but I 
>> can not do any
>>             commandos.
>>             Even:
>>             qm
>>             -bash: /usr/sbin/qm: /usr/bin/perl: bad interpreter: No 
>> such file or
>>             directory
>>             root at tomas:/usr/bin# ls
>>             -bash: /usr/bin/ls: No such file or directory
>>             root at tomas:/usr/bin# echo $PATH
>> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
>>
>>             Any Idea ??
>>             Please Help Me.
>>
>>             Gregor
>>
>>             _______________________________________________
>>             pve-user mailing list
>>             pve-user at pve.proxmox.com
>> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>>
>>
>>
>> -- 
>> ---
>> Fabrizio Cuseo - mailto:f.cuseo at panservice.it
>> Direzione Generale - Panservice InterNetWorking
>> Servizi Professionali per Internet ed il Networking
>> Panservice e' associata AIIP - RIPE Local Registry
>> Phone: +39 0773 410020 - Fax: +39 0773 470219
>> http://www.panservice.it  mailto:info at panservice.it
>> Numero verde nazionale: 800 901492
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


More information about the pve-user mailing list