Mirror, no drives listed

    • OMV 3.x

      Post by flmaxey ().

      This post was deleted by the author themselves ().
    • flmaxey wrote:

      Britman wrote:

      So I've added 2 3TB WD Reds, formatted to ext4 and mounted them. But when I come to setup a mirror no drives are listed, not even the OS drive.

      Any help would be great as I can't figure out why they would not be listed.
      I think you got it out of order. The RAID management window does not display drives with a file system on them.
      First, for your 2 WD Reds, un-mount and delete the files systems.

      1. Wipe the drives
      2. Setup a raid mirror (use Mirror - if using Storage, RAID Management)
      3. Then format the mirror with EXT4
      ______________________________________________

      Since you have two drives ready to go, and if you're running OMV3.X can I talk you into a ZFS mirror? :) With file scrubbing and self healing, you'd be better off.

      If you have omvextras installed, there's a plugin to setup ZFS in the GUI. If you're interested, I can provide details.
      Thank you, and yes I'm easy and will try a ZFS.
    • Britman wrote:

      So I've added 2 3TB WD Reds, formatted to ext4 and mounted them. But when I come to setup a mirror no drives are listed, not even the OS drive.

      Any help would be great as I can't figure out why they would not be listed.
      I think you got it out of order. The RAID management window does not display drives with a file system on them.

      First, for your 2 WD Reds, un-mount and delete the files systems.

      1. Wipe the drives
      2. Setup a raid mirror (use Mirror - if using Storage, RAID Management)
      3. Then format the mirror with EXT4 (Use Create and Select the RAID device)
      4. Mount
      ______________________________________________

      Since you have two drives ready to go, and if you're running OMV3.X can I talk you into a ZFS mirror? :) With file scrubbing and self healing, you'd be better off.

      If you have omvextras installed, there's a plugin to setup ZFS in the GUI setup. If you're interested, I can provide details.
      Good backup takes the "drama" out of computing
      ____________________________________
      OMV 3.0.90 Erasmus
      ThinkServer TS140, 12GB ECC / 32GB USB3.0
      4TB SG+4TB TS ZFS mirror/ 3TB TS

      OMV 3.0.81 Erasmus - Rsync'ed Backup Server
      R-PI 2 $29 / 16GB SD Card $8 / Real Time Clock $1.86
      4TB WD My Passport $119
    • flmaxey wrote:

      Britman wrote:

      So I've added 2 3TB WD Reds, formatted to ext4 and mounted them. But when I come to setup a mirror no drives are listed, not even the OS drive.

      Any help would be great as I can't figure out why they would not be listed.
      I think you got it out of order. The RAID management window does not display drives with a file system on them.
      First, for your 2 WD Reds, un-mount and delete the files systems.

      1. Wipe the drives
      2. Setup a raid mirror (use Mirror - if using Storage, RAID Management)
      3. Then format the mirror with EXT4
      ______________________________________________

      Since you have two drives ready to go, and if you're running OMV3.X can I talk you into a ZFS mirror? :) With file scrubbing and self healing, you'd be better off.

      If you have omvextras installed, there's a plugin to setup ZFS in the GUI. If you're interested, I can provide details.
      Thank you, and yes I'm easy and will try a ZFS.
    • Britman wrote:

      Thank you, and yes I'm easy and will try a ZFS.
      Do you have omvextras installed? In plugin's is the ZFS plugin named openmediavailt-zfs 3.0.18 available?
      Good backup takes the "drama" out of computing
      ____________________________________
      OMV 3.0.90 Erasmus
      ThinkServer TS140, 12GB ECC / 32GB USB3.0
      4TB SG+4TB TS ZFS mirror/ 3TB TS

      OMV 3.0.81 Erasmus - Rsync'ed Backup Server
      R-PI 2 $29 / 16GB SD Card $8 / Real Time Clock $1.86
      4TB WD My Passport $119
    • Another question - Do you know how to use the CLI?
      Good backup takes the "drama" out of computing
      ____________________________________
      OMV 3.0.90 Erasmus
      ThinkServer TS140, 12GB ECC / 32GB USB3.0
      4TB SG+4TB TS ZFS mirror/ 3TB TS

      OMV 3.0.81 Erasmus - Rsync'ed Backup Server
      R-PI 2 $29 / 16GB SD Card $8 / Real Time Clock $1.86
      4TB WD My Passport $119
    • Britman wrote:

      When I say I've installed ZFS, the plugin is currenlty installing but with errors.

      Source Code

      1. cp: cannot stat '/var/lib/dkms/spl/0.6.5.9/build/spl_config.h': No such file or directory
      2. cp: cannot stat '/var/lib/dkms/spl/0.6.5.9/build/module/Module.symvers': No such file or directory
      Crappers.

      Remove the ZFS plugin.
      On the command line do the following:

      Source Code

      1. apt-get clean
      2. apt-get update
      Then install it again.

      You are running OMV 3.0.X right?
      Good backup takes the "drama" out of computing
      ____________________________________
      OMV 3.0.90 Erasmus
      ThinkServer TS140, 12GB ECC / 32GB USB3.0
      4TB SG+4TB TS ZFS mirror/ 3TB TS

      OMV 3.0.81 Erasmus - Rsync'ed Backup Server
      R-PI 2 $29 / 16GB SD Card $8 / Real Time Clock $1.86
      4TB WD My Passport $119
    • flmaxey wrote:

      Britman wrote:

      When I say I've installed ZFS, the plugin is currenlty installing but with errors.

      Source Code

      1. cp: cannot stat '/var/lib/dkms/spl/0.6.5.9/build/spl_config.h': No such file or directory
      2. cp: cannot stat '/var/lib/dkms/spl/0.6.5.9/build/module/Module.symvers': No such file or directory
      Crappers.
      Remove the ZFS plugin.
      On the command line do the following:

      Source Code

      1. apt-get clean
      2. apt-get update
      Then install it again.

      You are running OMV 3.0.X right?
      Yes, thing is it did actually install and I have a ZFS mirror setup and running. Even got my first folder added and shared via SMB/CIFS, just need to figure out why my Windows PC can't see the server of share.
    • OK! Well, you got a bit ahead of where I thought you'd be. Delete your SMB share, and the underlaying share first.

      You'll need to do the following, or your base permissions will be like those on a Solaris server. (You want Linux permissions.) It's easier to do this from the command line, versus editing your mirror in the GUI.

      On the command line: In the following, yourpoolname = whatever you named the pool. (Use notepad or something so you can copy and paste it in.)

      Source Code

      1. zfs set aclinherit=passthrough yourpoolname
      2. zfs set acltype=posixacl yourpoolname
      3. zfs set xattr=sa yourpoolname
      4. zfs set compression=lz4 yourpoolname

      After the above is set, then you can go back to setting the shared folder, then layer an SMB share on top of it.

      In permissions for your new Share folder, give "Others" "Read/Write/Exec"
      Then, in the SMB share, In Public set Guests Allowed and unset "Read Only". (If it's green, make it grey or off)
      Good backup takes the "drama" out of computing
      ____________________________________
      OMV 3.0.90 Erasmus
      ThinkServer TS140, 12GB ECC / 32GB USB3.0
      4TB SG+4TB TS ZFS mirror/ 3TB TS

      OMV 3.0.81 Erasmus - Rsync'ed Backup Server
      R-PI 2 $29 / 16GB SD Card $8 / Real Time Clock $1.86
      4TB WD My Passport $119

      The post was edited 2 times, last by flmaxey: ed ().

    • Actually, after you edit the pools, it might be best if you reboot with the new attributes set, before setting up shares. (It might not be required, I'm trying to remember when I did it the last time, but it wouldn't hurt anything.)

      Also, Windows is kind of weird in that way too. If you have your new SMB share on your network, it might be best to either log off and on, or reboot the Windows Client.
      Good backup takes the "drama" out of computing
      ____________________________________
      OMV 3.0.90 Erasmus
      ThinkServer TS140, 12GB ECC / 32GB USB3.0
      4TB SG+4TB TS ZFS mirror/ 3TB TS

      OMV 3.0.81 Erasmus - Rsync'ed Backup Server
      R-PI 2 $29 / 16GB SD Card $8 / Real Time Clock $1.86
      4TB WD My Passport $119
    • If your SMB share still doesn't show up, check the windows workgroup name, versus what you have in OMV under SMB/CIF in the Settings TAB.
      Good backup takes the "drama" out of computing
      ____________________________________
      OMV 3.0.90 Erasmus
      ThinkServer TS140, 12GB ECC / 32GB USB3.0
      4TB SG+4TB TS ZFS mirror/ 3TB TS

      OMV 3.0.81 Erasmus - Rsync'ed Backup Server
      R-PI 2 $29 / 16GB SD Card $8 / Real Time Clock $1.86
      4TB WD My Passport $119
    • Sorry,, we're doing this in real time and it was a typo. I revised it, but not in time.

      zfs set xattr=sa yourpoolname

      (FYI: ZFS1 is the name of my pool)
      Good backup takes the "drama" out of computing
      ____________________________________
      OMV 3.0.90 Erasmus
      ThinkServer TS140, 12GB ECC / 32GB USB3.0
      4TB SG+4TB TS ZFS mirror/ 3TB TS

      OMV 3.0.81 Erasmus - Rsync'ed Backup Server
      R-PI 2 $29 / 16GB SD Card $8 / Real Time Clock $1.86
      4TB WD My Passport $119

      The post was edited 1 time, last by flmaxey: ed ().

    • I think you're pretty much on the right track.
      __________________________________________

      Last Notes: (Going to watch a show with the wife)

      The GUI sets data scrubs for your pool automatically so you won't have to configure scrub jobs. (Google ZFS scrub to understand what it is.)

      If you want to see the status of your pool, it's available in the GUI. In ZFS, click on your pool name and on the right hand side, click on details.
      _________________________________________

      There's a lot of info on the net regarding ZFS. Find a ZFS primer and look it over, when you get the time.

      Finally note that ZFS, or any other form of RAID, is not BACKUP. Get something to backup with, even if it's an external drive.
      Good backup takes the "drama" out of computing
      ____________________________________
      OMV 3.0.90 Erasmus
      ThinkServer TS140, 12GB ECC / 32GB USB3.0
      4TB SG+4TB TS ZFS mirror/ 3TB TS

      OMV 3.0.81 Erasmus - Rsync'ed Backup Server
      R-PI 2 $29 / 16GB SD Card $8 / Real Time Clock $1.86
      4TB WD My Passport $119