Upgrade from OMV 4 to 7 / RAID1 VS RAID5 / Data Migration?

  • 1.) Yes, you're right I tested it and those 3 commands you mentioned including the mount point show exactly the same data:

    btrfs fi sh /srv/dev-disk-by-uuid-73180add-31d0-4cac-b6ce-8a218144cd63

    btrfs fi df /srv/dev-disk-by-uuid-73180add-31d0-4cac-b6ce-8a218144cd63

    btrfs dev stats /srv/dev-disk-by-uuid-73180add-31d0-4cac-b6ce-8a218144cd63



    If you want a fully picture of the way data and metadata have been allocated. etc use: btrfs fi us mountpoint.

    2.) Yes, the command you mentioned including the mount point shows more data which is as follows,
    including that the metadata is also running in RAID1:



    3.) Okay, I will stick with RAID1 for data and metadata and not switch to RAID1 for data and RAID1C3 for metadata.


    I have enabled email notifications via the OMV GUI (="System" -> "Notification" -> "Settings" by adding the respective data from my email provider accordingly and sending the test email worked fine).


    I have also checked via the OMV GUI that such a usage warning is set for my filesystem (="Storage" -> "File Systems" -> Button "Edit" -> "Usage Warning Threshold *" set to "85%").

    However, this was selected and activated by default already.



    As you built and copied data to your 4 device BRTFS RAID1 filesystem ins stages, I'd do one full balance now. It will take a couple of hours to complete. You should not need a full balance in the future unless disks are replaced. A regular "filtered" balance of data only at say 5%, in step with your backup schedule would be useful. See: https://wiki.tnonline.net/w/Btrfs/Balance.


    4.) With "full balance" you mean the following command according to the link you've posted, right?:

    btrfs balance start


    Okay, I will try to schedule a regular "filtered" balance of data only at 5% with my backup schedule.


    Is there a way to see the progress during running such a balance or when it has been successfully completed?

    To be honest, the last time I just left it running for a couple of hours until I could also hear no read/write activity from the HDDs anymore. ;)

  • XYZ1


    A "full balance" is a balance without filters. The btrfs balance does have a -v option, but it doesn't show progress as such. This is in contrast to a btrfs scrub whose status you can check.


    OMV includes scheduled task to check BTRFS dev stats show no errors ( IIRC daily) and for a BTRFS Scrub ( weekly/montly?). But this assumes your OMV is left on all the time. A BTRFS scrub essentially reads all the data looking for cksum errors, repairing any it can. You'd need to think about how frequently you'd want to scrub for BTRFS filesystem and how that fits in with your backup schedule.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!