My almost empty fstab:
none /dev/pts devpts rw 0 0
I'm trying to use noatime for three directories on my server /home
, /tmp
, and /var
df -l
gives:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/simfs 10485760 5914472 4571288 57% /
none 524288 4 524284 1% /dev
So I figured this is how it's done. I add the three entries below into my fstab:
/dev/simfs /home ext3 defaults,noatime,usrquota 1 2
/dev/simfs /tmp ext3 defaults,noatime,noexec,nosuid 1 2
/dev/simfs /var ext3 defaults,noatime,usrquota 1 2
After I save the changes--when I try to remount the drive this happens:
[root@horizon ~]# mount -a -o remount
mount: /home not mounted already, or bad option
mount: /tmp not mounted already, or bad option
mount: /var not mounted already, or bad option
May someone please help me figure out what's wrong with my /etc/fstab
?
Thank you.