Add a README.md
This commit is contained in:
parent
fc63ac09e2
commit
b320a94ce4
1 changed files with 32 additions and 0 deletions
32
README.md
Normal file
32
README.md
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Share/LUN UI Fix Script
|
||||||
|
|
||||||
|
This script finds shares that were accidentally broken in the UI and fixes it.
|
||||||
|
|
||||||
|
|
||||||
|
### Prerequisites
|
||||||
|
|
||||||
|
* You need to be on ReadyNAS OS 6.8 or newer. This script containts configuration file data for 6.8 that may or may not work with older versions.
|
||||||
|
* Either the ReadyNAS needs internet access or you need to copy/paste the data into a file on the NAS via SSH.
|
||||||
|
** For internet access, ensure you can reach the internet and DNS is working properly.
|
||||||
|
* This does not work in `Tech Support mode`. You must be in `Normal mode` and `readynasd` needs to be running.
|
||||||
|
|
||||||
|
### Installing
|
||||||
|
|
||||||
|
#### Network-enabled ReadyNAS
|
||||||
|
To quickly resolve the shares and LUNs not showing in the UI, you can copy/paste the following command into a terminal and the script will automatically run.
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
root@readynasos:#/ curl https://gitlab.codycook.us/readynas-scripts/share_lun_ui_fix.sh/raw/master/share_lun_ui_fix.sh | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
Refresh the UI and the shares should be restored.
|
||||||
|
|
||||||
|
#### Intenret-disabled ReadyNAS
|
||||||
|
* Download the contents of [https://gitlab.codycook.us/readynas-scripts/share_lun_ui_fix.sh/raw/master/share_lun_ui_fix.sh](https://gitlab.codycook.us/readynas-scripts/share_lun_ui_fix.sh/raw/master/share_lun_ui_fix.sh)
|
||||||
|
* Copy the data into your clipboard.
|
||||||
|
* In the ReadyNAS terminal, type: `vi /root/share_lun_ui_fix.sh`
|
||||||
|
* Push `i` to enter insert mode, then right click into the console. This will paste your clipboard (in most cases). Only click once.
|
||||||
|
* Push `esc` and then type `:wq` then hit enter.
|
||||||
|
* Type `chmod +x /root/share_lun_ui_fix.sh` then type `/root/share_lun_ui_fix.sh`
|
||||||
|
* The script will run.
|
Loading…
Add table
Add a link
Reference in a new issue