TarrifMan Posted August 3, 2019 Share Posted August 3, 2019 (edited) I was trying to delete some files via the console. Types in /d and tab, enter without reading it until after the action was performed which resulted in /dev/ files being deleted (folders within are still there because I didn't do "rm -r"). Where can I get those files? What should I do? Edited August 4, 2019 by TarrifMan Quote Link to comment
BRiT Posted August 3, 2019 Share Posted August 3, 2019 (edited) Reboot or power cycle. Nearly all those are in ram, should be recreated on next start. Edited August 3, 2019 by BRiT Quote Link to comment
TarrifMan Posted August 3, 2019 Author Share Posted August 3, 2019 1 minute ago, BRiT said: Reboot or power cycle. I pressed stop array 15 mins ago and it's still not done... " Array Stopping•Retry unmounting disk share(s)." Me deleting /dev/ files might have broke unassigned devices too.... "Fatal error: Uncaught UnexpectedValueException: RecursiveDirectoryIterator::__construct(/dev/disk/by-id/): failed to open dir: No such file or directory in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php:122 Stack trace: #0 /usr/local/emhttp/plugins/unassigned.devices/include/lib.php(122): RecursiveDirectoryIterator->__construct('/dev/disk/by-id...', 4096) #1 /usr/local/emhttp/plugins/unassigned.devices/include/lib.php(1232): listDir('/dev/disk/by-id...') #2 /usr/local/emhttp/plugins/unassigned.devices/include/lib.php(1294): get_unasigned_disks() #3 /usr/local/emhttp/plugins/unassigned.devices/UnassignedDevices.php(269): get_all_disks_info() #4 {main} thrown in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 122" Should I just turn the power off? Quote Link to comment
Squid Posted August 4, 2019 Share Posted August 4, 2019 1 hour ago, TarrifMan said: Should I just turn the power off? Not much choice Quote Link to comment
fadimatter Posted February 26 Share Posted February 26 On 8/4/2019 at 3:17 AM, TarrifMan said: resolved. How pls? Quote Link to comment
SimonF Posted February 26 Share Posted February 26 2 minutes ago, fadimatter said: How pls? Depends on what you have removed. if just /dev fi!es a reboot Quote Link to comment
trurl Posted February 26 Share Posted February 26 1 hour ago, fadimatter said: How pls? What have you removed? 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.