Luks encrypted external HDD will open, but not mount - any suggestions?
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.
Luks encrypted external HDD will open, but not mount - any suggestions?
Debian/buster - 2TB HDD
Using a docking station, I opened and mounted my luks encrypted HDD without a problem.
Then I umounted and closed it. Ten minutes later I went to open and mount it again, it would not mount. I tried 12 times and using a different docking station, but no luck.
My other encrypted external hdd opens and mounts using same OS, docking station, etc.
Using a docking station, I opened and mounted my luks encrypted HDD without a problem.
Then I umounted and closed it. Ten minutes later I went to open and mount it again, it would not mount. I tried 12 times and using a different docking station, but no luck.
My other encrypted external hdd opens and mounts using same OS, docking station, etc.
Any ideas on how to try to get it to mount?
Thx.
When the HDD fails to mount, did you check dmesg to see if it has any relevant information?
Whenever you get "command not found" for something you know should exist, try running it as root. Users aren't allowed to know about some things which could damage the system. Sudo was invented for this.
Yep, gotta agree - that looks like nothing. To me that says there is no filesystem on (in) the container.
Did you happen to use the bash history to recall command ?. Maybe you got the luksFormat rather than luksOpen ?.
I 'am' able to open with 'cryptsetup luksOpen...' I just can't mount. Tried many times.
If I try get the data using a livedvd, what is better: LinuxMint or Debian9 Stretch ... both Cinnamon?
Is there any risk to trying to use the livedvd to recover the data? It seems like no; it will either appear or not appear using the livedvd, but I have never tried to recover data using a livedvd in the past.
What most likely could have prevented the disk from not mounting? Some type of disk failure/ malware....?
thanks
Last edited by duupunisher2x; 08-29-2020 at 02:38 PM.
With the LUKS volume open (apparently you opened it with the name "2"), see if "file -s /dev/mapper/2" sees anything other than "data".
You might also see if "testdisk /dev/mapper/2" can recognize anything in that volume. Select "None" as the partition table type, and then run "Analyze". If that doesn't find anything, you can try proceeding to "Deeper Search".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.