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 $