Skip to content

u/derfmatic

In this archive from Jan 2014 to Feb 2023

0
posts
61
comments
0
media
172
score

I think it depends entirely on your use case. I've been using btrfs for about 6 years on a single disk and doesn't really worry about file system corruptions. But I don't really trust it for Precious Memories on a multi disk setup with its fancy features enabled just because I like to keep it simple when it comes to data so if something goes wrong, I only have to worry about one thing instead of three things. Plus I don't understand how COW would deal with fragmentation on HDDs if we're talking bulk storage.

This can be said about subvolumes too. But it depends on how many you're planning on having and why.

df have been updated to give relatively accurate numbers. I think that was a hold over from the early days where df gives all btrfs allocated chunks and not just the spaces in use but now it's OK.

Lastly, I'll leave with filesystems should be something that should just be there humming away as storing data reliably. People evangelize about certain features that just does not matter for your average home user. I can guarantee your system of check summing your backups against live data -key word regularly- will benefit you more than some complicated "enterprise" setup off of a YouTube video because you understand it better.

6 points

I can be done after. As a matter of fact, I should've realized it's already encrypted and setup under debian right? If that's the case, nothing needs to be done on it, just cryptsetup open and mount it and you should be good. That's probably why you were trying to do luks open and vgchange earlier? Sorry, I was thinking about your root partition and not your data partition. Hopefully you didn't luksFormat your data drive if it's already setup.

1 points

So "format" and luksformat is totally different. "Format" (mkfs) makes a file systems on top of a device, whether that device be a disk, an encrypted disk, or a lvm volume. luksFormat makes the luks header on the disk with information like encryption method, hash method, valid passphrases, etc.

Each layer essentially maps one device unto another device for the next layer. cryptsetup maps sda2 to sda2_crypt so to lvm, sda2_crypt looks like a regular disk. lvm maps sda2_crypt into vga-root, so to mkfs, vga-root looks like a regular disk. You'd have to do each operation in order or it won't work.

1 points

Problem is if you go to restore from the drive, you'd get files instead of links. Those files won't be updated when the original sources changes. I'd just tar it.

2 points

I also have btrfs on LUKS with a SSD and my kernel boot is only around 15 secs (I have BIOS boot with my /boot on an unencrypted ext4). What changed for the kernel to go from 3 mins to 1 min? It should be noticeable between the boot loader and when the disk gets decrypted. Bad initramfs and bad compression would just be two things I'd guess off the top of my head.

1 points

I usually start over but it really depend on how much stuff you have and how customized they are.

Personally, I'm pretty vanilla and minimum. I get get my browser, office, and media player working, copy over some config files, and get what I need when I need it. I like the control of getting what I need without having to think "did I actually install all of this?"

On the other hand, if you have a full DE, made a bunch of customizations, and want the stuff to just work on day one, you may want to just grab everything.

4 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.