Eskuero

I like sysadmin, scripting, manga and football.

  • 57 Posts
  • 202 Comments
Joined 2 years ago
cake
Cake day: June 13th, 2023

help-circle




  • EskueroAtoLinux@lemmy.mlNew SSD requires password to mount
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    13 days ago

    For automatically you need to add a keyfile to a slot in the luks device

    # openssl genrsa -out /root/keyfile.bin 4096

    # cryptsetup luksAddKey /dev/mapper/extra /root/keyfile.bin

    The entry in the crypttab would be like this

    extra UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX /root/keyfile.bin luks




  • EskueroAtoLinux@lemmy.mlI freed 30GB using Filelight
    link
    fedilink
    arrow-up
    66
    ·
    edit-2
    18 days ago

    Clean all the cache downloads of Arch Linux Packages

    pacman -Scc

    Remove unused docker networks and images

    docker system prune --all

    Cleanup untracked git files that might be in .gitignore such as build and out directories (beware of losing data, use “n” instead of “f” for a dry run)

    git clean -xdf

    Do an aggresive pruning of objects in git (MIGHT BE VERY SLOW)

    git gc --aggressive --prune=now

    Remove old journal logs, keeping last seven days

    journalctl --vacuum-time 7days

    Remove pip cache

    pip cache purge











  • 4-2-1-1 for me I guess 🫣 or 4-2-2?

    Two copies at home, synced daily, one of them in an external drive that I like to refer as the emergency grab and run copy lol

    One at a family member synced weekly and manually every time I visit.

    All of those three copies are always within a 10 kilometer radius in a valley overseen by a volcano so…

    One partial copy of the so-critical-would-cry-if-Iost data is synced every few days to a backblaze bucket.


  • Yeah dont read their comments.

    I have them on my RSS because is a nice feed of news even if he does some clickbaity titles but the community has zero moderation.

    Like, it’s not just rude technical arguments, but also a lot of political and personal insults.

    I don’t have the energy for it.