Braulio Dias Ribeiro Posted August 26 Share Posted August 26 (edited) Please, I make a wrong command and moved the files system to other place. I can't access the terminal to move again. - My appdata was in other disk (out array). - I can still access my VM on RDP....I see the folders, but I don't know how to send them to the right place. Can you help please? Edited August 27 by Braulio Dias Ribeiro Quote Link to comment
agarkauskas Posted August 27 Share Posted August 27 Hi Braulio, The easiest way is to recreate your USB drive. Your array will be recognized once you plug the disks into the "new" system without losing the files. The only thing you must ensure is to keep the same drives "positions" - do not switch parity and data files. Quote Link to comment
Frank1940 Posted August 27 Share Posted August 27 Try this command: pwd that will show you what the Present Working Directory is. Next: cd / Then the pwd again and the return should be: If you get that, then try the ls command. (By the way, that mv command is one of the most dangerous commands in Unix/Linux in that it never gives you a warning about what is going to do. It was written by the original Unix developers who assumed that anyone who was going to be using 'their' OS should be as smart and knowledgeable as they were!!!) Quote Link to comment
Braulio Dias Ribeiro Posted August 28 Author Share Posted August 28 On 8/27/2024 at 10:45 AM, Frank1940 said: Try this command: pwd that will show you what the Present Working Directory is. Next: cd / Then the pwd again and the return should be: If you get that, then try the ls command. (By the way, that mv command is one of the most dangerous commands in Unix/Linux in that it never gives you a warning about what is going to do. It was written by the original Unix developers who assumed that anyone who was going to be using 'their' OS should be as smart and knowledgeable as they were!!!) I no longer have access to the promoter because i closed it that day. I'll try garkauskas' solution. Tks for your help. Quote Link to comment
Braulio Dias Ribeiro Posted August 28 Author Share Posted August 28 On 8/27/2024 at 9:58 AM, agarkauskas said: Hi Braulio, The easiest way is to recreate your USB drive. Your array will be recognized once you plug the disks into the "new" system without losing the files. The only thing you must ensure is to keep the same drives "positions" - do not switch parity and data files. I was away for 2 days. I'll try this solution tomorrow....TKs my friend. Quote Link to comment
Solution Braulio Dias Ribeiro Posted August 29 Author Solution Share Posted August 29 @Frank1940@agarkauskas I restarted the server and it worked again. I didn't have to do anything. Maybe the files were not moved from the pendrive due to permissions or maybe only what was in the memory was moved. Tks for your help Quote Link to comment
itimpi Posted August 29 Share Posted August 29 2 hours ago, Braulio Dias Ribeiro said: @Frank1940@agarkauskas I restarted the server and it worked again. I didn't have to do anything. Maybe the files were not moved from the pendrive due to permissions or maybe only what was in the memory was moved. Tks for your help Probably a critical OS folder such as /bin was deleted first and that took down the server before more damage was done. Rebooting would reload the OS into RAM from the archives on the flash drive thus re-instating /bin. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.