Skip to content

u/lebean

In this archive from Aug 2009 to Oct 2024

0
posts
30
comments
0
media
58
score
1 saved before deletion

Five Guys are the most expensive, marked up fries around. When a cheeseburger with any and all toppings you want is 5.99, and a small fry is 3.29, your pricing is out of whack. A small fry there is literally two potatoes put through the slicer with a little seasoning salt after they're cooked... Maybe 30 cents in food cost, tops.

0 points

Playing devil's advocate to your devil's advocate:

  • Possibility of losing your own key, rendering everything useless.

Your key/passphrase has to be treated just like any other secure password you have. Keep it in a password vault, print it and keep it in a safe, etc.

  • Bugs

Legit concern for the still-to-be-proven stuff like Veracrypt, but in many cases we're talking about very vetted and heavily used software here (assuming LUKS on Linux, geli on FreeBSD, and so on). If you don't trust the encryption code, you honestly shouldn't be trusting that OS with your data.

  • Performance

This is a trade off, though on modern systems the impact is very small. You'd never suspect my laptop or desktop are encrypted while using them if I didn't tell you, I can guarantee that. Everything is still very, very snappy.

  • Not worried about gov't

Neither am I. I do it purely for the knowledge that I could leave all my systems and external disks (which contain backups, tons of financial docs, and so on) sitting on a street for anyone to pick up, and there's no way within the next 500 years or so that they're going to ever view a single bit of that data unencrypted (with modern hardware, maybe 20 years from now some insane advances will render today's encryption too insecure). No, I don't plan to leave it anywhere, but nobody plans to get robbed or mugged, and identity theft is a HUUUGE hassle to recover from. You will kick yourself every single minute for not encrypting your drives while you try to undo what someone can do to your life once they have your sensitive info.

  • Can't compress

What? I've never heard this about any full-disk encryption. My ZFS pools on geli are compressed, and if I ran a filesystem on my Linux hosts that supported compression I could do it there too. Full-disk encryption is transparent to your OS' filesystem, you still have all the bells and whistles (the filesystem is just on a different device, instead of being on /dev/sdd1 it's on /dev/mapper/crypt_sdd1, for example).

  • Long term retreival

This is no more a concern with encryption than without, as long as you can remember your passphrase. If at some point in the future your OS deprecates the encryption you're using, you'll migrate your data. That is a really low-odds hypothetical though.

...things I wouldn't want disclosed publicly are just tax returns and medical records. Pretty sure the government already has those

Yes, the government does. A group of bored high school kids with questionable morals doesn't have your financials yet though. What will they do if they get it? Read around on the nightmare of dealing with identity theft, it is ugly stuff.

  • Not encrypted at point of origin

Which data? Your tax returns when filing online? They're certainly transferred via an encrypted channel when transmitted to you (as pdf or whatever) via TLS/SSL. Yes, you have to trust the institutions to do their part, securing your data as best they can. Is it so bad to help their efforts out by securing it at your home, too? The other institution can have all the security in the world, but you storing your items unencrypted makes them immediately and easily available to anyone who gets your system or disks and has a simple liveboot usb stick with a linux distribution on it. We're talking 45 seconds or so and they're surfing around in your user directory looking for interesting things.

5 points

That's a bit nonsensical, the encryption adds very little to the process of recovery. You've either built your RAID from a set of encrypted disks/partitions, or you've built a RAID from non-encrypted components, then encrypted the resulting raid device. Either way, once you've booted into your live/rescue environtment, you're basically doing:

cryptsetup luksOpen <your device>, entering your password, and from that point on recovery proceeds exactly as though you weren't on encrypted devices.

3 points

Is it possible to swap in larger drives one at a time with ZFS, thereby increasing the size of your array without needing additional SATA ports?

Yes, I did this (adminttedly not critical, but still data I didn't want to lose) on a FreeBSD host a while back, replaced six 1TB with six 2TB drives. Took a while, obviously, and if you don't have "autoexpand=on" set for your zpool then you have to export/import the pool for the new space to become available once the final disk has resilvered.

1 points

Not distro-specific, but if your laptop has hybrid graphics, check to see if both your cards are on:

sudo cat /sys/kernel/debug/vgaswitcheroo/switch
0:DIS: :Off:0000:01:00.0
1:IGD:+:Pwr:0000:00:02.0

You can see I'm killing power to my discrete AMD card at boot via a line in /etc/rc.local:

echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

If you have hybrid graphics, and both cards show Pwr, you are losing a ton of battery life and your fans probably run on high constantly.

3 points

does 'iwconfig' list an interface that supports wireless? That's the first step, getting your wireless card functioning. Beyond that, you've just got to set up wpa_supplicant or use NetworkManger (there are other options as well).

2 points

You and I were typing up essentially the same advice to him at the same time, but I didn't have time to dig up commands. In his situation, though, he's going to have a 3 disk RAID5 and sda is probably going to be the 320G that he wants to keep as his root filesystem.

So OP, it doesn't sound like you'll be doing the last step of growing the array (since you don't plan to have four 1.5TB drives), and if you only have four SATA connectors on your motherboard, you'll want to copy the data from your two 750s to the array while it's in degraded mode before you do his step of copying the 1.5 and adding it to the array (otherwise you'll have no connector to plug the 750s onto and get their data).

1 points

Also - I have a lot of my data on my current setup of hard drives, but I don't think I have enough space to back everything up, create the array, and then replace all the data on the array. What are my options there?

I'm going to assume you have four SATA connectors on your board. You pull out your current 1.5 and 750s and install your two new 1.5TB drives. Using mdadm, you'll create a degraded RAID5 (you can specify one of the members as 'missing' and add it later, at which time the array will build that drive up as through you've replaced a failed one).

So, at that point you have a RAID5 in a degraded state, but it's still functional. Now you can plug a 750 onto your fourth SATA connector and copy all of its data to your new array. Once that's done, swap for the other 750 and copy its data over. Finally plug your original 1.5TB onto that fourth SATA connector, copy its data to the array, then wipe its partition table and create the raid autodetect partition to match the one you created on your other two 1.5s (basically, wipe the original 1.5 and partition it exactly like your new ones so it's ready to add to the array).

Now you can use mdadm to replace the "failed" 1.5 in your array with your orignal disk. It will rebuild the failed drive, and you'll have an optimal RAID5.

Sorry for not throwing specific commands and whatnot, I'm on a break and no time to dig them up, but I assure you it's 100% doable and you'll get through fine with the man pages and perhaps a howto.

1 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.