Howto set norelatime on f15 root?

Michał Piotrowski mkkp4x4 at gmail.com
Sun May 1 22:01:28 UTC 2011


Hi,

2011/5/1 Neal Becker <ndbecker2 at gmail.com>:
> F15beta running in vm.
>
> I changed /etc/fstab to say:
> /dev/mapper/vg_nbecker6f15-lv_root
> /                       ext4    norelatime
> 1 1
> UUID=768e1633-a96b-4932-832b-f65778b51627 /boot                   ext4
> defaults        1 2
> ...
>
> But according to mount, norelatime was ignored.  2 questions:
>
> 1) What do I need to do to get norelatime?


systemd or util-linux problem I guess.

> 2) I see /home mounted, but there is no entry in /etc/fstab.  Who mounted
> /home,
> and how can I change options?

I guess that it was automounted by systemd. Maybe you should add an
entry for this filesystem to fstab with noauto option.

>
> (also tried running dracut, but still see no diff)
>
> mount
> /proc on /proc type proc (rw,relatime)
> /sys on /sys type sysfs (rw,relatime,seclabel)
> udev on /dev type devtmpfs
> (rw,nosuid,relatime,seclabel,size=502432k,nr_inodes=125608,mode=755)
> devpts on /dev/pts type devpts
> (rw,relatime,seclabel,gid=5,mode=620,ptmxmode=000)
> tmpfs on /dev/shm type tmpfs (rw,relatime,seclabel)
> tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel,mode=755)
> /dev/mapper/vg_nbecker6f15-lv_root on / type ext4
> (rw,relatime,seclabel,barrier=1,data=ordered)
> selinuxfs on /selinux type selinuxfs (rw,relatime)
> tmpfs on /sys/fs/cgroup type tmpfs
> (rw,nosuid,nodev,noexec,relatime,seclabel,mode=755)
> cgroup on /sys/fs/cgroup/systemd type cgroup
> (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-
> agent,name=systemd)
> cgroup on /sys/fs/cgroup/cpuset type cgroup
> (rw,nosuid,nodev,noexec,relatime,cpuset)
> cgroup on /sys/fs/cgroup/ns type cgroup (rw,nosuid,nodev,noexec,relatime,ns)
> cgroup on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
> cgroup on /sys/fs/cgroup/cpuacct type cgroup
> (rw,nosuid,nodev,noexec,relatime,cpuacct)
> cgroup on /sys/fs/cgroup/memory type cgroup
> (rw,nosuid,nodev,noexec,relatime,memory)
> cgroup on /sys/fs/cgroup/devices type cgroup
> (rw,nosuid,nodev,noexec,relatime,devices)
> cgroup on /sys/fs/cgroup/freezer type cgroup
> (rw,nosuid,nodev,noexec,relatime,freezer)
> cgroup on /sys/fs/cgroup/net_cls type cgroup
> (rw,nosuid,nodev,noexec,relatime,net_cls)
> cgroup on /sys/fs/cgroup/blkio type cgroup
> (rw,nosuid,nodev,noexec,relatime,blkio)
> systemd-1 on /dev/hugepages type autofs
> (rw,relatime,fd=28,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
> systemd-1 on /sys/kernel/debug type autofs
> (rw,relatime,fd=29,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
> systemd-1 on /sys/kernel/security type autofs
> (rw,relatime,fd=30,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
> systemd-1 on /proc/sys/fs/binfmt_misc type autofs
> (rw,relatime,fd=31,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
> systemd-1 on /dev/mqueue type autofs
> (rw,relatime,fd=32,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
> tmpfs on /media type tmpfs
> (rw,nosuid,nodev,noexec,relatime,rootcontext=system_u:object_r:mnt_t:s0,seclabel,mode=755)
> /dev/sda1 on /boot type ext4 (rw,relatime,seclabel,barrier=1,data=ordered)
> /dev/mapper/vg_nbecker6f15-lv_root on /tmp type ext4
> (rw,relatime,seclabel,barrier=1,data=ordered)
> /dev/mapper/vg_nbecker6f15-lv_root on /var/tmp type ext4
> (rw,relatime,seclabel,barrier=1,data=ordered)
> /dev/mapper/vg_nbecker6f15-lv_root on /home type ext4
> (rw,relatime,seclabel,barrier=1,data=ordered)
> sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
> none on /media/sf_nbecker type vboxsf (rw,nodev,relatime)
>
>
> --
> test mailing list
> test at lists.fedoraproject.org
> To unsubscribe:
> https://admin.fedoraproject.org/mailman/listinfo/test
>



-- 
Best regards,
Michal

http://eventhorizon.pl/


More information about the test mailing list