flashmemory_plugin_for_omv6

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
flashmemory_plugin_for_omv6 [2021/04/26 21:26] – [Install FlashMemory Plugin] crashtestflashmemory_plugin_for_omv6 [2022/07/28 17:28] crashtest
Line 1: Line 1:
-{{ :underconstruction.jpg?400 |}}+<html><center><span style="color:#000066;font-size:300%;">FlashMemory Plugin For OMV6</span></center></html>
 \\ \\
-\\ +
-\\ +
-<html><center><strong>FlashMemory Plugin For OMV6</strong></center></html>+
  
 {{ :omvextras_logo4.jpg?400 |}} {{ :omvextras_logo4.jpg?400 |}}
Line 10: Line 8:
 \\ \\
 \\ \\
-This document can be converted to a PDF file, in the user's language of choice (see the following), on Windows, Mac's and popular Linux desktop platforms.  Simply select the printer icon on the upper right corner of this web page.  When prompted at the client, select the printer "print to PDF", then name and save the file.+This document can be converted to a PDF file, in the user's language of choice (see the following), on Windows, Mac's and popular Linux desktop platforms.  Simply select the printer icon on the upper right corner of this web page.  When prompted at the client, select "print to PDF", name and save the file.
 \\ \\
 \\ \\
Line 20: Line 18:
 \\ \\
 ===== The FlashMemory Plugin ===== ===== The FlashMemory Plugin =====
-The FlashMemory Plugin was designed to make booting from USB thumbdrives and SD-cards feasibleand a practical alternative to booting from a hard drive or SSD.  Using USB Thumbdrives enables easy [[https://openmediavault.readthedocs.io/en/5.x/new_user_guide/newuserguide.html#operating-system-backup|OS backup]]  ((Update to ver6 doc)) options, quick recovery from boot drive failure and it saves a SATA port for a data storage drive.\\  +The FlashMemory Plugin was designed to make booting from USB thumbdrives and SD-cards feasible and a practical  
 +alternative to booting from a hard drive or SSD.  In addition to the relative low cost, using USB thumbdrives  
 +enable easy [[https://openmediavault.readthedocs.io/en/5.x/new_user_guide/newuserguide.html#operating-system-backup|OS backup]]   
 +options, quick recovery from boot drive failure and it saves a SATA port for a  
 +data storage drive.\\  
 \\ \\
-This plugin is **REQUIRED** or a flash boot drive will have a short life.  For an in-depth explanation see;  [[https://wiki.omv-extras.org/doku.php?id=flashmemory_plugin_for_omv6#why_is_the_flashmemory_plugin_required|Why is the FlashMemory Plugin Required?]]     \\+This plugin is **REQUIRED**, for a flash media boot drive, or it will have a short life.  For an in-depth explanation see;  [[https://wiki.omv-extras.org/doku.php?id=flashmemory_plugin_for_omv6#why_is_the_flashmemory_plugin_required|Why is the FlashMemory Plugin Required?]]     \\
 \\ \\
  
 ==== Prerequisites ==== ==== Prerequisites ====
  
-  * Applies to amd64 ISO installations only.  The FlashMemory Plugin is installed by default during scripted installs. (R-PI's, Armbian Boards, the 32bit install, and the Alternate 64bit install.) +  * This procedure applies to amd64 ISO installations only.  The FlashMemory Plugin is installed by defaultduring scripted installs. (R-PI's, Armbian Boards, the 32bit install, and the Alternate 64bit install.) 
-  * OMV-Extras must be installed.   +  * OMV-Extras must be installed.  (See the following.)   
-  + 
-There are two methods for installing OMV-Extras\\ +==== Installation ==== 
-    - Install by OMV-Extras by plugin → [[https://openmediavault.readthedocs.io/en/5.x/new_user_guide/newuserguide.html#omv-extras|OMV-Extras]]  ((Needs Update)).\\ + 
-    - Installation by script  ((Need the OMV6 finalized script.))\\+For OMV6; installing OMV-Extras is accomplished by copying  
 +and pasting the following wget command, on your server's command line, as root:
 \\ \\
 +
 +''wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash''
 +
 +Highlight the line above and hit **ctrl+c**.  In an SSH client like PuTTY, a right mouse click will paste the line in.\\
 +**Note:**  If you're unsure of how to get on the command line, see this reference for → [[https://openmediavault.readthedocs.io/en/5.x/new_user_guide/newuserguide.html#putty|installing and using PuTTY]]. 
 +\\
 +When the script is complete, OMV-Extra's will be installed and activated.
 +
 ---- ----
-===== Install FlashMemory Plugin ===== + 
-  - Under **System****Plugins** scroll to the **openmediavault-flashmemory** plugin.  Check the **selection box** and click the **Install** button.  ((Check in finalize OMV6 GUI to update.)) +With OMV extra's installedthere are two choices to install the FlashMemory Plugin:\\
-  - Install by script  ((Need OMV6 script link.))\\+
 \\ \\
-===== FlashMemoryAdditional Setup =====+\\ 
 +1. Installation on the command line:\\ 
 + 
 +''apt-get install openmediavault-flashmemory''\\ 
 + 
 +Againpaste the above into the command line, as described above.\\ 
 +\\ 
 +2. Installation within the GUI: 
 + 
 +The Flashmemory plugin can now be found under, **System**, **Plugins** 
 +  
 +\\ 
 +----
 \\ \\
 ==== Why is the FlashMemory Plugin Required? ==== ==== Why is the FlashMemory Plugin Required? ====
Line 46: Line 68:
 While modern flash media drive is solid state, it’s life is limited by the number of write cycles it can withstand before it goes “read-only”. When an OEM  specified number of flash memory blocks refuse to erase, the device’s controller will set it “read only”. At that point, the device’s useful life is over. While modern flash media drive is solid state, it’s life is limited by the number of write cycles it can withstand before it goes “read-only”. When an OEM  specified number of flash memory blocks refuse to erase, the device’s controller will set it “read only”. At that point, the device’s useful life is over.
  
-To extend the life of flash media, most modern flash devices have "wear leveling" built into their controllers. If blocks are written, but not erased, they experience no wear. If blocks are erased, the next new write is set on adjacent blocks that have never been written before. As data is erased and written, blocks are used starting at the beginning of the device’s available storage address range and proceeding, in sequence, working toward the end. When the end of the range is reached, the process starts at the beginning and cycles through again. This wear leveling process avoids writing a single location to failure, and spreads wear evenly throughout.+To extend the life of flash media, most modern flash devices have "wear leveling" built into their controllers. If blocks are written, but not erased, they experience no wear. If blocks are erased, the next new write is set on adjacent blocks that have never been written before. As data is erased and written, blocks are used starting at the beginning of the device’s available storage address range and proceed, in sequence, working toward the end. When the end of the range is reached, the process starts at the beginning and cycles through again. This wear leveling process avoids writing a single location to failure, and spreads wear evenly throughout.
  
 With wear leveling and using two drives of the same type, a drive that is twice the size will last roughly two times longer than the smaller drive. This may seem like is a strong vote for using a larger flash drive. However, when backups are considered, drives of twice the size also take twice as long to image and their image files are twice as large. (When using flash media as a boot drive, a practical trade-off should be considered in the 16 to 32GB range.) With wear leveling and using two drives of the same type, a drive that is twice the size will last roughly two times longer than the smaller drive. This may seem like is a strong vote for using a larger flash drive. However, when backups are considered, drives of twice the size also take twice as long to image and their image files are twice as large. (When using flash media as a boot drive, a practical trade-off should be considered in the 16 to 32GB range.)