GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    EdBoatConnoisseur (edboatconnoisseur@poa.st)'s status on Friday, 25-Oct-2024 10:30:46 JSTEdBoatConnoisseurEdBoatConnoisseur
    in reply to
    • EdBoatConnoisseur
    • vertka
    • broken god
    • segfault
    • Johnny Peligro, now on Mitra!
    • Jerome

    @vertka @mischievoustomato @segfault @cvnt @j also do NOT put the "discard" option on the fstab mount options, it is better to run a monthly trim cronjob like this:

    #!/bin/sh # # To find which FS support trim, we check that DISC-MAX (discard max bytes) # is great than zero. Check discard_max_bytes documentation at # kernel.org/doc/Documentation/block/queue-sysfs.txt # PATH=/usr/sbin:/usr/bin:/sbin:/bin for fs in $(lsblk -o MOUNTPOINT,DISC-MAX,FSTYPE | grep -E '^/.* [1-9]+.* ' | awk '{print $1}'); do [ -z "$1" ] || printf '%s\n' "sending trim to $fs" fstrim "$fs" done

    if you run it interactively and give it an argument it will show which partition is getting trimmed.

    In conversation8 months ago from poa.stpermalink

    Attachments


    1. Invalid filename.
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.

Embed this notice