diff --git a/emhttp/plugins/dynamix/ShareList.page b/emhttp/plugins/dynamix/ShareList.page
index 949d949a5..8b33a5b4a 100644
--- a/emhttp/plugins/dynamix/ShareList.page
+++ b/emhttp/plugins/dynamix/ShareList.page
@@ -15,6 +15,11 @@ Cond="_var($var,'fsState')!='Stopped' && _var($var,'shareUser')=='e'"
* all copies or substantial portions of the Software.
*/
?>
+
+/* Are there any array disks? */
+$nodisks = empty(parse_ini_file('state/disks.ini',true)) ? "disabled" : "";
+?>
+
| _(Name)_ | _(Comment)_ | _(SMB)_ | _(NFS)_ | _(Storage)_ | _(Size)_ | _(Free)_ |
@@ -22,7 +27,7 @@ Cond="_var($var,'fsState')!='Stopped' && _var($var,'shareUser')=='e'"
diff --git a/emhttp/plugins/dynamix/include/DiskList.php b/emhttp/plugins/dynamix/include/DiskList.php
index c2f7e97a1..eb2b9b683 100644
--- a/emhttp/plugins/dynamix/include/DiskList.php
+++ b/emhttp/plugins/dynamix/include/DiskList.php
@@ -28,10 +28,13 @@ $var = parse_ini_file('state/var.ini');
$sec = parse_ini_file('state/sec.ini',true);
$sec_nfs = parse_ini_file('state/sec_nfs.ini',true);
-// exit when no disks
-$nodisks = "| "._('There are no exportable disk shares')." |
";
+// exit when no mountable array disks
+$nodisks = "| "._('There are no mountable array or pool disks - cannot add shares').". |
";
if (!$disks) die($nodisks);
+// No shared disks
+$nodisks = "| "._('There are no exportable disk shares')." |
";
+
// GUI settings
extract(parse_plugin_cfg('dynamix',true));
diff --git a/emhttp/plugins/dynamix/include/ShareList.php b/emhttp/plugins/dynamix/include/ShareList.php
index 341542dcb..577464fcb 100644
--- a/emhttp/plugins/dynamix/include/ShareList.php
+++ b/emhttp/plugins/dynamix/include/ShareList.php
@@ -46,6 +46,10 @@ $var = parse_ini_file('state/var.ini');
$sec = parse_ini_file('state/sec.ini',true);
$sec_nfs = parse_ini_file('state/sec_nfs.ini',true);
+// exit when no mountable array disks
+$nodisks = "| "._('There are no mountable array or pool disks - cannot add shares').". |
";
+if (!$disks) die($nodisks);
+
// exit when no shares
$noshares = "| "._('There are no exportable user shares')." |
";
if (!$shares) die($noshares);