a better filesystem?

    • OMV 3.x
    • rals2007 wrote:

      thats what i meant, btrfs filesystem for the storage data and leave the OMV HD filesystem as default.

      My setup is:
      128gb SSD for OMV system.
      4TB HD for storage
      OK, sorry If I didn't understood before :) .
      I don't know but I think we don't have to reformat for updating BTRFS.
      They update sometimes BTRFS but we don't need to reformat.

      Don't forget it's always better for make a bakup.

      You could check the BTRFS changelog here.
      :evil: Mulder FOX

      The post was edited 1 time, last by Judibet: Correction. ().

    • so after creating btrfs, /etc/fstab now shows it as:

      Source Code

      1. /dev/disk/by-label/MediaHD /srv/dev-disk-by-label-MediaHD"

      it used to be:

      Source Code

      1. UUID=af6e6a5c-6392-4584-a524-1a479a6524a6 /media/af6e6a5c-6392-4584-a524-1a479a6524a6
      Is this correct?

      It seems the location is somewhat changed from /media to /srv

      The post was edited 3 times, last by rals2007 ().

    • Hello,

      For me, its /dev/disk/...
      Like you.

      But yes, you could use the disk UUID.

      Only one thing is bad.
      The destination /media/af6e6a5c-6392-4584-a524-1a479a6524a6 exist????

      Ensure with blkid to check is the UID is good and ls if /media/af6e6a5c-6392-4584-a524-1a479a6524a6 exist.

      Don't use this script if you are not sure or your UID, mountpoint and /etc/fstab content!

      Shell-Script: add2fstab.sh

      1. if [ ! -d /media/af6e6a5c-6392-4584-a524-1a479a6524a6 ];
      2. then
      3. echo -e "This directory didn't exist!\n";
      4. exit 1;
      5. else
      6. echo -e "It's OK, this directory exist!\n";
      7. cp /etc/fstab /etc/fstab.bak
      8. echo -e "\nUUID=af6e6a5c-6392-4584-a524-1a479a6524a6 /srv/dev-disk-by-label-MediaHD btrfs defaults,nofail 0 2\n" >> /etc/fstab
      9. mount /srv/dev-disk-by-label-MediaHD
      10. fi
      For information:

      Shell-Script: /etc/fstab

      1. /dev/disk/by-label/MediaHD fstype /srv/dev-disk-by-label-MediaHD none bind,nofail 0 2
      Equal:

      Shell-Script: /etc/fstab

      1. UUID=af6e6a5c-6392-4584-a524-1a479a6524a6 fstype /srv/dev-disk-by-label-MediaHD none bind,nofail 0 2
      :evil: Mulder FOX

      The post was edited 2 times, last by Judibet: Script correction. ().

    • rals2007 wrote:

      Is this correct?

      It seems the location is somewhat changed from /media to /srv
      Yes this is correct. OMV doesn't use UUIDs anymore since they may be duplicated with LVM snapshots. The default mounting location changed in 3.0.67 (I think) to /srv.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Judibet wrote:

      The destination /media/af6e6a5c-6392-4584-a524-1a479a6524a6 exist????
      It doesnt exist. thats the old value written in fstab.i wrote it down before converting it to BTRFS



      ryecoaaron wrote:

      Yes this is correct. OMV doesn't use UUIDs anymore since they may be duplicated with LVM snapshots. The default mounting location changed in 3.0.67 (I think) to /srv.
      Great! Thanks for the info :)

      So does this mean I'm all good?
    • Old FSTAB (Storage HD is EXT4)

      Source Code

      1. # <file system> <mount point> <type> <options> <dump> <pass>
      2. # / was on /dev/sdc1 during installation
      3. UUID=623ec8c1-d525-4b4f-be5c-fdcb9a31c1a6 / ext4 errors=remount-ro 0 1
      4. # swap was on /dev/sdc5 during installation
      5. UUID=5ab274bb-0d42-4228-b823-cff5b3753747 none swap sw 0 0
      6. # >>> [openmediavault]
      7. UUID=af6e6a5c-6392-4584-a524-1a479a6524a6 /media/af6e6a5c-6392-4584-a524-1a479a6524a6 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2



      New FSTAB (Storage HD is BTRFS)

      Source Code

      1. # / was on /dev/sdc1 during installation
      2. UUID=623ec8c1-d525-4b4f-be5c-fdcb9a31c1a6 / ext4 errors=remount-ro 0 1
      3. # swap was on /dev/sdc5 during installation
      4. UUID=5ab274bb-0d42-4228-b823-cff5b3753747 none swap sw 0 0
      5. # >>> [openmediavault]
      6. /dev/disk/by-label/MediaHD1 /srv/dev-disk-by-label-MediaHD1 btrfs defaults,nofail 0 2
    • You should never edit the OMV section of fstab. It is regenerated every boot. If something is wrong, it needs to be edited in config.xml and then omv-mkconf fstab.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • rals2007 wrote:

      I didn't. it changed on its own after i convert my storage from EXT4 to BTRFS.
      You did it the right way. I was just mentioning that in case people wanted to convert to btrfs from ext4 without unmounting/mounting from the OMV web interface.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • couldn't you just use btrfs-convert FAQ ?
      omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
      SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
      PSU: Silencer 760 Watt ATX Power Supply
      IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
      OS on 2×120 SSD in RAID-1 |
      DATA: 3x3T| 4x2T | 2x1T