On 11/23/14 18:06, John Tall wrote:
Hello.
I am running the Fedora 21 beta on an SSD with /boot and / on XFS. I
want to add the discard mount option to both of them, so I changed
defaults to defaults,discard in /etc/fstab and rebooted. While /boot
was mounted with the discard option / was not.
This is my /etc/fstab, actual uuids redacted:
UUID=... / xfs defaults,discard 0 0
UUID=... /boot xfs defaults,discard 0 0
UUID=... /boot/efi vfat umask=0077,shortname=winnt 0 0
UUID=... swap swap defaults 0 0
I tried rebuilding the initramfs with dracut -fv, but after a reboot
still only /boot is mounted with the discard option.
# grep discard /proc/mounts
/dev/sda2 /boot xfs rw,seclabel,relatime,attr2,discard,inode64,noquota 0 0
The rest of the file systems look like this:
# grep ^/ /proc/mounts
/dev/sda4 / xfs rw,seclabel,relatime,attr2,inode64,noquota 0 0
/dev/sda2 /boot xfs rw,seclabel,relatime,attr2,discard,inode64,noquota 0 0
/dev/sda1 /boot/efi vfat
rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro
0 0
How do I mount / with the correct options?
J
Maybe you're seeing this?
https://bbs.archlinux.org/viewtopic.php?id=143254
--
If you can't laugh at yourself, others will gladly oblige.