You are viewing an old revision of this post, from 22 June, 2014 @ 8:52. See below for differences between this version and the current revision.

Ultimate Linux Guide to Transparent RAID

Welcome to Transparent RAID for the Linux Platform

Transparent RAID on Linux follows the same approach as Transparent RAID on Windows. The engine, service brokerage, and task facilities are effectively the same. In fact, more than 80% of the code base is shared between the implementations with less than 20% being platform specific code. The core differences are in the system configurations and kernel integration. From an end-user perspective though, the differences will be minimal if not absolutely trivial. Since Transparent RAID on Windows is fairly well documented, it is a better strategy to have an ultimate guide to detail of the specific of the Linux port.

Outline

Linux Distribution Support

Even though Transparent RAID can be compiled for different Linux distributions, it is only being compiled and released for 64 bit releases of (*/**):
  • Ubuntu Linux 14.04.03 LTS and its derivatives (including Linux Mint): kernel 3.19.0-25-generic or ABI compatible
  • Redhat Enterprise Linux (RHEL) 7/7.1 and its derivatives (including CentOS 7/7.1): kernel 3.10 lts
*Support for additional distributions might be added later based on the number of requests for a given distro. *The Web UI can be installed on a 32 bit or 64 bit system. Only the host needs to be installed on a 64 bit system. **Ubuntu 15.04 with its kernel 3.19.0-25-generic as well as older releases updated to kernel 3.19.0-25-generic will also work, but not tested. For those wishing to boot from a USB thumb drive, the following guides might be of use:

The Installation Manager (recommended)

traid-install-mgr The installation manager simplifies the installation, service configuration, and update of your installation of Transparent RAID and its dependencies. Both the Web UI and Host packages will be installed as services, which will auto start on system reboot. Further, the services can be started, stopped, and restarted by running (*):
  • sudo service traid [start|starthost|startclient]
  • sudo service traid [stop|stophost|stopclient]
  • sudo service traid [restart|restarthost|restartclient]
*The kernel tRAID engine is unaffected by these operations, which means that it is okay to update/uninstall while the array is online. Furthermore, you must reboot after updating the host for the changes to take effect in the kernel.

Transparent RAID Web Client - Custom Installation

If you do not wish to use the installation manager, follow this section to do a custom installation of the Web UI client package. Although the Web UI is compiled and available to be installed on each platform (Windows and Linux), only one install is needed to manage any number of hosts and regardless of the platform the host is running on. That is, the Web UI installed on either Windows or Linux can manage both Windows and Linux hosts. As such, the host can be running on one platform and the Web UI can be running on another platform. Obviously, for users with a single host, the Web UI service would be installed along side of the host services for simplicity. Installing the Web UI on Linux: The Web UI package for Linux is a 32 bit installation. On a 64 bit system, some dependencies need to be installed before the installation of the Web UI as shown below. Ubuntu: sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 chmod a+x NZFS-TRAID-CLIENT-*.bin ./NZFS-TRAID-CLIENT-*.bin
Notes to Ubuntu users: If running into issues installing the Web Client with an error that reads "NZFS-TRAID-CLIENT-1.0_final_XXX.bin not found", this means that you have unresolved dependencies that only aptitude can resolve. Please follow the steps below to resolve that issue. Run: 1. sudo apt-get install aptitude 2. sudo aptitude install libc6:i386 libncurses5:i386 libstdc++6:i386 3. When prompted to leave the installations unchanged, select no by typing "n". 4. When then prompted to downgrade the presented modules, select yes by typing "y" 5. Run the Transparent RAID installation manager and choose to uninstall the Web UI 6. Run the Trasparent RAID installation manager again, but this time choose to install the Web UI
RHEL/Centos: sudo yum -y groupinstall "Compatibility libraries" sudo yum -y install glibc.i686 sudo yum -y install libgcc.i686 sudo yum -y install libstdc++.i686 chmod a+x NZFS-TRAID-CLIENT-*.bin ./NZFS-TRAID-CLIENT-*.bin

Transparent RAID Host - Custom Installation

If you do not wish to use the installation manager, follow this section to do a custom installation of the host package. Transparent RAID for Linux does not require installation or uninstallation as it comes in a portable package. Installing is as easy as extracting the zip package to any directory and starting the service broker from there. Similarly, uninstalling is as easy as deleting the extracted folder. There are no configuration files, and the service broker takes care of all system configurations, which are all dynamic. The service broker also loads and unloads the drivers on demand, and the drivers clean up after themselves when unloaded such as to leave no trace of their presence. This portability means that the host package can be added to a Live CD or placed on a thumb drive or integrated in a truly flexible fashion. Extracted host package (two dynamic drivers and a service broker executable): Extracted Host Package Ensure that the service broker is executable: Ensure broker is executable

Preparing & Registering disks for Transparent RAID

Preparing all disks to be used as DRUs (data disks)

Do not use your OS's default Disk Manager!

Do not use OS disk manager It is highly recommended that the Linux OS's default Disk Manager NOT be used for formatting and partitioning disks. Instead use gparted. This is because on most Linux distributions, the default Disk Manager uses fdisk for the tasks, and fdisk does not properly support GPT disks. The GPT partition format is required for disks larger than 2TB. Even if your disks are MBR formatted, it is simply better to use gparted as it is the better tool. If gparted is not installed on your system, please install it by issuing at a shell prompt: sudo apt-get install gparted. Using a wrongly formatted GPT disk is not just an issue for tRAID usage, it is an issue period and even when tRAID is not involved.

Formatting or verifying the formatting of an existing disk

Transparent RAID supports disks with existing data on them. There is no data migration required. However, the proper partition alignment for the existing disks must be verified to conform. In all cases:
  • The first partition on the disk must be at the 2048 sectors (1 MB) or greater offset
  • There must be at least 1 MB left free at the end of the disk (8 MB recommended)
  • Using the GPT patitioning format for all disks larger than 2TB (GPT and MBR are both fine for disks 2TB or under)
If any of your data disks does not conform to the above requirements, you will need to backup the data off that disk, erase and properly partition the disk as required above, and finally copy back the data on the disk. All DRUs (data disks) must be formatted with at least one partition on them. Also, do label your partitions for easy identification later. All PPUs (parity disks) must be unformatted an must NOT have any partition on them, but should be initialized with a partition table (GPT or MBR). All this is technically not required as you could later format the disks through the transparent disks tRAID presents you, but the Web UI enforces this requirement in order to help users differentiate between their data disks and disks to be used as parity disks. As previously mentioned, you can verify the partition alignment of existing disks in gparted. You should also format new disks using gparted as shown below. Formatting and partitioning are two separate actions. You can view the formatting of your disk (whether it is GPT or MBR) by selecting View -> Device Information in gparted. To view the information on an existing partition, go to Partition -> Information. In particular, ensure that your partitions are labeled! Verify existing disks If the disk is unformatted, you can format it by going through Device -> Create partition table. To create a new partition, select Partition -> New. Please label all partitions for easy reference later! Format & Partition DRUs Format & Partition DRUs - Result After, you have verified or formatted and partitioned all of your DRUs and deleted all partitions off your PPUs, you should verify that your DRUs partitions are labeled, mountable, and accessible as desired. Verify that you can read/write from/to each volume. Important: Do not mount your partitions in fstab! All mounts should be temporary. Verify DRU Mounts After verifying the mounts, please unmount all mounted volumes.

Starting the Host Service

The service broker manages everything on the host. It dynamically manages the kernel drivers and takes care of all system configurations. So, starting the service broker starts up everything else as required. The service broker must be started as root user! It requires elevated privileges to perform many of its tasks. If you used the installation manager, both the service broker and UI service will automatically start on boot. To manually start them, run: sudo service traid start. This single command will start them both as needed. If you did a custom installation, you can manually start the service broker through the shell by changing to the executable's directory and issuing: ./NZFSB & Similarly, you can manually start a custom Web UI installation by changing to its installation directory and issuing: ./nzfsui &

Disk Registration

The preferred way to configure an array is through the Express Wizard. 10. Express tRAID Configuration Wizard You can open the Express Wizard by right-clicking on the host node in the Web UI or by right-clicking on the "RAID Configurations" node and selecting the Express Wizard. TODO: Document Express Wizard on Linux as done for the Windows platform here: http://wiki.flexraid.com/2014/07/27/transparent-raid-quick-setup-guide/ When not using the Express Wizard, disk registration is done essentially the same as documented for the Windows platform: http://wiki.flexraid.com/2013/06/27/preparing-registering-disks-for-transparent-raid/#disk-registration Disk Registration In fact, virtually everything else in the configuration and RAID management process is the same as done in Windows. So, do follow the tutorial trail while ignoring all Windows specific comments: http://wiki.flexraid.com/category/traid/

Changes to your system

The thing you will notice when you create and initialize your array is that all of the data partitions for the disks included in the RAID will go missing from your system. This is normal. These partitions will be added under the tRAID disks to be created when the array is brought online. Mounted tRAID Disks

Revisions

Revision Differences

22 June, 2014 @ 8:52Current Revision
Content
<h1>Welcome to Transparent RAID for the Linux Platform</h1> <h1>Welcome to Transparent RAID for the Linux Platform</h1>
-Transparent RAID on Linux follows the same approach as Transparent RAID on Windows. The engine, service brokerage, and task facilities are the same. In fact, more than 80% of the code base is shared between the implementations with less than 20% being platform specific code. The core differences are in the system configurations and kernel integration. From an end-user perspective though, the differences will be minimal if not absolutely trivial. +Transparent RAID on Linux follows the same approach as Transparent RAID on Windows. The engine, service brokerage, and task facilities are effectively the same. In fact, more than 80% of the code base is shared between the implementations with less than 20% being platform specific code. The core differences are in the system configurations and kernel integration. From an end-user perspective though, the differences will be minimal if not absolutely trivial.
-Since Transparent RAID on Windows is fairly well documented, it is a better strategy to have an ultimate guide to details of the specific of the Linux port. +Since Transparent RAID on Windows is fairly well documented, it is a better strategy to have an ultimate guide to detail of the specific of the Linux port.
<h2><strong>Outline< /strong></h2> <h2><strong>Outline< /strong></h2>
<ul> <ul>
 + <li><a href="#osinstall" title="Linux Distribution Support">Linux Distribution Support</a></li>
 + <li><a href="#manager" title="The Installation Manager (recommended)">The Installation Manager (recommended)</a></li>
- <li><a href="#webui" title="Transparent RAID Web Client Package">Transparent RAID Web Client Package</a></li> + <li><a href="#webui" title="Transparent RAID Web Client - Custom Installation" >Transparent RAID Web Client - Custom Installation</a></li>
- <li>Transparent RAID Host Package</li> 
- <li>Preparing & Registering disks for Transparent RAID</li> 
- <li></li> 
- <li></li> 
- <li></li> 
 + <li><a href="#host" title="Transparent RAID Host - Custom Installation" >Transparent RAID Host - Custom Installation</a></li>
 + <li><a href="#prep" title="Preparing & Registering disks for Transparent RAID">Preparing & Registering disks for Transparent RAID</a></li>
 + <li><a href="#startinghost" title="Starting the Host Service">Starting the Host Service</a></li>
 + <li><a href="#disk-registration" title="Disk Registration">Disk Registration</a></li>
</ul> </ul>
 +<h1><a id="osinstall">Linux Distribution Support</a></h1>
 +Even though Transparent RAID can be compiled for different Linux distributions, it is only being compiled and released for 64 bit releases of (*/**):
 +<ul>
 + <li>Ubuntu Linux 14.04.03 LTS and its derivatives (including Linux Mint): kernel 3.19.0-25-generic or ABI compatible</li>
 + <li>Redhat Enterprise Linux (RHEL) 7/7.1 and its derivatives (including CentOS 7/7.1): kernel 3.10 lts</li>
 +</ul>
 +<strong>*</strong>Support for additional distributions might be added later based on the number of requests for a given distro.
 +<strong>*</strong>The Web UI can be installed on a 32 bit or 64 bit system. Only the host needs to be installed on a 64 bit system.
 +<strong>**</strong>Ubuntu 15.04 with its kernel 3.19.0-25-generic as well as older releases updated to kernel 3.19.0-25-generic will also work, but not tested.
 +For those wishing to boot from a USB thumb drive, the following guides might be of use:
 +<ul>
 + <li><a href="http:// www.ubuntu.com/ download/desktop/ create-a-usb- stick-on-ubuntu">How to create a bootable USB stick on Ubuntu</a></li>
 + <li><a href="http:// www.ubuntu.com/ download/desktop/ create-a-usb- stick-on-windows">How to create a bootable USB stick on Windows</a></li>
 + <li><a href="http:// www.ubuntu.com/ download/desktop/ create-a-usb- stick-on-mac-osx">How to create a bootable USB stick on OS X</a></li>
 +</ul>
 +<h1><a id="manager">The Installation Manager (recommended)</a></h1>
 +<img src="http://wiki.flexraid.com/ wp-content/uploads/2014/06/ traid-install-mgr1.png" alt="traid-install-mgr" width="724" height="324" class="alignnone size-full wp-image-2874" />
 +The installation manager simplifies the installation, service configuration, and update of your installation of Transparent RAID and its dependencies.
 +Both the Web UI and Host packages will be installed as services, which will auto start on system reboot.
 +Further, the services can be started, stopped, and restarted by running (*):
 +<ul>
 + <li>sudo service traid [start|starthost|startclient]</li>
 + <li>sudo service traid [stop|stophost|stopclient]</li>
 + <li>sudo service traid [restart|restarthost|restartclient]</li>
 +</ul>
 +*The kernel tRAID engine is unaffected by these operations, which means that it is okay to update/uninstall while the array is online.
 +Furthermore, you must reboot after updating the host for the changes to take effect in the kernel.
-<h1><a id="webui">Transparent RAID Web Client Package</a></h1> +<h1><a id="webui">Transparent RAID Web Client - Custom Installation</a></h1>
 +If you do not wish to use the installation manager, follow this section to do a custom installation of the Web UI client package.
Although the Web UI is compiled and available to be installed on each platform (Windows and Linux), only one install is needed to manage any number of hosts and regardless of the platform the host is running on. That is, the Web UI installed on either Windows or Linux can manage both Windows and Linux hosts. As such, the host can be running on one platform and the Web UI can be running on another platform. Obviously, for users with a single host, the Web UI service would be installed along side of the host services for simplicity. Although the Web UI is compiled and available to be installed on each platform (Windows and Linux), only one install is needed to manage any number of hosts and regardless of the platform the host is running on. That is, the Web UI installed on either Windows or Linux can manage both Windows and Linux hosts. As such, the host can be running on one platform and the Web UI can be running on another platform. Obviously, for users with a single host, the Web UI service would be installed along side of the host services for simplicity.
 +<strong><u>Installing the Web UI on Linux:</u></strong>
 +The Web UI package for Linux is a 32 bit installation. On a 64 bit system, some dependencies need to be installed before the installation of the Web UI as shown below.
 +<strong>Ubuntu:</strong>
 +<code>
 +sudo dpkg --add-architecture i386
 +sudo apt-get update
 +sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
 +chmod a+x NZFS-TRAID-CLIENT-*.bin
 +./NZFS-TRAID- CLIENT-*.bin
 +</code>
 +<blockquote>
 +<strong><u>Notes to Ubuntu users:</u></strong>
 +If running into issues installing the Web Client with an error that reads "NZFS-TRAID-CLIENT- 1.0_final_XXX.bin not found", this means that you have unresolved dependencies that only aptitude can resolve.
 +Please follow the steps below to resolve that issue.
 +Run:
 +1. sudo apt-get install aptitude
 +2. sudo aptitude install libc6:i386 libncurses5:i386 libstdc++6:i386
 +3. When prompted to leave the installations unchanged, select no by typing "n".
 +4. When then prompted to downgrade the presented modules, select yes by typing "y"
 +5. Run the Transparent RAID installation manager and choose to uninstall the Web UI
 +6. Run the Trasparent RAID installation manager again, but this time choose to install the Web UI
 +</blockquote>
 +<strong>RHEL/ Centos:</strong>
 +<code>
 +sudo yum -y groupinstall "Compatibility libraries"
 +sudo yum -y install glibc.i686
 +sudo yum -y install libgcc.i686
 +sudo yum -y install libstdc++.i686
 +chmod a+x NZFS-TRAID-CLIENT-*.bin
 +./NZFS-TRAID- CLIENT-*.bin
 +</code>
 +<h1><a id="host">Transparent RAID Host - Custom Installation</a></h1>
 +If you do not wish to use the installation manager, follow this section to do a custom installation of the host package.
 +Transparent RAID for Linux does not require installation or uninstallation as it comes in a portable package. Installing is as easy as extracting the zip package to any directory and starting the service broker from there. Similarly, uninstalling is as easy as deleting the extracted folder. There are no configuration files, and the service broker takes care of all system configurations, which are all dynamic. The service broker also loads and unloads the drivers on demand, and the drivers clean up after themselves when unloaded such as to leave no trace of their presence.
 +This portability means that the host package can be added to a Live CD or placed on a thumb drive or integrated in a truly flexible fashion.
<strong>Extracted host package (two dynamic drivers and a service broker executable):</strong> <strong>Extracted host package (two dynamic drivers and a service broker executable):</strong>
<a href="http:// wiki.flexraid.com/wp-content/ uploads/2014/ 06/Extracted- Host-Package.png"><img src="http://wiki.flexraid.com/ wp-content/uploads/2014/06/ Extracted-Host- Package.png" alt="Extracted Host Package" width="658" height="180" class="alignnone size-full wp-image-2694" /></a> <a href="http:// wiki.flexraid.com/wp-content/ uploads/2014/ 06/Extracted- Host-Package.png"><img src="http://wiki.flexraid.com/ wp-content/uploads/2014/06/ Extracted-Host- Package.png" alt="Extracted Host Package" width="658" height="180" class="alignnone size-full wp-image-2694" /></a>
<strong>Ensure that the service broker is executable:</strong> <strong>Ensure that the service broker is executable:</strong>
<a href="http:// wiki.flexraid.com/wp-content/ uploads/2014/ 06/Ensure-broker- is-executable.png"><img src="http://wiki.flexraid.com/ wp-content/uploads/2014/06/ Ensure-broker- is-executable.png" alt="Ensure broker is executable" width="671" height="663" class="alignnone size-full wp-image-2693" /></a> <a href="http:// wiki.flexraid.com/wp-content/ uploads/2014/ 06/Ensure-broker- is-executable.png"><img src="http://wiki.flexraid.com/ wp-content/uploads/2014/06/ Ensure-broker- is-executable.png" alt="Ensure broker is executable" width="671" height="663" class="alignnone size-full wp-image-2693" /></a>
-Installing the Web UI on Linux: TODO 
-<h1>Transparent RAID Host Package</h1> 
-Transparent RAID for Linux does not require installation or uninstallation as it comes in a portable package. Installing is as easy as extracting the zip package to any directory and starting the service broker from there. Similarly, uninstalling is as easy as deleting the extracted folder. There are no configuration files, and the service broker takes care of all system configurations, which are all dynamic. The service broker also load and unload the drivers on demand, and the drivers clean up after themselves when unloaded such as to leave no trace of their presence. 
 +<h1><a id="prep">Preparing & Registering disks for Transparent RAID</a></h1>
 +<h2><strong>Preparing all disks to be used as DRUs (data disks)</strong></h2>
-This portability means that the host package can be added to a Live CD or placed on a thumb drive or integrated in a truly flexible fashion.+<h3><span style="color: maroon;"><strong>Do not use your OS's default Disk Manager!</strong> </span></h3>
-<h1>Preparing & Registering disks for Transparent RAID</h1>  
-<h2>Preparing all disks to be used as DRUs (data disks)</h2>  
-<h3>Do not use your OS's default Disk Manager!</h3> 
<a href="http:// wiki.flexraid.com/wp-content/ uploads/2014/ 06/Do-not-use- OS-disk-manager.png"><img src="http://wiki.flexraid.com/ wp-content/uploads/2014/06/ Do-not-use-OS- disk-manager.png" alt="Do not use OS disk manager" width="811" height="486" class="alignnone size-full wp-image-2692" /></a> <a href="http:// wiki.flexraid.com/wp-content/ uploads/2014/ 06/Do-not-use- OS-disk-manager.png"><img src="http://wiki.flexraid.com/ wp-content/uploads/2014/06/ Do-not-use-OS- disk-manager.png" alt="Do not use OS disk manager" width="811" height="486" class="alignnone size-full wp-image-2692" /></a>
-It is highly recommended that the your Linux OS default Disk Manager NOT be used for formatting and partitioning disks. This is because on most Linux distributions, the default Disk Manager use fdisk for the tasks, and fdisk does not properly support GPT disks. The GPT partition format is required for disks larger than 2TB. Even if your disks are MBR formatted, it is simply better to use gparted as it is the better tool. +It is highly recommended that the Linux OS's default Disk Manager <strong>NOT</strong> be used for formatting and partitioning disks. Instead use gparted. This is because on most Linux distributions, the default Disk Manager uses fdisk for the tasks, and fdisk does not properly support GPT disks. The GPT partition format is required for disks larger than 2TB. Even if your disks are MBR formatted, it is simply better to use gparted as it is the better tool.
-Instead use gparted. If gparted is not installed on your system, please install it by issuing at a shell prompt: sudo apt-get install gparted. +If gparted is not installed on your system, please install it by issuing at a shell prompt: <strong>sudo apt-get install gparted</strong>.
Using a wrongly formatted GPT disk is not just an issue for tRAID usage, it is an issue period and even when tRAID is not involved. Using a wrongly formatted GPT disk is not just an issue for tRAID usage, it is an issue period and even when tRAID is not involved.
-<h3>Formatting or verifying the formatting of an existing disk</h3> +<h3><strong>Formatting or verifying the formatting of an existing disk</strong></h3>
-Transparent RAID supports disks with existing data on them. There is no data migration required. However, the proper partition alignment for the existing disks must be verify to conform. +Transparent RAID supports disks with existing data on them. There is no data migration required. However, the proper partition alignment for the existing disks must be verified to conform.
In all cases: In all cases:
<ul> <ul>
- <li>The first partition on the disk must be at the 2048 sector (1 MB) or greater offset</li> + <li>The first partition on the disk must be at the 2048 sectors (1 MB) or greater offset</li>
<li>There must be at least 1 MB left free at the end of the disk (8 MB recommended)</li> <li>There must be at least 1 MB left free at the end of the disk (8 MB recommended)</li>
- <li>Using the GPT patitioning format for all disk larger than 2TB (GPT and MBR are both fine for disks 2TB or under)</li> + <li>Using the GPT patitioning format for all disks larger than 2TB (GPT and MBR are both fine for disks 2TB or under)</li>
</ul> </ul>
-If any of your data disks does not conform to the above requirement, you will need to backup the data off that disk, erase and properly partition the disk as required above, and the copy back the data on the disk. +If any of your data disks does not conform to the above requirements, you will need to backup the data off that disk, erase and properly partition the disk as required above, and finally copy back the data on the disk.
 +All DRUs (data disks) must be formatted with at least one partition on them. <strong><u>Also, do label your partitions for easy identification later.</u></strong>
 +All PPUs (parity disks) must be unformatted an must NOT have any partition on them, <u>but should be initialized with a partition table (GPT or MBR)</u>.
 +All this is technically not required as you could later format the disks through the transparent disks tRAID presents you, but the Web UI enforces this requirement in order to help users differentiate between their data disks and disks to be used as parity disks.
 +As previously mentioned, you can verify the partition alignment of existing disks in gparted.
 +You should also format new disks using gparted as shown below.
 +Formatting and partitioning are two separate actions. You can view the formatting of your disk (whether it is GPT or MBR) by selecting <strong>View -> Device Information</strong> in gparted.
 +To view the information on an existing partition, go to <strong>Partition -> Information</strong>.
 +<strong>In particular, ensure that your partitions are labeled!</strong>
 +<a href="http:// wiki.flexraid.com/wp-content/ uploads/2014/ 06/Verify-existing- disks.png"><img src="http://wiki.flexraid.com/ wp-content/uploads/2014/06/ Verify-existing-disks.png" alt="Verify existing disks" width="774" height="676" class="alignnone size-full wp-image-2714" /></a>
 +If the disk is unformatted, you can format it by going through <strong>Device -> Create partition table</strong>.
 +To create a new partition, select <strong>Partition -> New</strong>.
 +<strong>Please label all partitions for easy reference later!</strong>
 +<a href="http:// wiki.flexraid.com/wp-content/ uploads/2014/ 06/Format-Partition- DRUs.png"><img src="http://wiki.flexraid.com/ wp-content/uploads/2014/06/ Format-Partition-DRUs.png" alt="Format &amp; Partition DRUs" width="897" height="533" class="alignnone size-full wp-image-2710" /></a>
 +<a href="http:// wiki.flexraid.com/wp-content/ uploads/2014/ 06/Format-Partition- DRUs-Result.png"><img src="http://wiki.flexraid.com/ wp-content/uploads/2014/06/ Format-Partition- DRUs-Result.png" alt="Format &amp; Partition DRUs - Result" width="779" height="530" class="alignnone size-full wp-image-2709" /></a>
 +After, you have verified or formatted and partitioned all of your DRUs and deleted all partitions off your PPUs, you should verify that your DRUs partitions are labeled, mountable, and accessible as desired. Verify that you can read/write from/to each volume.
 +<strong>Important:</strong> Do not mount your partitions in fstab! All mounts should be temporary.
 +<a href="http:// wiki.flexraid.com/wp-content/ uploads/2014/ 06/Verify-DRU- Mounts.png"><img src="http://wiki.flexraid.com/ wp-content/uploads/2014/06/ Verify-DRU-Mounts.png" alt="Verify DRU Mounts" width="302" height="514" class="alignnone size-full wp-image-2711" /></a>
 +<strong>After verifying the mounts, please unmount all mounted volumes.</strong>
 +<h1><a id="startinghost">Starting the Host Service</a></h1>
 +The service broker manages everything on the host. It dynamically manages the kernel drivers and takes care of all system configurations.
 +So, starting the service broker starts up everything else as required.
 +<strong>The service broker must be started as root user!</strong> It requires elevated privileges to perform many of its tasks.
 +If you used the installation manager, both the service broker and UI service will automatically start on boot.
 +To manually start them, run: <strong>sudo service traid start</strong>. This single command will start them both as needed.
 +If you did a custom installation, you can manually start the service broker through the shell by changing to the executable's directory and issuing: <strong>./NZFSB &</strong>
 +Similarly, you can manually start a custom Web UI installation by changing to its installation directory and issuing: <strong>./nzfsui &</strong>
 +<h1><a id="disk-registration">Disk Registration</a></h1>
 +<strong>The preferred way to configure an array is through the Express Wizard.</strong>
 +<a href="http:// wiki.flexraid.com/wp-content/ uploads/2014/ 07/10.-Express- tRAID-Configuration- Wizard.png"><img src="http://wiki.flexraid.com/ wp-content/uploads/2014/07/ 10.-Express-tRAID- Configuration-Wizard.png" alt="10. Express tRAID Configuration Wizard" width="961" height="620" class="alignnone size-full wp-image-2761" /></a>
 +You can open the Express Wizard by right-clicking on the host node in the Web UI or by right-clicking on the "RAID Configurations" node and selecting the Express Wizard.
 +<strong>TODO:</strong> Document Express Wizard on Linux as done for the Windows platform here: <a href="http:// wiki.flexraid.com/2014/07/ 27/transparent-raid-quick- setup-guide/" title="Express Configuration Wizard">http: //wiki.flexraid.com/2014/ 07/27/transparent-raid-quick- setup-guide/</a>
 +When not using the Express Wizard, disk registration is done essentially the same as documented for the Windows platform: <a href="http:// wiki.flexraid.com/2013/06/ 27/preparing- registering- disks-for-transparent-raid/ #disk-registration">http: //wiki.flexraid.com/2013/ 06/27/preparing- registering- disks-for-transparent-raid/ #disk-registration</a>
-<a href="http:// wiki.flexraid.com/wp-content/ uploads/2014/ 06/Proper-partitioning.png"><img src="http://wiki.flexraid.com/ wp-content/uploads/2014/06/ Proper-partitioning.png" alt="Proper partitioning" width="777" height="533" class="alignnone size-full wp-image-2695" /></a> +<a href="http:// wiki.flexraid.com/wp-content/ uploads/2014/ 06/Disk-Registration.png"><img src="http://wiki.flexraid.com/ wp-content/uploads/2014/06/ Disk-Registration.png" alt="Disk Registration" width="1202" height="592" class="alignnone size-full wp-image-2722" /></a>
-All DRUs must be formatted with at least one partition on them. Also, do label your partitions for easy identification later. 
 +In fact, virtually everything else in the configuration and RAID management process is the same as done in Windows.
 +So, do follow the tutorial trail while ignoring all Windows specific comments: <a href="http:// wiki.flexraid.com/ category/traid/" title="Tutorial trail">http:/ /wiki.flexraid.com/ category/traid/</a>
 +<h3><strong>Changes to your system</strong></h3>
 +The thing you will notice when you create and initialize your array is that all of the data partitions for the disks included in the RAID will go missing from your system. This is normal. These partitions will be added under the tRAID disks to be created when the array is brought online.
 +<a href="http:// wiki.flexraid.com/wp-content/ uploads/2014/ 06/Mounted-tRAID- Disks.png"><img src="http://wiki.flexraid.com/ wp-content/uploads/2014/06/ Mounted-tRAID-Disks.png" alt="Mounted tRAID Disks" width="707" height="582" class="alignnone size-full wp-image-2734" /></a>

Note: Spaces may be added to comparison text to allow better line wrapping.

6 Responses to “Ultimate Linux Guide to Transparent RAID”

  1. Matt November 30, 2014 at 9:56 PM #

    So I’d like try out T-RAID, but my server is running Arch Linux (Manjaro), and I don’t really want to switch. When I try running the Installation Manager, I get “Unable to detect OS!”. I would try installing manually, but I don’t know where to get the host package in order to do the manual install. What are my options?

  2. Matt December 1, 2014 at 2:51 PM #

    Managed to grab all the files for a manual install (on my Arch server). Ran NZFSB and it aborted with “insmod: ERROR: could not insert module frouter.ko: Invalid module format” for both .ko files. Is there anything I can do to get this running?

  3. Brian August 4, 2015 at 1:45 PM #

    Followed the auto installer and when I loaded the WebUI, it just saying Invalid login? This is a fresh install so no login was set. I am attempting to login with nothing in both User & Password at http://localhost:8080/#.

  4. Brahim September 1, 2015 at 8:51 AM #

    @Brian
    The default login is admin/admin.

  5. Enzo March 4, 2016 at 7:19 AM #

    When is the latest Ubuntu server kernel going to be supported?

    Thanks.

    • admin January 6, 2017 at 8:31 PM #

      LTS 16.04 will be supported in the next release (due Spring of 2017).

Leave a Reply

10 − seven =