UnMENU screen shots

From unRAID
Jump to: navigation, search

Main Page

The main page contains much of the information on the stock unRAID main page, plus a lot more. It includes information about the flash drive, disk drives not assigned to the unRAID array, and at the bottom of the screen, the last 6 lines of the system log are shown with specific lines highlighted in color. This bottom-most section of the screen is user-configurable and can easily be changed to show a list of open files, or just about any web-page desired. The set of links in the menu are automatically updated as plug-in files for new features are installed.

The drive temperatures are color coded and will appear in yellow if the temperature goes over 40°C, in orange if over 45°C, and in red if over 50°C. http://i35.tinypic.com/1o87xw.jpg

Array Management

From the array management page you can stop the unRAID array, initiate a parity check, spin up or spin down all the disk drives. You can also stop or re-start SAMBA. You can force SAMBA to re-read its configuration file if you are hand editing it to change how drives are shared on the LAN. Drives are spun up sequentially by reading a random block of data from each drive in turn. http://i35.tinypic.com/oshi4i.jpg

Disk Management

There are two parts to the disk-management page. The upper portion of the page allows you to perform operations on disks assigned to the unRAID array. You can spin-up, or spin-down individual disk drives. You can request hdparm statistics, SMART status, initiate "short" and "long" SMART tests, and initiate a file-system-check.

The lower portion of the screen is used to manage disks that are not assigned to the protected array. If s partition has a valid file-system you can mount it. Once mounted, you can elect to share it on your LAN. In the sample screen shot you can see I have an external USB drive with an NTFS file-system. It is currently mounted and I have a button to share it on the LAN. Individual buttons are available to mount, unmount, share, and un-share each partition with a recognized file-system. Disks are mounted in read-only mode. If you desire to change this, the mount command options may be changed in the unmenu.conf (or unmenu_local.conf) file. (You will need to download and install the ntfs-3g package to mount an NTFS disk as read/write. The supplied ntfs driver in unRAID is read-only.


Evaluate Hardware

One user of unnmenu installed it and a copy of the ntfs-3g driver on a USB flash drive and then used it to evaluate his current MS-Windows based hardware for possible re-use as a unRAID server. He was able to boot unRAID, but instead of assigning any of his current NTFS formatted drives to the unRAID array, he used unmenu to mount and share the NTFS drive partitions on the LAN.

I was pleasantly surprised that unmenu made the task of evaluating his current hardware so easy. Note, the disks when used in this way are NOT protected in any way from failure, as they are NOT in a RAID array. As noted above, the NTFS disk partitions are mounted in read-only mode by default, but you can change the .conf file to mount them read/write if you desire.

The disk management page showing his many NTFS partitions shared on the LAN can be seen here: http://i38.tinypic.com/2mx30wg.jpg

Syslog (System Log)

The Syslog page in unmenu is built into unmenu.awk. It is a simple display, without any ability to color code lines needing attention or of interest. There is also a syslog plug-in, originally written by Joe L, but modified by RobJ to color code lines in the display of the log. Since it has the same "url" as the built-in, it overrides the normal built-in page and is used instead.

This "syslog" plug-in has since been enhanced to use a pair of configuration files to define the "interesting" lines to be color coded. Those files are syslog_match.conf (supplied) and syslog_user_match.conf (For additional patterns of lines matching locally installed software output sent to the syslog.)

Both files use the same format:

# Once a rule is matched, we do not look further.  These few lines should be matched out of "color" sequence
# that way, we do not match patterns further in this list.

match_case||" ACPI Error "||orange
match_case||" read_file: error 2 opening /boot/config/super.dat"||green
match_case||" ntpd.*Listening on interface"||black

any_case  ||"error"||red
match_case||"Emask "||red
match_case||"arity incorrect"||red

Each line in the syslog_match.conf files has three fields:

  • the first field indicates if the pattern should match exactly the case of the syslog lines (match_case) or if it should be considered a match regardless of case (any_case)
  • the second field contains the text of the syslog line to be matched.
  • the third field indicates the color of the line to be highlighted if matched.

You may also download the last 10000 lines of the current syslog to your browser by clicking on the link at the top of the syslog plug-in page. When downloaded, it will be named using the current date as part of its name "syslog-YYYY-MM-DD.txt" Both the number of lines shown on the syslog "url" and in the download of a syslog are configurable in unmenu.conf (or unmenu_local.conf).


Useful Links

The Useful Links page contains links to many web-sites you might find helpful. It is possible to define additional links to be show here by adding entries to the unmenu_local.conf file:

# If useful links are defined here, they will be shown INSTEAD of the list coded in the useful_links plug-in.
USEFUL_LINK = <a href="http://lime-technology.com/forum/index.php">Lime Technology Support Forum</a>
USEFUL_LINK = <a href="http://lime-technology.com/wiki/index.php?title=UnRAID_Wiki">Lime Technology Wiki</a>
USEFUL_LINK = <a href="http://lime-technology.com/wiki/index.php?title=Best_of_the_Forums">Best Of The Forums</a>
USEFUL_LINK = <a href="http://lime-technology.com/wiki/index.php?title=Troubleshooting">Unraid Troubleshooting</a>
USEFUL_LINK = <a href="http://lime-technology.com/wiki/index.php?title=FAQ">Frequently Asked Questions</a>
USEFUL_LINK = <a href="http://www.lime-technology.com">Lime Technology Home Page</a>
USEFUL_LINK = <a href="http://www.gnu.org/software/gawk/manual/gawk.html">The GNU Awk User's Guide</a>
USEFUL_LINK = <a href="http://packages.slackware.it/package.php?q=current/lsof-4.78-i486-1">lsof install package (list of open files)</a> download, then install by typing  installpkg lsof-4.78-i486-1.tgz
USEFUL_LINK = <a href="http://packages.slackware.it/package.php?q=current/pciutils-2.2.10-i486-1">lspci install package (list of PCI interfaces)</a> download, then install by typing installpkg pciutils-2.2.10-i486-1.tgz

You may add links specific to software packages you might install on your server.

The Useful Links page is shown here: http://i38.tinypic.com/30iktvc.jpg

Disk Usage

The Disk Usage plug-in in unmenu allows you to see where all your media is being stored on your physical drives. It takes several minutes to run if disks are idle, and it will appear as if the browser is locked, but it will return once all the disks are scanned. If disks are sleeping when the button on this page is pressed they will all be spun up as they are scanned for the space used.

The Disk Usage page is shown here: http://i33.tinypic.com/2j1nes1.jpg

Dupe Files

The Dupe Files plug-in allows you to easily see where duplicate files exist on your shared drives. These are files that have the same name in parallel directories on different physical disks. When these are consolidated for User-Shares only one of the duplicated files can be accessed through the User-Share. The subsequent file is listed as an error message in the syslog, but the syslog entry gives no clue where the first file is located.

The Dupe Files plug-in scans the syslog for entries describing duplicated files. These look like this in the syslog:

Nov  2 00:23:48 Tower shfs: duplicate object: /mnt/disk5/data/SetupDVDDecrypter_3.5.4.0.exe

For each "duplicate object" file listed in the syslog, the "Dupe Files" plug-in will show you the location and sizes of the files in your server that may be duplicates. You can then remove one or move one or more of the files to where it is not in a parallel directory.

The Dupe Files page is shown here: http://i33.tinypic.com/2mm74mw.jpg

System Info

A collection of system information utilities are on the System Info page, each with its own "button"

  • CPU Info from /proc/sysinfo and from /usr/bin/sensors if the lm-sensors package has been installed and configured.
  • Ethernet Info from ethtool and ifconfig - ethernet configuration and statistics
  • Ps Info from ps -ef - a list of currently running processes
  • Fuser Info from fuser -mv /mnt/disk* /mnt/user/* a list of file systems that are "busy" (open files, or current directory for a process or login)
  • Uptime from uptime and uname -a
  • Top Processes from top -b -n1
  • Open Files from /usr/bin/lsof
  • List Devices from /usr/bin/lsdev (if it is installed)
  • UPS Status from /sbin/apcaccess status (if have an APC UPS, and also installed and configured the apcupsd package)
  • Pci Devices from /sbin/lspci -v (if lspci package is installed)
  • Loaded Modules from /sbin/lsmod


System Info - CPU Info


System Info - Ethernet Info


System Info - PS Info


System Info - Fuser Info


System Info - Uptime


System Info - Top Processes


System Info - List of Open Files