Question about Enabling flash memory in OMV5

  • So this is the contents of my /etc/fstab file. I am using a raspberry pi 4 with OMV 5 but the commands to disable using my sd card as swap file here:


    • Add noatime and nodiratime to root options. See before and after example lines:
      BEFORE:UUID=ccd327d4-a1ed-4fd2-b356-3b492c6f6c34 / ext4 errors=remount-ro 0 1AFTER:UUID=ccd327d4-a1ed-4fd2-b356-3b492c6f6c34 / ext4 noatime,nodiratime,errors=remount-ro 0 1
    • Comment out the swap partition. See before and after example lines (only need to add a # to beginning of the line):
      BEFORE:UUID=a3c989d8-e12b-41d3-b021-098155d6b21b none swap sw 0 0AFTER:#UUID=a3c989d8-e12b-41d3-b021-098155d6b21b none swap sw 0 0

    But I don't see what to comment out or edit in my fstab file. Thanks.


    pi@raspberrypi:/etc $ more fstab
    proc /proc proc defaults 0 0
    PARTUUID=6c586e13-01 /boot vfat defaults 0 2
    PARTUUID=6c586e13-02 / ext4 noatime,nodiratime,defaults
    0 1
    # a swapfile is not a swap partition, no line here
    # use dphys-swapfile swap[on|off] for that
    # >>> [openmediavault]
    /dev/disk/by-label/HDA /srv/dev-disk-by-label-HDA ext4 defaults
    ,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfs
    v0,acl 0 2
    # <<< [openmediavault]
    pi@raspberrypi:/etc $

  • You have no separate swap partition so there is nothing to disable by commenting.


    If you want to disable swap then run this command in a root shell:


    dphys-swapfile swap off

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • It's probably this instead:


    dphys-swapfile swapoff

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!