Jump to content
Sign in to follow this  
TarrifMan

[Resolved] Accidentally deleted /dev/ files

5 posts in this topic Last Reply

Recommended Posts

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 by TarrifMan

Share this post


Link to post

Reboot or power cycle.

 

Nearly all those are in ram, should be recreated on next start.

Edited by BRiT

Share this post


Link to post
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?

Share this post


Link to post
1 hour ago, TarrifMan said:

Should I just turn the power off?

Not much choice

Share this post


Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this