Hi everybody

!
Here is my final tutorial to use FlexRAID under OMV 0.2.7 (0.3 is beta) x32 or x64.
Exemple is done with 3 HDD, 2 DRu and 1 PPU.
There no plugin to configure FlexRAID under OMV GUI and no need of it; All can be done through FlexRAID WebUI:
install OMV,
In OMV GUI- use System / Update manager to update your OS,
- in Service /SSH, enable SSH,
- in Storage / Filesystems, format and label your HDDs
BUT DON'T MOUNT THEM! (ext4 and labels DATA1, DATA2, PARITY1 for me); OMV mounting options may cause issues with FlexRAID (after reboot, HDD in storage Pool don't have the good size).
Connect through SSH (Putty, Kitty) to your OMV server under "root" account :- type "
apt-get update"
- do "
apt-get install default-jre fuse-utils ia32-libs"; ia32-libs is only for x64 OMV version,
- do "
cd /media" and "
mkdir DATA1 DATA2 PARITY1" (1 directory for each HDD used under FlexRAID).
- do "
nano /etc/fstab" and add this after "
# >>> [openmediavault]" comment:
LABEL=DATA1 /media/DATA1 ext4 defaults,relatime 0 2
LABEL=DATA2 /media/DATA2 ext4 defaults,relatime 0 2
LABEL=PARITY1 /media/PARITY1 ext4 defaults,relatime 0 2
# <<< [openmediavault]"
Save it by CTRL+X.
- do "
nano /etc/fuse.conf" and uncomment "
User_allow_other"
- do "
chmod g+w /etc/fuse.conf"
- do "
nano /etc/sudoers" and under "
# User privilege specification" add the following lines:
root ALL= (ALL) ALL (allready exists)
flexraid ALL= (ALL) ALL (the username I choose for FlexRAID session under OMV)"
Save it by CTRL+X.
Reboot.
In OMV GUI- in Storage / Filesystems, you can see your mounted volumes,
- in Access Right management / User, create a new user (called "flexraid" for me), Home Directory = Default, Shell = /bin/bash, groups "SSH and "users". If you do this by SSH with "
adduser" or "
useradd" commands, you won't be able to see your user in OMV Access right management interface.
Connect through SSH (Putty, Kitty) to your OMV server under "flexraid" account :- do "
sudo usemod -G fuse flexraid" to add "flexraid" user to Fuse group (Fuse group doesn't appear in OMV UI),
- same thing for "root" user account,
- do "
cd /media"
- do "
sudo chown -R flexraid:fuse DATA1 DATA2 PARITY1" to make FlexRAID owner of mounted volumes,
- do "
sudo chmod -R g+w DATA1 DATA2 PARITY1" to give writing rights to Fuse group on mounted volumes,
- do "
cd" to go back to flexraid home directory,
- do "
mkdir FlexRAID" to create FlexRAID installation directory in /home/flexraid (better for right management issues),
- do "
wget flexraid.bin_download_url" (FlexRAID.bin is just an exemple and needs to be replaced with the real downloaded filename),
- after donwload completion and hash control (you will need to install md5sum under OMV), make Flexraid.bin executable by typing "
chmod a+x FlexRAID.bin",
- run it by "
./FlexRAID.bin",
- change install path if you want (I prefer keeping default one by pressing ENTER),
-
DON'T CHANGE Fuse librairies with symbolic links, like on Ubuntu, because "Fuse-utils" packet under debian doesn't have" ulockmgr_server". Use native Fuse librairies in FlexRAID.
Reboot.
Connect through SSH (Putty, Kitty) to your OMV server under "flexraid" account :- launch FlexRAID ("
cd /FlexRAID/Openegg/FlexRAID-2.0/" and "
./FlexRAID")
It's possible with scripts used for Ubuntu or Zyental to force FlexRAID running at boot.
It's possible too to login with "flexraid" user at boot as for Ubuntu or Debian (Google: "
autologin linux console mode").
YOU CAN'T RUN FLEXRAID with OMV UI USER ("admin"); You need to start a local session on physical OMV server with "flexraid" user.Connect to FlexRAID with WebUI :- Import your license key
- enter sudo password ("flexraid" user password) in System Control Panel.
- create your pool, your Raid and enjoy

!
Bye.