toad.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server operated by David Troy, a tech pioneer and investigative journalist addressing threats to democracy. Thoughtful participation and discussion welcome.

Administered by:

Server stats:

274
active users

#lvm

1 post1 participant0 posts today

I recently had to do some Docker related things which meant that it was time to retry Linux. My first idea was to install Debian SID and Void Linux - using dm-crypt and LVM on a spare laptop, and I wanted to tell the story of my time using each, as maybe you can get something out of it. Let'a get on with the story now.

# 1. Setting up Debian

I had no idea if the GUI installer for Debian was going to cause an issue, so I went for the next best thing: a KDE image and debootstrap. I was pretty confused by a lot of things, examples of which being setting rd.luks.uuid, locales, and I thought I install systemd in the initramfs as if it were Arch but I eventually gave up and used /etc/crypttab with it working. I had a Debian with full KDE setup in 2 days.

# 2. Setting up Void

I also set up Void while booted into Debian because I had prepared LVM for that when setting up Debian. I had to variate from the Void Linux disk encryption setup because using LUKS1 just felt weird. But I did borrow the crypttab setup from Debian which worked with a caveat: I had to decrypt twice. This was fixed by someone in the voidlinux libera channel thankfully. I had a nearly fully working Void with KDE setup at the end.

# 3. Issues with Void

With everything setup so that PipeWire could start with D-Bus, it did not start. I had another issue related to wireplumber and pipewire-pulse because I forgot to link their configs to `/etc/pipewire/pipewire.conf.d`. Other than that, no notable issues with Void.

# 4. Issues with Debian

I really like packaging things, and thought of adding a package I really wanted to Debian, but I really cannot wrap my head around packaging for Debian. I get it somewhat, use the `dh-*` set of tools to make a package for Meson, cargo, etc. but I'm still kind of stumped outside of that. I really like FreeBSD ports, NixOS packages and XBPS templates from Void as they are really simple to work with. I won't say that it's awful to work with Debian's packaging as I really have not had enough time to understand it.

# 5. Next stop, NixOS

I was previously a NixOS user, and I really need to revisit it as I used to really like it and haven't used it in a while. Additionally, I am also a maintainer for a few nixpkgs packages myself, so it would probably be a good idea for me to use NixOS to have the nicities of it while also contributing back to nixpkgs more. I like it for the same reasons as everyone else.

# 6. Why not FreeBSD

I love FreeBSD, and would like to put it on everything I own, but I had to use Docker. Installing Docker in FreeBSD looks really messy. I had no choice other than to set up Linux, on thankfully a spare laptop and not my main machine. I'll be honest, if I didn't need Docker, I would just use FreeBSD on that laptop.

# 7. The End

That's my chaptered semi-rant about my journey with 2 Linux Distributions, and any options I may also pick. Honestly, FreeBSD is not as complicated in my opinion due to documentation, tooling and ease of use of said tooling. Jails, bhyve and other nicities are also pretty cool. Tha ks for reading.

#SMART varoitti tänään, että yksi #pöytäkone'en #kiintolevy (1½ Tt HDD) olisi pettämässä 24 tunnin kuluessa. Levy on kieltämättä ainakin 15 vuotta vanha, mutta ongelma oli, että a) se oli osa #LVM:ää eikä siinä ollut enää ”#extent'tejä”, joihin dataa siirtää, ja b) koneen kotelossa oli vain kaksi paikkaa 3½" kiintolevyille, kumpikin käytössä.

Ratkaisu: 5¼" paikalla oleva #bluray-asema irti ja uusi levy väliaikaisesti siihen (ruuveitta, jalustalla). Ja ei kun dataa pelastamaan! #atkjuttuja

Ich muss es mal wieder in aller Deutlichkeit sagen:
Ich
❤️ #Linux

Im
#Notebook meiner Frau war noch eine relativ kleine #SSD. Seit einem Jahr macht sie mega viele Fotos mit dem #Smartphone und bei der letzten Sicherung auf's Notebook waren nur noch 4 GB frei.

Ich habe das mit
#LUKS vollverschlüsselte #Ubuntu kurzerhand mit Linux #Bordmitteln auf eine größere SSD umgezogen:

1. alte SSD mit dd auf neue SSD 1:1 geklont
2. neue SSD ins Notebook eingebaut und Ubuntu gestartet
3. im laufenden System unbenutzten Speicherplatz mit
#gparted der verschlüsselten Root-Partition hinzugefügt.
4. im laufenden System das
#LVM vergrößert
5. im laufenden System das Dateisystem vergrößert

Fertig.

Effektiver Arbeitsaufwand: 5 min

Man versuche das mal mit
#BigTech #Microsoft #Windows. 🤣

#OpenSource #FOSS #digitaleSelbstbestimmung #digitaleSouveränität #Terminal

Just read a few things warning against tying a #SSD together with a #HDD in a #LVM volume group because of the speed differences…

First run on #Ubuntu I maxed out my /home folder immediately when I migrated in old files.

So what do #Linux #Ubuntu users do when their OS is installed on a smaller internal 120GB SSD, but also have a larger internal 1TB HDD? Can you put /home on the HDD? Does that make sense? Is there a better/smarter option?

Replied in thread

@blackops so what do you recommend here? I chose #LVM & encryption the first time (and probably didn’t set it up right), thinking it would bridge my 250GB SSD & 1TB onboard HD. Then I added all my media files to my home folder and #Ubuntu ran out of space. Is my understanding of LVM wrong? What’s the best way to manage documents and media if your primary drive space is limited?

Donc, là j'ai des conteneurs #LXC sur un #LVM, que je voudrais pouvoir mettre à jour, il vaut mieux passer par les snapshots LVM directement ou faire des copies avec les snapshots LXC ? (mais donc recopier par dessus si ça foire… ??)

Ah mais y a la commande lxc-snapshot… on m'avait enduit avec de l'erreur par lxc-copy…

Hyvästi haaveet toimivasta junanetistä?

VR ehti saada jo oman kalustonsa verkon parannuksen lähes maaliin. Nyt piti vielä parantaa tukiasemien kattavuutta radan varrella. Rahaakin oli varattuna, mutta Lulu Ranteen johtama LVM keskeytti hankkeen ilman ennakkovaroitusta.

dawn.fi/uutiset/2024/06/04/lvm

AfterDawn · Ministeriö keskeytti junien verkkoyhteyksiä parantavan hankkeenBy Petteri Pyyny
#vr#juna#junaverkko