Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was previously running proxmox with a variety of linux distros, but ultimately preferred using docker containers for my purposes. This setup consisted of a 250 gb ssd and 8 tb HDD, with all storage on HDD and all OS materials on SSD. Today, I wiped my proxmox system and put a fresh install of Debian Bullseye on a machine with the SSD being the freshly formatted drive. However, since that time, I have not been able to access files in my HDD. It does appear the files are still on there, (shows about 1.5 TB is missing) but they are nowhere to be found in the explorer.
Of note, I had this HDD encrypted--whole drive--(I still remember the password) but have not been able to access a window where I can enter the encryption password as before. However, it does appear that I can mount the drive. I have spent all day troubleshooting this but have ultimately not made any progress whatsoever.,
somethings that Maybe?? would be helpful.
lsblk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 232.9G 0 disk
├─sda1 8:1 0 231.9G 0 part /
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 976M 0 part [SWAP]
sdb 8:16 0 7.3T 0 disk
└─sdb1 8:17 0 7.3T 0 part /media/8TB
If you can run fsck on /dev/sdb1 it implies (to me) either:
- you have opened the encrypted container
- you have reformatted it.
The former would require you to enter the password, the later would have likely destroyed the header and would make the encrypted data unreachable even if it hadn't been actually over-written in the re-format process.
There is one on LQ who might bw able to advise on rebuilding the header, but without a backup I suspect your data are lost.
That is what I was beginning to fear after about 4 hours of tinkering. Oh well, I think it was better to learn this lesson now rather than later. I didn't have anything that can't be recovered on that drive yet. I just thought the idea encryption sounded neat, I think i'll avoid it in the future unless it's actually useful. Lesson learned. Thanks y'all
I know there are different kinds of encrypting your data, some like hardware encryption won't slow you as here: https://www.linuxquestions.org/quest...nt-4175724112/
aside from maybe putting in the password but would think once you do your data is available? If no one has access to your keyboard* and your password* maybe a VPN? Tho I'm sure someone who really "needs" it uses both*. https://www.crucial.com/articles/abo...-data-security
Last edited by jamison20000e; 04-16-2023 at 07:35 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.