My pendrive is mounting and unmounting again and again there is data in it i want data

how can i recover my data

Do you use Garuda?

yes dragonized version

Without your inxi -Faz output how do I know you are not a closet Ubuntu user?

Generally Garuda users know that output is required for assistance on our forum.

2 Likes
Kernel: 5.15.12-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=6728fa15-4e0e-4baf-b17c-cdc4a0c19e74 rw [email protected]
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=3b44cfad-4af0-42cb-a877-0f4fdc8ffeb4 loglevel=3
Desktop: KDE Plasma 5.23.4 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: Hewlett-Packard product: HP ProBook 4510s v: F.14
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Hewlett-Packard model: 3072 v: KBC Version 24.0E
serial: <superuser required> BIOS: Hewlett-Packard v: 68PZI Ver. F.14
date: 12/30/2009
CPU:
Info: model: Intel Core2 Duo P8700 bits: 64 type: MCP arch: Core Penryn
family: 6 model-id: 0x17 (23) stepping: 0xA (10) microcode: 0xA0B
Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 128 KiB
desc: d-2x32 KiB; i-2x32 KiB L2: 3 MiB desc: 1x3 MiB
Speed (MHz): avg: 1838 high: 2005 min/max: 800/2534 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2005 2: 1671
bogomips: 10108
Flags: ht lm nx pae sse sse2 sse3 sse4_1 ssse3
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX unsupported
Type: l1tf mitigation: PTE Inversion
Type: mds
status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
Type: meltdown mitigation: PTI
Type: spec_store_bypass status: Vulnerable
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Full generic retpoline, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel Mobile 4 Series Integrated Graphics vendor: Hewlett-Packard
driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:2a42 class-ID: 0300
Display: x11 server: X.Org 1.21.1.2 compositor: kwin_x11 driver:
loaded: intel unloaded: modesetting alternate: fbdev,vesa display-ID: :0
screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0")
s-diag: 414mm (16.3")
Monitor-1: LVDS1 res: 1366x768 hz: 60 dpi: 102
size: 340x190mm (13.4x7.5") diag: 389mm (15.3")
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
Device-1: Intel 82801I HD Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:293e
class-ID: 0403
Sound Server-1: ALSA v: k5.15.12-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.42 running: yes
Network:
Device-1: Marvell 88E8072 PCI-E Gigabit Ethernet vendor: Hewlett-Packard
driver: sky2 v: 1.30 port: 2000 bus-ID: 84:00.0 chip-ID: 11ab:436c
class-ID: 0200
IF: ens5 state: down mac: <filter>
Device-2: Ralink MT7601U Wireless Adapter type: USB driver: mt7601u
bus-ID: 2-2:3 chip-ID: 148f:7601 class-ID: 0000 serial: <filter>
IF: wlp0s29f7u2 state: up mac: <filter>
Drives:
Local Storage: total: 156.51 GiB used: 18.86 GiB (12.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST9160412AS
size: 149.05 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
type: HDD rpm: 7200 serial: <filter> rev: HPM1 scheme: MBR
ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: SanDisk
model: Cruzer Blade size: 7.45 GiB block-size: physical: 512 B
logical: 512 B type: N/A serial: <filter> rev: 1.26 scheme: GPT
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: 140.83 GiB size: 140.83 GiB (100.00%)
used: 16.68 GiB (11.8%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
ID-2: /home raw-size: 140.83 GiB size: 140.83 GiB (100.00%)
used: 16.68 GiB (11.8%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
ID-3: /var/log raw-size: 140.83 GiB size: 140.83 GiB (100.00%)
used: 16.68 GiB (11.8%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
ID-4: /var/tmp raw-size: 140.83 GiB size: 140.83 GiB (100.00%)
used: 16.68 GiB (11.8%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 3.73 GiB used: 22.5 MiB (0.6%)
priority: 100 dev: /dev/zram0
ID-2: swap-2 type: partition size: 8.21 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/sda2 maj-min: 8:2
Sensors:
System Temperatures: cpu: 60.0 C mobo: 16.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 190 Uptime: 19m wakeups: 1 Memory: 3.73 GiB
used: 1.77 GiB (47.3%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1178 lib: 317 Shell: fish
v: 3.3.1 default: Bash v: 5.1.12 running-in: konsole inxi: 3.3.11

This is not a data recovery forum, but if you post more information about what is happening perhaps someone can help you.

What is the file system on this drive?

How old is the drive?

What types of files are you wanting to recover?

How long does the drive mount for before it unmounts?

Perhaps you could install some software to help you recover the files such as ddrescue.

1 Like

filesystem is fat32
its more than 7 year old
it took arount 10 seconds before unmounting
there are jpeg file in pendrive

Have you checked what your journal and dmesg show about your USB?
e.g.

journalctl -b | grep usb

You also may want to consider a lighter edition (although this shouldn't be related to the USB problem), since I see your HW is quite old and barely reaching the minimum requirements:

PS: I edited your inxi specs post adding ~~~ before and after the text block for raw formatting. Please consider this in the future

1 Like

Do you have another computer you could try mounting the drive in?

Have you tested this drive on other USB ports?

Do you have another disk with a live boot on it?

If you do, see if it will mount properly from the live environment?

How long have you had Garuda installed for?

Has this been like this since you installed, or did this just start happening?

Are other flash drives mounting correctly?

3 Likes