Got an error when trying to access external HDD

garuda-inxi
System:
Kernel: 6.3.5-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=f8e4ef47-d7e4-4542-9a0e-f814ac26a8d4 rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.5 tk: Qt v: 5.15.9 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: HP product: HP Laptop 14-bs1xx v: Type1ProductConfigId
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: HP model: 831F v: 17.42 serial: <superuser required> UEFI: Insyde
v: F.53 date: 12/08/2022
Battery:
ID-1: BAT0 charge: 0% condition: 1.9/1.9 Wh (100.0%) volts: 16.3 min: 14.6
model: HP Primary type: Li-ion serial: N/A status: charging
CPU:
Info: model: Intel Core i5-8250U bits: 64 type: MT MCP arch: Coffee Lake
gen: core 8 level: v3 note: check built: 2017 process: Intel 14nm family: 6
model-id: 0x8E (142) stepping: 0xA (10) microcode: 0xF2
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB
L3: 48 MiB desc: 8x6 MiB
Speed (MHz): avg: 2400 high: 3401 min/max: 400/3400 scaling:
driver: intel_pstate governor: powersave cores: 1: 3400 2: 3401 3: 3400
4: 1800 5: 1800 6: 1800 7: 1800 8: 1800 bogomips: 28800
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Vulnerabilities: <filter>
Graphics:
Device-1: Intel UHD Graphics 620 vendor: Hewlett-Packard driver: i915
v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0
chip-ID: 8086:5917 class-ID: 0300
Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 M430 Radeon
520 Mobile] vendor: Hewlett-Packard driver: radeon v: kernel
alternate: amdgpu arch: GCN-1 code: Southern Islands process: TSMC 28nm
built: 2011-20 pcie: gen: 3 speed: 8 GT/s lanes: 4 link-max: lanes: 8
bus-ID: 01:00.0 chip-ID: 1002:6660 class-ID: 0380 temp: 48.0 C
Device-3: Sunplus Innovation HP TrueVision HD Camera driver: uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:2
chip-ID: 1bcf:2c9b class-ID: 0e02
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1
compositor: kwin_x11 driver: X: loaded: modesetting dri: iris,radeonsi
gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
s-diag: 414mm (16.31")
Monitor-1: eDP-1 model: AU Optronics 0x2d3c built: 2015 res: 1366x768
hz: 60 dpi: 112 gamma: 1.2 size: 309x173mm (12.17x6.81") diag: 354mm (13.9")
ratio: 16:9 modes: 1366x768
API: OpenGL v: 4.6 Mesa 23.1.1 renderer: Mesa Intel UHD Graphics 620 (KBL
GT2) direct-render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_soc_avs
bus-ID: 00:1f.3 chip-ID: 8086:9d71 class-ID: 0403
API: ALSA v: k6.3.5-zen1-1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 0.3.71 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 4000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eno1 state: down mac: <filter>
Device-2: Realtek RTL8723DE 802.11b/g/n PCIe Adapter
vendor: Hewlett-Packard driver: rtw_8723de v: N/A modules: rtw88_8723de
pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 03:00.0
chip-ID: 10ec:d723 class-ID: 0280
IF: wlo1 state: up mac: <filter>
Bluetooth:
Device-1: Realtek Bluetooth 4.2 Adapter driver: btusb v: 0.8 type: USB
rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-7:4 chip-ID: 0bda:b009
class-ID: e001 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 2 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
Drives:
Local Storage: total: 1.82 TiB used: 79.11 GiB (4.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WD10JPVX-60JC3T1 size: 931.51 GiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 5400 serial: <filter>
fw-rev: 1A02 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Toshiba model: MQ04UBF100
size: 931.51 GiB block-size: physical: 512 B logical: 512 B type: USB
rev: 3.0 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: HDD rpm: 5400
serial: <filter> scheme: MBR
Partition:
ID-1: / raw-size: 180.01 GiB size: 180.01 GiB (100.00%)
used: 8.91 GiB (5.0%) fs: btrfs dev: /dev/sda6 maj-min: 8:6
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
used: 29.3 MiB (30.5%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 180.01 GiB size: 180.01 GiB (100.00%)
used: 8.91 GiB (5.0%) fs: btrfs dev: /dev/sda6 maj-min: 8:6
ID-4: /var/log raw-size: 180.01 GiB size: 180.01 GiB (100.00%)
used: 8.91 GiB (5.0%) fs: btrfs dev: /dev/sda6 maj-min: 8:6
ID-5: /var/tmp raw-size: 180.01 GiB size: 180.01 GiB (100.00%)
used: 8.91 GiB (5.0%) fs: btrfs dev: /dev/sda6 maj-min: 8:6
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 7.64 GiB used: 166.9 MiB (2.1%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 57.0 C pch: 50.0 C mobo: N/A gpu: radeon
temp: 48.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 249 Uptime: 3h 9m wakeups: 2 Memory: available: 7.64 GiB
used: 3.83 GiB (50.1%) Init: systemd v: 253 default: graphical
tool: systemctl Compilers: gcc: 13.1.1 Packages: pm: pacman pkgs: 1192
libs: 333 tools: octopi,paru Shell: fish v: 3.6.1 default: Bash v: 5.1.16
running-in: konsole inxi: 3.3.27
Garuda (2.6.16-1):
System install date:     2023-06-01
Last full system update: 2023-06-02
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       Probably (Run as root to verify)
Failed units:

My problem :
An error occurred while accessing 'TOSHIBA EXT', the system responded: The requested operation has failed: Error mounting /dev/sdb1 at /run/media/azusa/TOSHIBA EXT: Unknown error when mounting /dev/sdb1

lsusb
Bus 002 Device 007: ID 0480:b301 Toshiba America Inc External USB 3.0
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0bda:b009 Realtek Semiconductor Corp. Realtek Bluetooth 4.2 Adapter
Bus 001 Device 003: ID 0000:3825   USB OPTICAL MOUSE
Bus 001 Device 002: ID 1bcf:2c9b Sunplus Innovation Technology Inc. HP TrueVision HD Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
sudo fdisk -l
[sudo] password for azusa:
Disk /dev/sda: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10JPVX-60J
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 90CBBBF1-BB64-4C1D-8A2E-3F80A6E8C89F

Device          Start        End    Sectors   Size Type
/dev/sda1        2048     206847     204800   100M EFI System
/dev/sda2      206848     239615      32768    16M Microsoft reserved
/dev/sda3      239616  379359231  379119616 180,8G Microsoft basic data
/dev/sda4   379359232 1574725631 1195366400   570G Microsoft basic data
/dev/sda5  1952225280 1953521663    1296384   633M Windows recovery environment
/dev/sda6  1574725632 1952225279  377499648   180G Linux filesystem

Partition table entries are not in disk order.


Disk /dev/zram0: 7,64 GiB, 8200912896 bytes, 2002176 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sdb: 931,51 GiB, 1000204886016 bytes, 1953525168 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: 0x9fd8e539

Device     Boot Start        End    Sectors   Size Id Type
/dev/sdb1  *     2048 1953521663 1953519616 931,5G  7 HPFS/NTFS/exFAT
lsblk -fa
NAME   FSTYPE FSVER LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1 vfat   FAT32             4E76-FA42                              66,7M    30% /boot/efi
├─sda2
├─sda3 ntfs         Windows     048A78608A784FE2                      110,6G    39% /run/media/azusa/Windows
├─sda4 ntfs         Data        BCB6D261B6D21BA8
├─sda5 ntfs                     766012A3601269DF
└─sda6 btrfs                    f8e4ef47-d7e4-4542-9a0e-f814ac26a8d4  169,8G     5% /var/cache
/root
/home
/var/tmp
/var/log
/srv
/
sdb
└─sdb1 ntfs         TOSHIBA EXT F47AC5387AC4F87E
sr0
zram0                                                                               
lsusb
Bus 002 Device 007: ID 0480:b301 Toshiba America Inc External USB 3.0
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0bda:b009 Realtek Semiconductor Corp. Realtek Bluetooth 4.2 Adapter
Bus 001 Device 003: ID 0000:3825   USB OPTICAL MOUSE
Bus 001 Device 002: ID 1bcf:2c9b Sunplus Innovation Technology Inc. HP TrueVision HD Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
sudo fdisk -l
[sudo] password for azusa:
Disk /dev/sda: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10JPVX-60J
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 90CBBBF1-BB64-4C1D-8A2E-3F80A6E8C89F

Device          Start        End    Sectors   Size Type
/dev/sda1        2048     206847     204800   100M EFI System
/dev/sda2      206848     239615      32768    16M Microsoft reserved
/dev/sda3      239616  379359231  379119616 180,8G Microsoft basic data
/dev/sda4   379359232 1574725631 1195366400   570G Microsoft basic data
/dev/sda5  1952225280 1953521663    1296384   633M Windows recovery environment
/dev/sda6  1574725632 1952225279  377499648   180G Linux filesystem

Partition table entries are not in disk order.


Disk /dev/zram0: 7,64 GiB, 8200912896 bytes, 2002176 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sdb: 931,51 GiB, 1000204886016 bytes, 1953525168 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: 0x9fd8e539

Device     Boot Start        End    Sectors   Size Id Type
/dev/sdb1  *     2048 1953521663 1953519616 931,5G  7 HPFS/NTFS/exFAT
lsblk -fa
NAME   FSTYPE FSVER LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1 vfat   FAT32             4E76-FA42                              66,7M    30% /boot/efi
├─sda2
├─sda3 ntfs         Windows     048A78608A784FE2                      110,6G    39% /run/media/azusa/Windows
├─sda4 ntfs         Data        BCB6D261B6D21BA8
├─sda5 ntfs                     766012A3601269DF
└─sda6 btrfs                    f8e4ef47-d7e4-4542-9a0e-f814ac26a8d4  169,8G     5% /var/cache
/root
/home
/var/tmp
/var/log
/srv
/
sdb
└─sdb1 ntfs         TOSHIBA EXT F47AC5387AC4F87E
sr0
zram0                                                                               [SWAP]

Please do not post in other people's topics.
Follow the template below and edit the moved post.


Hello Garuda users.

Please read the following template before requesting assistance:

Please post the terminal/konsole input and output as text (no pictures) from the following command:

garuda-inxi

Refusing to post the output of the required "garuda-inxi" on a help request will likely result in you not receiving any help from the Garuda team. A failure to provide your system specs may also result in your thread being closed without notice, (as without this information providing assistance is often next to impossible).

Before opening a new help request, please search the Arch and Garuda Wiki's, and read any relevant sections related to your issue. Also, thoroughly search any error messages in the forum's search engine and on the web. For in depth information on how to search for answers to Linux issues effectively, read the tips on the Garuda Wiki:

Please report in detail everything you have already attempted to solve your problem.

Check if ntfs-3g is installed. Seems you use M$, why do you want to access it from Linux?

1 Like

Try mounting it explicitly as NTFS, as described in the ArchWiki:

sudo mount -t ntfs3 /dev/sdb1 /run/media/azusa/TOSHIBA

If you will need regular access to this resource you should make a proper fstab entry instead of relying on auto-mount software.

If you have improperly unmounted an NTFS drive from Linux, you may need to repair it from Windows before you can mount it again. If you can, avoid using NTFS altogether on disks you use with Linux.

1 Like

how to check ntfs-3g is installed? i want to access my external HDD as it contains my backup cs:go files which i want to restore in Steam.

In terminal

pacman -Qi ntfs-3g

Output

Name                     : ntfs-3g
Version                  : 2022.10.3-1
Beschreibung             : NTFS filesystem driver and utilities

got this error

sudo mount -t ntfs3 /dev/sdb1 /run/media/azusa/TOSHIBA
[sudo] password for azusa:
mount: /run/media/azusa/TOSHIBA: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or h
elper program, or other error.
dmesg(1) may have more information after failed mount system call.

what's next ?

pacman -Qi ntfs-3g
Name            : ntfs-3g
Version         : 2022.10.3-1
Description     : NTFS filesystem driver and utilities
Architecture    : x86_64
URL             : https://www.tuxera.com/community/open-source-ntfs-3g/
Licenses        : GPL2
Groups          : None
Provides        : ntfsprogs
Depends On      : util-linux  fuse2
Optional Deps   : None
Required By     : None
Optional For    : kpmcore  udisks2
Conflicts With  : ntfsprogs
Replaces        : ntfsprogs
Installed Size  : 1624,69 KiB
Packager        : Antonio Rojas <arojas@archlinux.org>
Build Date      : Tue Nov 1 04:48:00 2022
Install Date    : Tue May 2 04:14:09 2023
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature
sudo dmesg | tb

would give a link post it here let’s take a look at the error logs

this one ?
https://termbin.com/rcq6

I saw this error in your dmesg try to clear the dirty volume flag with

ntfsfix -d /dev/sdb1

and then try again

6 Likes

thank you so much for the help dude. Now, i can access my external HDD :slight_smile:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.