diff options
Diffstat (limited to 'packages/freenas/www/diag_raid_infos.php')
-rw-r--r-- | packages/freenas/www/diag_raid_infos.php | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/packages/freenas/www/diag_raid_infos.php b/packages/freenas/www/diag_raid_infos.php index 88b9a5fc..ad1621c1 100644 --- a/packages/freenas/www/diag_raid_infos.php +++ b/packages/freenas/www/diag_raid_infos.php @@ -115,19 +115,39 @@ echo $pfSenseHead->getHTML(); <td align="left" valign="top"> <?php echo "<pre style=\"font-size: medium;\">"; - echo "<strong>Software RAID - gmirror status:</strong><br />"; + echo "<strong>" . gettext("Software RAID") . " - " . gettext("Geom Mirror") . ":</strong><br /><br />"; exec("/sbin/gmirror list",$rawdata); foreach ($rawdata as $line) { echo htmlspecialchars($line) . "<br />"; } unset ($line); unset ($rawdata); - echo "<strong>Software RAID - gvinum status:</strong><br />"; + echo "<strong>" . gettext("Software RAID") . " - " . gettext("Geom Vinum") . ":</strong><br /><br />"; exec("/sbin/gvinum list",$rawdata); foreach ($rawdata as $line) { - echo htmlspecialchars($line) . "<br>"; + echo htmlspecialchars($line) . "<br />"; + } + unset ($line); + unset ($rawdata); + echo "<strong>" . gettext("Software RAID") . " - " . gettext("Geom Concat") . ":</strong><br /><br />"; + exec("/sbin/gconcat list",$rawdata); + foreach ($rawdata as $line) { + echo htmlspecialchars($line) . "<br />"; + } + unset ($line); + unset ($rawdata); + echo "<strong>" . gettext("Software RAID") . " - " . gettext("Geom Stripe") . ":</strong><br /><br />"; + exec("/sbin/gstripe list",$rawdata); + foreach ($rawdata as $line) { + echo htmlspecialchars($line) . "<br />"; } unset ($line); + unset ($rawdata); + echo "<strong>" . gettext("Software RAID") . " - " . gettext("Geom Raid5") . ":</strong><br /><br />"; + exec("/sbin/graid5 list",$rawdata); + foreach ($rawdata as $line) { + echo htmlspecialchars($line) . "<br />"; + } echo "</pre>"; ?> </td> |