Jump to content

User uploaded file to /BIN/ getting wiped


Recommended Posts

Hey all! 

 

Still relatively new to the unRAID scene but wondered if anyone can explain the following: - I have an LSI 9305 HBA card and use storcli64 to check stats of my drive and have the storcli64 app placed in the /bin/ dir on the usb stick but every time i reboot, it gets wiped. Can anyone help me understand why this happens?

 

Thanks,

 

Hal 

Link to comment
2 minutes ago, hallamnet said:

Hey all! 

 

Still relatively new to the unRAID scene but wondered if anyone can explain the following: - I have an LSI 9305 HBA card and use storcli64 to check stats of my drive and have the storcli64 app placed in the /bin/ dir on the usb stick but every time i reboot, it gets wiped. Can anyone help me understand why this happens?

 

Thanks,

 

Hal 

Unraid runs from RAM and you should any storage that is not under /mnt (or /boot) is not persistent) so that location will be reset any time Unraid boots.  You may find this description of the boot process useful in understanding what is going on.

 

The solution is to store the files on the flash drive and then run a script during the boot process to move them to where you want and ensure they have the correct permissions.    The scripting could be done either via entries in the config/go file on the flash drive, or by using the User Scripts plugin and setting the script in question to run at array start.

Link to comment

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.

×
×
  • Create New...