diff --git a/README.md b/README.md index 14bea26..68c422f 100644 --- a/README.md +++ b/README.md @@ -36,3 +36,45 @@ If this script fails or produces an error, please run the following command and ``` root@readynasos:#/ curl -s https://gitlab.codycook.us/readynas-scripts/share_lun_ui_fix.sh/raw/master/share_lun_ui_fix.sh | bash -x ``` + + +## Sample Output +### Standard Output +``` +root@rr2312:/vol2# curl -s https://gitlab.codycook.us/readynas-scripts/share_lun_ui_fix.sh/raw/master/share_lun_ui_fix.sh | bash +=============================== +Share and iSCSI Rebuild v6.8.0 +=============================== +Querying readynasd for list of volumes... +4 volume(s) found. +Beginning in 3... 2... 1... +=============================== +=== All right! Time to go! === +=============================== += Investigating volume /vol1... += Objects found: fromharry/ home +== Reviewing fromharry/ +=== Found share at /vol1/fromharry/... recreating share configs.... done with /vol1/fromharry/. +== Reviewing home +=== Found share at /vol1/home... recreating share configs.... done with /vol1/home. += done with /vol1 += Investigating volume /vol2... += Objects found: luntest +== Reviewing luntest +=== Found LUN at /vol2/luntest... recreating iSCSI configs.... done with /vol2/luntest. += done with /vol2 += Investigating volume /vol3... +No shares or LUNs found. += done with /vol3 += Investigating volume /vol4... += Objects found: outrunner +== Reviewing outrunner +=== Found share at /vol4/outrunner... recreating share configs.... done with /vol4/outrunner. += done with /vol4 +*** Restarting readynasd to finish changes... *** +================================================= +| Completed share creation! We were able to | +| rebuild 3 shares and 1 LUNs. | +================================================= +root@rr2312:/vol2# +```