What is the most duct-tape thing you've done to Linux?
https://lemm.ee/post/40221370
=> More informations about this toot | More toots from squid_slime@lemm.ee
Mounting a Samba share and moving my LVM pvolumes of / onto a losetup’ed file on it, while running the system. Bass ackwards.
=> More informations about this toot | More toots from cizra@lemm.ee
Good grief. Why?
=> More informations about this toot | More toots from chtk@feddit.nl
I needed to redo partitions, but didn’t want to reboot.
=> More informations about this toot | More toots from cizra@lemm.ee
That’s not even a bad idea then.
One of my machines has a boot partition that’s a bit too small, on an otherwise LVM setup.
=> More informations about this toot | More toots from chtk@feddit.nl
I’d recommend a Linux installer on a memory stick, instead. It’s bound to have less network lag.
=> More informations about this toot | More toots from cizra@lemm.ee
Nah, it’ll be fine.
I might have a large enough USB SSD laying around some where. I could probably use that instead.
=> More informations about this toot | More toots from chtk@feddit.nl
Does your FS support online resizing? EXT4 doesn’t, so you’d have to use an installer stick.
Be super careful about partition sizes. I once tried to shrink my FS to an exact size, then shrink the LV to the same size - it ended up corrupting my FS. After that time, I started undersizing the FS, then resizing LV, finally expanding the FS again.
Have backups.
=> More informations about this toot | More toots from cizra@lemm.ee
Does your FS support online resizing?
Yeah. I mainly use btrfs; it supports online growing and shrinking.
Be super careful about partition sizes. […]
I know. I have done plenty of same device partition resizing. I know the pit falls, and for safety shrink the FS to below what the LV is going to be.
Have backups.
Thanks for the reminder. I’ve been meaning to set up snapshot backups for this machine using rsnapshot as an experiment. I mainly use Dirvish
=> More informations about this toot | More toots from chtk@feddit.nl
I use rsync with a custom shell script to manage the number of incremental copies. You’ll probably prefer something less janky.
=> More informations about this toot | More toots from cizra@lemm.ee
That sounds pretty much like what Dirvish and rsnapshot do. Both wrap rsync.
=> More informations about this toot | More toots from chtk@feddit.nl This content has been proxied by September (3851b).Proxy Information
text/gemini