I moved my db-es on USB stick (Synology DS220+), and after checking it with mount
, I see that it has set relatime
. How can I change it to noatime
? Should I stop the node before applying changes?
Is there anything else that I can do to prolong stick’s life?
mount
/dev/mapper/vg1-volume_1 on /volume1 type ext4 (rw,nodev,noatime,synoacl,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group)
/dev/mapper/vg2-volume_2 on /volume2 type ext4 (rw,nodev,noatime,synoacl,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group)
/dev/usb1p1 on /volumeUSB1/usbshare type ext4 (rw,relatime,synoacl,data=ordered)
In vi /etc/fstab
I see this:
none /proc proc defaults 0 0
/dev/root / ext4 defaults 1 1
/dev/vg1/volume_1 /volume1 ext4 usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,synoacl,noatime,nodev 0 0
/dev/vg2/volume_2 /volume2 ext4 usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,synoacl,noatime,nodev 0 0
Can I add this?
/dev/usb1p1 /volumeUSB1/usbshare ext4 synoacl,noatime 0 0
or this?
/dev/usb1p1 /volumeUSB1/usbshare ext4 synoacl,noatime