Unable to mount external HDD

Hello dear opensusers. As of some time now i have run into a very strange issue which i am unable to resolve, i got an external backup HDD that doesn’t want to mount on my opensuse TW installation (both laptop and my desktop).
Here is the output of the DMESG:

[83610.894578] [  T38418] usb-storage 2-4:1.0: USB Mass Storage device detected
[83610.894676] [  T38418] scsi host6: usb-storage 2-4:1.0
[83610.894759] [  T38418] usbcore: registered new interface driver usb-storage
[83610.896008] [  T38418] usbcore: registered new interface driver uas
[83611.956273] [  T37950] scsi 6:0:0:0: Direct-Access     TOSHIBA  External USB 3.0 0    PQ: 0 ANSI: 6
[83611.956514] [  T37950] sd 6:0:0:0: Attached scsi generic sg2 type 0
[83611.958879] [  T38286] sd 6:0:0:0: [sdc] Spinning up disk...
[83612.980068] [  T38286] ..ready
[83614.842965] [  T38286] sd 6:0:0:0: [sdc] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[83614.843523] [  T38286] sd 6:0:0:0: [sdc] Write Protect is off
[83614.843527] [  T38286] sd 6:0:0:0: [sdc] Mode Sense: 43 00 00 00
[83614.844052] [  T38286] sd 6:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[83614.860912] [  T38286]  sdc: sdc1
[83614.860984] [  T38286] sd 6:0:0:0: [sdc] Attached SCSI disk
[83623.309458] [  T38497] /dev/mapper/DESKTOP-6TKT7PO_backup_5.6.2019_xd0xb3.: Can't lookup blockdev

The drive is formated with NTFS, and encrypted with bitlocker - i am using it this way since maybe couple of years without problems. The problem cannot be in the fact that it is encrypted because i have an USB flash drive which has the same encryption and it works like a charm. Another thing is that my girlfriends laptop has Fedora on it, on which i just plug-in the same HDD and it just works, which leads me to conclusion that it is not some kind of hardware failure. Appearantly it is workin on Windows machines as well. I was thinking that maybe i miss some RPM package installed, but in this case the USB flash drive would not mount as well, but it works. I would love to hear your opinions and perhaps we can resolve this strange situation as i have to use my drive. Thanks in advance.

Can you mount/umount /dev/sdc1 by hand?

mount /dev/sdc1 /mountpoint/xx/xxxx

Ad let us inspect what this “external HDD” looks like:

fdisk -l
lsblk -f
mount: /home/user/win_D: unknown filesystem type 'BitLocker'.
       dmesg(1) may have more information after failed mount system call.
mount: /home/user/win_D: fsconfig() failed: /dev/sdc: Can't open blockdev.
       dmesg(1) may have more information after failed mount system call.

That’s it.

fdisk -l

Disk /dev/sdc: 465,76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: External USB 3.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3ff03be2

Device     Boot Start       End   Sectors   Size Id Type
/dev/sdc1           2 976773167 976773166 465,8G  7 HPFS/NTFS/exFAT


Disk /dev/mapper/DESKTOP-6TKT7PO_backup_5.6.2019_\xd0\xb3.: 465,76 GiB, 500107860992 bytes, 976773166 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6e697373

Device                                                            Boot      Start        End    Sectors   Size Id Type
/dev/mapper/DESKTOP-6TKT7PO_backup_5.6.2019_\x5cxd0\x5cxb3.-part1      1936269394 3772285809 1836016416 875,5G 4f QNX4.x 3rd p
/dev/mapper/DESKTOP-6TKT7PO_backup_5.6.2019_\x5cxd0\x5cxb3.-part2      1917848077 2462285169  544437093 259,6G 73 unknown
/dev/mapper/DESKTOP-6TKT7PO_backup_5.6.2019_\x5cxd0\x5cxb3.-part3      1818575915 2362751050  544175136 259,5G 2b unknown
/dev/mapper/DESKTOP-6TKT7PO_backup_5.6.2019_\x5cxd0\x5cxb3.-part4      2844524554 2844579527      54974  26,8M 61 SpeedStor


lsblk -f

sdc                                                                                                                
└─sdc1         BitLoc 2     DESKTOP-6TKT7PO backup 5.6.2019 г. 6912e9e1-8349-462e-b304-86cef5ba4bb8                
  └─DESKTOP-6TKT7PO_backup_5.6.2019_\x5cxd0\x5cxb3.
               ntfs         backup                             DE6E34BE6E34916F                                    

dmesg output after the mount operation:

[129559.223766] [  T60732] /dev/mapper/DESKTOP-6TKT7PO_backup_5.6.2019_xd0xb3.: Can't lookup blockdev

You should always include the command with the copy/paste. It is only one line more to copy! Now we do not know what you did, or we have to trust your verbal typing.

In any case, you can not mount something on the device (/dev/sdc), but there is a file system on the first (and only) partition (/dev/sdc1).

And probably there is no software to support that Bitlocker .

The thing is that i have an USB flash drive which is formated ntfs and uses bitlocker in the same manner that the forementioned external HDD, and it mounts okay. On Fedora that i have on another laptop it mounts okay, which is weird. It was always working on opensuse, but after some point it just stopped working. About the commands i made it like this just to syntesize the needed output because there is alot of other things about the other drives that i have on my system. If needed i can provide the full outputs.

Looks to me you have to decrypt the drive before mounting:

sudo cryptsetup bitlkOpen /dev/sdc1 bitlocker_disk
sudo mount /dev/mapper/bitlocker_disk /mnt/ntfs

i will try that, but my desktop environment (GNOME in case) is presenting me with a pop-up to enter the decrypt password, but after i enter it it seems like it is mounting it but its not, i am getting an error -

Can't lookup blockdev

No, it is not. It is partitioned and has one partition and that partition has the NTFS file system on it.

# cryptsetup bitlkOpen /dev/sdc1 bitlocker_disk
Enter passphrase for /dev/sdc1: 
# mount /dev/mapper/bitlocker_disk /home/iliyan/backup/

Okay this one worked, and i can acces the external drive, so now the question remains why it is not possible in the normal why that i was using without problems for years, plug-in → GUI password pop-up → File browser. What could be wrong? The odd thing is that i have a couple of USB flash drives which i use in the same manner which mounts themselfs just okay… wierd. :unamused:

Are those flash drives formatted with NTFS as well?

NTFS is a blacklisted filesystem. I’m not sure but you may have to un-blacklist it to enable auto-mounting.

Wooah! That was the case, now it works and i am surprised. This blacklisting must be some recent change, since i was not having the problem before, and yeah you were right the flash drives were exFAT i forgot that. Thank you very much, and thanks to the all the ppl involved in this little saga :smile:

# modprobe ntfs3

^ that is the command that maked it work if someone needs it in the future.