External USB with LUKS file system not recognized

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

External USB with LUKS file system not recognized

andres
Dear ubuntu-uk,

Hopefully I document this right:

# What I expected:

I have this USB drive with an encrypted partition. I have been using it
flawlessly for more than a year. With my Ubuntu computer I believe at
some point gnome-keyring saved the password and unlocks it
automatically. So we where able to view the files with no problem (two
separate users). I was able to do the same with a separate computer with
an ubuntu derivative. It was "a done once forgot how I did it" scenario
following these instructions: [1]

I am on ubuntu 14.01

# The problem:

The other day I tried the same but it does not recognize the drive.
$dmesg give me the following:

[  934.249457] usb 4-1: new SuperSpeed USB device number 2 using xhci_hcd
[  934.318634] usb 4-1: New USB device found, idVendor=059b, idProduct=0070
[  934.318640] usb 4-1: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[  934.318643] usb 4-1: Product: eGo USB
[  934.318645] usb 4-1: Manufacturer: Iomega
[  934.318648] usb 4-1: SerialNumber: 030000000008A169
[  934.471393] usbcore: registered new interface driver usb-storage
[  934.538565] scsi4 : uas
[  934.538728] usbcore: registered new interface driver uas
[  934.545879] scsi 4:0:0:0: Direct-Access     OEM      Ext Hard Disk    
0000 PQ: 0 ANSI: 5
[  934.861863] scsi 4:0:0:1: CD-ROM            Virtual
CDROM                 PQ: 0 ANSI: 0
[  934.862214] sd 4:0:0:0: Attached scsi generic sg1 type 0
[  935.005203] sr0: scsi-1 drive
[  935.005209] cdrom: Uniform CD-ROM driver Revision: 3.20
[  935.005432] sr 4:0:0:1: Attached scsi CD-ROM sr0
[  935.005574] sr 4:0:0:1: Attached scsi generic sg2 type 5
[  935.062375] sd 4:0:0:0: [sdb] 975319088 512-byte logical blocks: (499
GB/465 GiB)
[  935.209617] sd 4:0:0:0: [sdb] Write Protect is off
[  935.209623] sd 4:0:0:0: [sdb] Mode Sense: 10 00 00 00
[  935.256228] sd 4:0:0:0: [sdb] Cache data unavailable
[  935.256234] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[  935.768396]  sdb: sdb1
[  936.116766] sd 4:0:0:0: [sdb] Attached SCSI disk

While the gnome-diskutility gui shows the LUKS partition unlocked but
just 499 GB of unknown content.

# What I tried

Looking up a solution found this bug report [2] that seems to have been
fixed? Several versions ago.

The mention using the blkid command but I am not sure what it does and
it requires root.  Man page says the command will tell me the file
system but I am guessing gnome-diskutility does that for me?

Any more pointers would be great as I really want to get to the files.

[1] https://help.ubuntu.com/community/EncryptedFilesystemsOnRemovableStorage
[2] https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/428435

Thanks for your time!

--
Andres (he/him/his)
Ham United Group
RichmondMakerLabs


--
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/
Reply | Threaded
Open this post in threaded view
|

Re: External USB with LUKS file system not recognized

andres


On 14/08/16 08:37, [hidden email] wrote:

> Dear ubuntu-uk,
>
> Hopefully I document this right:
>
> # What I expected:
>
> I have this USB drive with an encrypted partition. I have been using
> it flawlessly for more than a year. With my Ubuntu computer I believe
> at some point gnome-keyring saved the password and unlocks it
> automatically. So we where able to view the files with no problem (two
> separate users). I was able to do the same with a separate computer
> with an ubuntu derivative. It was "a done once forgot how I did it"
> scenario following these instructions: [1]
>
> I am on ubuntu 14.01
>
> # The problem:
>
> The other day I tried the same but it does not recognize the drive.
> $dmesg give me the following:
>
> [  934.249457] usb 4-1: new SuperSpeed USB device number 2 using xhci_hcd
> [  934.318634] usb 4-1: New USB device found, idVendor=059b,
> idProduct=0070
> [  934.318640] usb 4-1: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [  934.318643] usb 4-1: Product: eGo USB
> [  934.318645] usb 4-1: Manufacturer: Iomega
> [  934.318648] usb 4-1: SerialNumber: 030000000008A169
> [  934.471393] usbcore: registered new interface driver usb-storage
> [  934.538565] scsi4 : uas
> [  934.538728] usbcore: registered new interface driver uas
> [  934.545879] scsi 4:0:0:0: Direct-Access     OEM      Ext Hard
> Disk    0000 PQ: 0 ANSI: 5
> [  934.861863] scsi 4:0:0:1: CD-ROM            Virtual
> CDROM                 PQ: 0 ANSI: 0
> [  934.862214] sd 4:0:0:0: Attached scsi generic sg1 type 0
> [  935.005203] sr0: scsi-1 drive
> [  935.005209] cdrom: Uniform CD-ROM driver Revision: 3.20
> [  935.005432] sr 4:0:0:1: Attached scsi CD-ROM sr0
> [  935.005574] sr 4:0:0:1: Attached scsi generic sg2 type 5
> [  935.062375] sd 4:0:0:0: [sdb] 975319088 512-byte logical blocks:
> (499 GB/465 GiB)
> [  935.209617] sd 4:0:0:0: [sdb] Write Protect is off
> [  935.209623] sd 4:0:0:0: [sdb] Mode Sense: 10 00 00 00
> [  935.256228] sd 4:0:0:0: [sdb] Cache data unavailable
> [  935.256234] sd 4:0:0:0: [sdb] Assuming drive cache: write through
> [  935.768396]  sdb: sdb1
> [  936.116766] sd 4:0:0:0: [sdb] Attached SCSI disk
>
> While the gnome-diskutility gui shows the LUKS partition unlocked but
> just 499 GB of unknown content.
>
> # What I tried
>
> Looking up a solution found this bug report [2] that seems to have
> been fixed? Several versions ago.
>
> The mention using the blkid command but I am not sure what it does and
> it requires root.  Man page says the command will tell me the file
> system but I am guessing gnome-diskutility does that for me?
>
> Any more pointers would be great as I really want to get to the files.
>
> [1]
> https://help.ubuntu.com/community/EncryptedFilesystemsOnRemovableStorage
> [2] https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/428435
>
> Thanks for your time!
>

--
Andres (he/him/his)
Ham United Group
RichmondMakerLabs


--
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/
Reply | Threaded
Open this post in threaded view
|

Re: External USB with LUKS file system not recognized

andres

Sorry, I meant to say that I have not submitted the question to ASK ubuntu.
http://askubuntu.com/questions/813722/lvm2-pv-is-not-recognizable-file-system-how-can-i-recover-the-data

Hopefully the format of it is correct, I think I followed the guidance
correctly.

--
Andres (he/him/his)
Ham United Group
RichmondMakerLabs


--
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/