It's also hard to think of a Stephen King novel that doesn't get brutally boring for a while in the middle, so you have to slog through that to get back to the action.
Hey, it isn't garbage if it works, your stuff definitely does but it always takes me a minute to remember the way to clobber the last sectors of the drive.
Doesn't wipefs -a take care of all of this for us anymore? Clearing everything from both the beginning and end of drives for anything/everything the blkid command knows exists?
Yeah, while watching that scene, "Nope, you honestly didn't care about that footage at all or you'd have backups, there are no acceptable excuses/reasons there".
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.
Well now, I literally have 7 of them sitting here on my desk, pulled from a couple of different archive boxes. Several others have failed and been destroyed/tossed, I just hadn't gotten to these. I think I'll be looking into this suit. Thanks!
Duplicity with Backblaze's B2 is cheap and extremely bandwidth friendly for encrypted offsite backups (once you're past the original full backup). You don't get a nice gui or anything, but a few simple commands give you backups and restores. Works on Linux and the BSDs.
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.
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.
LUKS allows multiple key slots. Let the USB drive be a key, but if it ever dies, then you have a second key (likely a normal, long passphrase that you've got memorized or stored in a safe or something).
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.
That's where LDAP fits in to give you centralized user/group info. You can also authenticate against it so your passwords are centralized, but kerberos is better than LDAP for the auth piece.
I'm also AMD+Intel. Hybrid graphics are just nowhere near usable or worthwhile on Linux yet, but like everything else, I expect they'll catch up eventually. For now, I leave the AMD disabled and live with it.
Haven't done it with Arch, but I did exactly that with my Debian install a while back, worked perfectly. Sorry I don't have helpful info, but you're definitely on a "doable" path, keep at it and you'll figure it out. :)
"No chain/target/match by that name" I think the problem is you're missing the 'target' part of your rule, 'LOG'. Does 'lsmod | grep ipt' show you have ipt_LOG loaded?
stunnel is about as lightweight and straightforward as you could get for this, and it's exactly what it was created to do (rather than using a web server in proxy mode). You could also use pound.
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).
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).
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.
It's also hard to think of a Stephen King novel that doesn't get brutally boring for a while in the middle, so you have to slog through that to get back to the action.
Hey, it isn't garbage if it works, your stuff definitely does but it always takes me a minute to remember the way to clobber the last sectors of the drive.
Doesn't
wipefs -atake care of all of this for us anymore? Clearing everything from both the beginning and end of drives for anything/everything theblkidcommand knows exists?Yeah, while watching that scene, "Nope, you honestly didn't care about that footage at all or you'd have backups, there are no acceptable excuses/reasons there".
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.
Are things like B2 or Wasabi not a fit for your backup needs?
Well now, I literally have 7 of them sitting here on my desk, pulled from a couple of different archive boxes. Several others have failed and been destroyed/tossed, I just hadn't gotten to these. I think I'll be looking into this suit. Thanks!
Duplicity with Backblaze's B2 is cheap and extremely bandwidth friendly for encrypted offsite backups (once you're past the original full backup). You don't get a nice gui or anything, but a few simple commands give you backups and restores. Works on Linux and the BSDs.
Jealous... did you score this on Craigslist or something?
Playing devil's advocate to your devil's advocate:
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.
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.
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.
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.
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).
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.
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.
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.
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.
LUKS allows multiple key slots. Let the USB drive be a key, but if it ever dies, then you have a second key (likely a normal, long passphrase that you've got memorized or stored in a safe or something).
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.
That's where LDAP fits in to give you centralized user/group info. You can also authenticate against it so your passwords are centralized, but kerberos is better than LDAP for the auth piece.
Out of curiosity, can you pastebin the output of "pactl list cards" while you have everything connected?
I'm also AMD+Intel. Hybrid graphics are just nowhere near usable or worthwhile on Linux yet, but like everything else, I expect they'll catch up eventually. For now, I leave the AMD disabled and live with it.
Not distro-specific, but if your laptop has hybrid graphics, check to see if both your cards are on:
You can see I'm killing power to my discrete AMD card at boot via a line in /etc/rc.local:
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.
Haven't done it with Arch, but I did exactly that with my Debian install a while back, worked perfectly. Sorry I don't have helpful info, but you're definitely on a "doable" path, keep at it and you'll figure it out. :)
Looks like it, no modules to match your running kernel? Weird.
so does 'modprobe ipt_LOG' succeed, and then allow you to add your logging rule?
"No chain/target/match by that name" I think the problem is you're missing the 'target' part of your rule, 'LOG'. Does 'lsmod | grep ipt' show you have ipt_LOG loaded?
stunnel is about as lightweight and straightforward as you could get for this, and it's exactly what it was created to do (rather than using a web server in proxy mode). You could also use pound.
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).
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).
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.