LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-06-2023, 06:47 AM   #1
bennyt
Member
 
Registered: Dec 2010
Location: UK
Posts: 69

Rep: Reputation: 9
LUKS partition intermittently failing to unlock


Hi,

I appear to be having some strange behavior on a LUKS partition. I typically mount it manually. The passphrase now unlocks it only intermittently. (It possibly helps to run; cryptsetup luksDump /dev/nvme0n1p6 ??)

The only other thing I can imagine is the hardware is knackered, although the machine otherwise appears fine.

Any ideas why this could be happening? (p.s. I am sure I am not entering the wrong passphrase - it literally only works some of the time).

Is there any way to scan the partition or disk to look for errors?

Thanks
 
Old 01-06-2023, 07:15 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,004

Rep: Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338
you need to check the logs (in /var/log), probably you will find something relevant. You can use smartctl to check your disk. And don't forget to save/backup your valuable data.
 
Old 01-06-2023, 07:29 AM   #3
bennyt
Member
 
Registered: Dec 2010
Location: UK
Posts: 69

Original Poster
Rep: Reputation: 9
Thanks. I'll check out the disk although I cannot see anything relevant in any of my logs (on Slackware btw).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyscript for ubuntu to unlock a luks partition with a keyfile and fallback to a passphrase LBuhler Ubuntu 0 04-22-2020 03:44 PM
LUKs partition won't unlock at boot 'no key available with this passphrase' atomiccomp Linux - Newbie 2 03-24-2020 09:29 PM
How to unlock LUKS encrypted partition as normal user? pusrob Gentoo 3 04-04-2015 11:55 AM
[SOLVED] Unlock LUKS encrypted partition with USB drive yenn Slackware 4 02-26-2013 04:39 PM
scp failing intermittently mrees Linux - Newbie 5 05-10-2011 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration