An operation is already pending

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
microlifecc
Level 1
Level 1
Posts: 1
Joined: Fri Oct 06, 2017 1:03 pm

An operation is already pending

Post by microlifecc » Fri Oct 06, 2017 1:07 pm

Hi, I have a WD Elements which was working really really well.
But last week, I guess I had removed it from the system(I use Linux Mint as my OS) while some files were still being transferred. Since then it's not responding at all. Every time I insert it, I get the error as in the screenshot. I have been lucky a few times when I was able to mount it to a drive(after a long long time). Even then the transfer rate for files started at around 50KB/s and steadily decreased to ~2KB/s.
I tried inserting it on a Windows system(my friend's as I only have Mint on my system), but I get an error stating there is some problem with the drive inserted and it doesn't appear on the list of drives or in Device Manager. Plz, tell me what I should do? I have attached the screenshot.

User avatar
WharfRat
Level 20
Level 20
Posts: 12455
Joined: Thu Apr 07, 2011 8:15 pm

Re: An operation is already pending

Post by WharfRat » Fri Oct 06, 2017 2:58 pm

Hello microlifecc Image

Welcome to Linux Mint and the Linux Mint forum :)

If you disconnected the device prematurely you might have damaged the filesystem.

Unplug the device, open the terminal and enter udevadm monitor --udev then plug it in and paste back the response you get.
ImageImage

darussell
Level 1
Level 1
Posts: 2
Joined: Thu Nov 29, 2018 9:48 pm

Re: An operation is already pending

Post by darussell » Thu Nov 29, 2018 9:55 pm

I saw your posting and am hoping you can offer me some help. I have a 64Gb USB that gives me a "An operation is already pending" response when I plug it in. Seems I recall something about a bad superblock. I input your suggested udevadm command and here's the output:
darussell@VGN-B100B-UC:~$ sudo udevadm monitor --udev
[sudo] password for darussell:

Code: Select all

monitor will print the received events for:
UDEV - the event which udev sends out after rule processing

UDEV  [101337.865060] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-1 (usb)
UDEV  [101337.958403] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0 (usb)
UDEV  [101337.965308] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/host2 (scsi)
UDEV  [101337.970818] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/host2/scsi_host/host2 (scsi_host)
UDEV  [101338.855654] add      /devices/virtual/bdi/8:16 (bdi)
UDEV  [101338.861954] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/host2/target2:0:0 (scsi)
UDEV  [101338.866648] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/host2/target2:0:0/2:0:0:0 (scsi)
UDEV  [101338.875010] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/host2/target2:0:0/2:0:0:0/scsi_device/2:0:0:0 (scsi_device)
UDEV  [101338.879583] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/host2/target2:0:0/2:0:0:0/scsi_disk/2:0:0:0 (scsi_disk)
UDEV  [101338.898410] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/host2/target2:0:0/2:0:0:0/bsg/2:0:0:0 (bsg)
UDEV  [101338.903964] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/host2/target2:0:0/2:0:0:0/scsi_generic/sg2 (scsi_generic)
UDEV  [101339.713521] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/host2/target2:0:0/2:0:0:0/block/sdb (block)
UDEV  [101339.847860] add      /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/host2/target2:0:0/2:0:0:0/block/sdb/sdb1 (block)
I've tried low-level format, reformat, gparted, you name it, but without success. I'm hoping you can suggest something. I had the information on the USB backed up, so no problem with lost data, just a (thus far) lost storage device.
Thanks,
Don Russell
Last edited by WharfRat on Fri Nov 30, 2018 12:28 am, edited 1 time in total.
Reason: Added code tag

User avatar
WharfRat
Level 20
Level 20
Posts: 12455
Joined: Thu Apr 07, 2011 8:15 pm

Re: An operation is already pending

Post by WharfRat » Fri Nov 30, 2018 12:32 am

Hello Don Image

Welcome to Linux Mint and the Linux Mint forum :)

It appears that the device was registered as /dev/sdb1

It should show with lsblk or blkid

Did you try mounting it from the terminal :?:
ImageImage

darussell
Level 1
Level 1
Posts: 2
Joined: Thu Nov 29, 2018 9:48 pm

Re: An operation is already pending

Post by darussell » Thu Mar 14, 2019 6:33 pm

blkid /dev/sdb1 returns: /dev/sdb1: UUID="1085919e-7d3c-4a40-8508-ad4b7a81c738" TYPE="ext4" PARTUID="d8d859a1-01"

lsblk /dev/sdb1 returns:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb1 8:17 1 59.6G 0 part

Hoser Rob
Level 13
Level 13
Posts: 4906
Joined: Sat Dec 15, 2012 8:57 am

Re: An operation is already pending

Post by Hoser Rob » Fri Mar 15, 2019 8:52 am

If it is file system damage, and it's formatted ntfs, don't use Linux recovery tools. Use Windows ones instead because that format has a few of those undocumented 'features' MS loves. I use Hiren's boot disk for this, here's a link for it:

https://sourceforge.net/projects/hirenscd2bootableusb/

User avatar
BG405
Level 7
Level 7
Posts: 1686
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: An operation is already pending

Post by BG405 » Fri Mar 15, 2019 1:33 pm

darussell wrote:
Thu Mar 14, 2019 6:33 pm
blkid /dev/sdb1 returns: /dev/sdb1: UUID="1085919e-7d3c-4a40-8508-ad4b7a81c738" TYPE="ext4" PARTUID="d8d859a1-01"
This is ext4 as shown in bold, so the Linux tools will hopefully be able to fix it.
How about sudo fsck -y /dev/sdb1? :) You'll have to unmount it first.
Dell Inspiron 1525 - LM17.3 CE 64-------------------Acer D255E 2GB - Manjaro KDE, LM17.3 KDE 32
Toshiba NB305 - Manjaro KDE------------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Dell PII 350 64MB - Puppy 4.3 & Win98-SE

Post Reply

Return to “Hardware Support”