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

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

Conversation

Notices

  1. Embed this notice
    Jeena (jeena@toot.jeena.net)'s status on Friday, 11-Aug-2023 14:20:09 JST Jeena Jeena

    Slowly moving all my webservices from one server to another because years ago I made the mistake that I didn't use LVM and now I'm constantly battling with having too little space on my root directory. Because of that at least once a week some or several of my services go down.

    I probably could fix it somehow, but moving things between servers is also an interesting exercise in if you still understand what you set up several years ago. Especially because...

    via https://jeena.net/notes/1380

    In conversation Friday, 11-Aug-2023 14:20:09 JST from toot.jeena.net permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: jeena.net
      Note #1380
      from /humans.txt
    • Embed this notice
      mk (mk@mastodon.satoshishop.de)'s status on Friday, 11-Aug-2023 14:20:07 JST mk mk
      in reply to

      @jeena

      zfs ist ein

      - raid controller,
      - lvm und
      - dateisystem

      in einem.

      $ sudo -i
      $ apt install zfsutils-linux
      $ dd if=/dev/zero of=/tmp/hdd0 bs=1GB count=1
      $ dd if=/dev/zero of=/tmp/hdd1 bs=1GB count=1

      $ zpool create \
      -o autoexpand=on \
      -o autoreplace=on \
      -o autotrim=on \
      -O sync=disabled \
      -O compression=lz4 \
      -O encryption=on \
      -O keylocation=prompt \
      -O keyformat=passphrase \
      demopool \
      /tmp/hdd0

      $ zpool list

      neue platte
      $ zpool add demopool /tmp/hdd1

      https://hedgedoc.satoshishop.de/Qb_TI8a6TsOyqX_e3op1PA#Gespiegelten-Pool-und-verschl%C3%BCsseltes-root-filesystem-erstellen

      In conversation Friday, 11-Aug-2023 14:20:07 JST permalink
    • Embed this notice
      mk (mk@mastodon.satoshishop.de)'s status on Friday, 11-Aug-2023 14:31:37 JST mk mk
      in reply to

      @jeena

      service migrieren auf neuen host.

      $ dataset=pool/datasets/docker/bitcoin/lnd
      $ cd /$dataset
      $ docker-compose down
      $ /etc/cron.hourly/zfs-auto-snapshot
      $ zfs send $(zfs list -o name -t snap $dataset | tail -n1) | ssh root@newserver zfs receive $dataset
      $ ssh root@newserver "cd /$dataset && docker-compose up -d"
      $ zfs destroy -r $dataset

      reverse proxy
      ~ https://peertube.satoshishop.de/w/wP7V14bpJXrueaCrqBWEsV

      backups
      https://peertube.satoshishop.de/w/uWxprhWic8a3AUiKAkC5jH?start=2m35s

      In conversation Friday, 11-Aug-2023 14:31:37 JST permalink

      Attachments


      1. Domain not in remote thumbnail source whitelist: peertube.satoshishop.de
        Folgeproblem aufgetreten nach der Windows 7 Reparatur
        from edv (deutsch)
        Bezieht sich auf dieses Video: https://peertube.satoshishop.de/w/pLV3XeQf32HLSe8j6tnB6Q 00:00:00 Truenas kann keine Backups mehr machen 00:02:19 Wie funktioniert OpenZFS Replikation mit Truenas Core? 00:06:03 Problem finden und reparieren 00:10:54 Prüfen ob die Reparatur erfolgreich war
    • Embed this notice
      mk (mk@mastodon.satoshishop.de)'s status on Friday, 11-Aug-2023 21:35:16 JST mk mk
      in reply to

      @jeena

      zfs wurde ursprünglich unter bsd entwickelt. openzfs ist so'n mantel-projekt, dass versucht zfs funktionalität zwischen allen betriebssystemen zu koordinieren.

      wenn du debian/ubunto benutzt, solltest du einfach das standardpaket 'zfsutils-linux' installieren können.

      $ zfs --version
      zfs-2.1.5-1ubuntu6~22.04.1
      zfs-kmod-2.1.5-1ubuntu6~22.04.1

      wenn dein betriebssystem versucht dir irgend ne zfs version < 2 anzudrehen, lass es lieber bleiben.

      In conversation Friday, 11-Aug-2023 21:35:16 JST permalink
    • Embed this notice
      Jeena (jeena@toot.jeena.net)'s status on Friday, 11-Aug-2023 21:35:18 JST Jeena Jeena
      in reply to
      • mk

      @mk ich muss zugeben dass ich mich mit ZFS noch nicht befasst habe da ich irgendwie angenommen habe dass es vor allem gut unter BSD läuft und unter Linux probleme macht.

      Das kommt aber von sehr lange her, kann auch sein dass ich Linux mit macOS vorwechsle in diesem Fall.

      In conversation Friday, 11-Aug-2023 21:35:18 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • 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.