SUSECON
Results 1 to 10 of 15

Thread: "discard option is not supported" - why?

Threaded View

  1. #1

    "discard option is not supported" - why?

    Why can't I TRIM my SSD drives? I'm not using dmcrypt or LVM.

    ha11b:~ # fstrim /boot
    fstrim: /boot: the discard operation is not supported

    ha11b:~ # cat /etc/issue

    Welcome to SUSE Linux Enterprise Server 12 SP2 (x86_64) - Kernel \r (\l).

    ha11b:~ # uname -a
    Linux ha11b 4.4.59-92.17-default #1 SMP Thu Apr 6 14:16:09 UTC 2017 (7bc489d) x86_64 x86_64 x86_64 GNU/Linux


    ha11b:~ # df -h
    Filesystem Size Used Avail Use% Mounted on
    devtmpfs 16G 8.0K 16G 1% /dev
    tmpfs 16G 76K 16G 1% /dev/shm
    tmpfs 16G 11M 16G 1% /run
    tmpfs 16G 0 16G 0% /sys/fs/cgroup
    /dev/md0 50G 3.2G 45G 7% /
    /dev/sdc4 479M 61M 389M 14% /boot
    tmpfs 3.2G 20K 3.2G 1% /run/user/0
    /dev/sr1 3.2G 3.2G 0 100% /run/media/root/SLE-12-SP2-Server-DVD-x86_642192

    ha11b:~ # mount
    sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
    devtmpfs on /dev type devtmpfs (rw,nosuid,size=16360988k,nr_inodes=4090247,mode=7 55)
    securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
    devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode =000)
    tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
    tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
    cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_age nt=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
    pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
    cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
    cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
    cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
    cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
    cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
    cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
    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/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
    /dev/md0 on / type ext4 (rw,relatime,stripe=160,data=ordered)
    systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=22,pgrp=1,timeout=0,minproto=5,max proto=5,direct)
    hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
    mqueue on /dev/mqueue type mqueue (rw,relatime)
    debugfs on /sys/kernel/debug type debugfs (rw,relatime)
    /dev/sdc4 on /boot type ext4 (rw,relatime,data=ordered)
    tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=3274960k,mode=700)
    gvfsd-fuse on /run/user/0/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
    fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
    /dev/sr1 on /run/media/root/SLE-12-SP2-Server-DVD-x86_642192 type iso9660 (ro,nosuid,nodev,relatime,uid=0,gid=0,iocharset=ut f8,mode=0400,dmode=0500,uhelper=udisks2)
    tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
    Last edited by forbin; 02-Jun-2017 at 20:53.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •