external hard drive works in windows 10 but wont work in linux

JOHNOH

New Member
Credits
108
Though the drive is recognized in Windows:
You might want to test that hard drive to see it's health with a program called S.M.A.R.T.


I posted a link for you in post #4 to format the drive.
There are several ways to format the drive using Mint if you'd like.
Maybe give ext 4 or NTFS a go.
Thanks for that further advise Alexzee. I will try both of those formats and will check out S.M.A.R.T. Please remember though, I can only format in Win.
 


Alexzee

Well-Known Member
Credits
9,213
I assume that you're referring to the non-functioning drive Alexzee? It has a few photos that I added as a test. Just another thing, it is a brand new device that I have just purchased and has never worked in Linux Mint. I have also tried it in Ubuntu - same problem.
Yes I'm referring to the non-functioning drive.

What brand is the drive? Seagate? Western Digital?

I know you have already said that lsusb doesn't see it however; try running this for Fanboi.

Code:
sudo dmesg | tail
 

Alexzee

Well-Known Member
Credits
9,213
Thanks for that further advise Alexzee. I will try both of those formats and will check out S.M.A.R.T. Please remember though, I can only format in Win.
You're welcome.

If you can boot into Mint you can format with those instructions in post #4 manually.
 

JOHNOH

New Member
Credits
108
Yes I'm referring to the non-functioning drive.

What brand is the drive? Seagate? Western Digital?

I know you have already said that lsusb doesn't see it however; try running this for Fanboi.

Here's the result Fanboi.

Code:
sudo dmesg | tail
$ sudo dmesg | tail
[sudo] password for john:
[111170.706414] sd 3:0:0:0: [sdb] tag#2 uas_zap_pending 0 uas-tag 1 inflight: CMD
[111170.706421] sd 3:0:0:0: [sdb] tag#2 CDB: Read(10) 28 00 00 00 00 06 00 00 02 00
[111170.838221] usb 2-2: reset SuperSpeed Gen 1 USB device number 15 using xhci_hcd
[111170.859532] scsi host3: uas_eh_device_reset_handler success
[111170.876009] sd 3:0:0:0: [sdb] tag#2 FAILED Result: hostbyte=DID_RESET driverbyte=DRIVER_OK
[111170.876014] sd 3:0:0:0: [sdb] tag#2 CDB: Read(10) 28 00 00 00 00 06 00 00 02 00
[111170.876018] blk_update_request: I/O error, dev sdb, sector 6 op 0x0:(READ) flags 0x0 phys_seg 2 prio class 0
[111170.876025] Buffer I/O error on dev sdb, logical block 6, async page read
[111170.876029] Buffer I/O error on dev sdb, logical block 7, async page read
[111170.876093] sdb: unable to read partition table
 

JOHNOH

New Member
Credits
108
$ sudo dmesg | tail
[sudo] password for john:
[111170.706414] sd 3:0:0:0: [sdb] tag#2 uas_zap_pending 0 uas-tag 1 inflight: CMD
[111170.706421] sd 3:0:0:0: [sdb] tag#2 CDB: Read(10) 28 00 00 00 00 06 00 00 02 00
[111170.838221] usb 2-2: reset SuperSpeed Gen 1 USB device number 15 using xhci_hcd
[111170.859532] scsi host3: uas_eh_device_reset_handler success
[111170.876009] sd 3:0:0:0: [sdb] tag#2 FAILED Result: hostbyte=DID_RESET driverbyte=DRIVER_OK
[111170.876014] sd 3:0:0:0: [sdb] tag#2 CDB: Read(10) 28 00 00 00 00 06 00 00 02 00
[111170.876018] blk_update_request: I/O error, dev sdb, sector 6 op 0x0:(READ) flags 0x0 phys_seg 2 prio class 0
[111170.876025] Buffer I/O error on dev sdb, logical block 6, async page read
[111170.876029] Buffer I/O error on dev sdb, logical block 7, async page read
[111170.876093] sdb: unable to read partition table
I cannot determine the brand name Alexzee. It's not branded and is one that I bought online.
 

Fanboi

Active Member
Credits
3,610
$ sudo dmesg | tail
[sudo] password for john:
[111170.706414] sd 3:0:0:0: [sdb] tag#2 uas_zap_pending 0 uas-tag 1 inflight: CMD
[111170.706421] sd 3:0:0:0: [sdb] tag#2 CDB: Read(10) 28 00 00 00 00 06 00 00 02 00
[111170.838221] usb 2-2: reset SuperSpeed Gen 1 USB device number 15 using xhci_hcd
[111170.859532] scsi host3: uas_eh_device_reset_handler success
[111170.876009] sd 3:0:0:0: [sdb] tag#2 FAILED Result: hostbyte=DID_RESET driverbyte=DRIVER_OK
[111170.876014] sd 3:0:0:0: [sdb] tag#2 CDB: Read(10) 28 00 00 00 00 06 00 00 02 00
[111170.876018] blk_update_request: I/O error, dev sdb, sector 6 op 0x0:(READ) flags 0x0 phys_seg 2 prio class 0
[111170.876025] Buffer I/O error on dev sdb, logical block 6, async page read
[111170.876029] Buffer I/O error on dev sdb, logical block 7, async page read
[111170.876093] sdb: unable to read partition table
You need to use CLI program parted to create a new partition table (this is not like formatting or partitioning). Try making it "gpt". I linked to parted's manual in my last post. If you get problems, fallback on "msdos" partition table.
Your output is showing that error, so unless the SATA controller in the case is wack, that's likely it. Your gparted freezes may be it reading all storage. Normally, I use gparted /dev/sdX to avoid reading all disks. But gparted tends to freeze sometimes coz it scans devices in full first. Its CLI counterpart doesn't.
 

Alexzee

Well-Known Member
Credits
9,213
Looks like you have input output errors.
Wait for Fanboi to read the output of dmesg | tail
 

Alexzee

Well-Known Member
Credits
9,213
Looking at this thread that has almost the same errors as you.


Post # 20 is the link that Fanboi linked for you to do gpt.
 

Fanboi

Active Member
Credits
3,610
Yes, since it's 6 and 7, it could be physical failure. Windows doesn't read the entire device AFAIK, it reads on-the-fly. That's why redundancy is good redundancy is good, lol. Even if it's "fixed" I would still buy a new HDD.
 

JOHNOH

New Member
Credits
108
Hi again guys. I followed Alexzee's advice and attempted to format the drive to NFTS, using a formatting tool that I had on Win 10. Don't know why but the whole drive became unreadable in any of the normal formatting tools (I tried 3 altogether) and it appears that the drive is stuffed. No worries, as I said, it was only a cheap drive that I bought online and it's no great lose. Thanks for all the help given though, it's really appreciated.
 

Alexzee

Well-Known Member
Credits
9,213
Thanks for the update.
Sounds like that drive is done for.

I wouldn't get anymore drives like that online that your not sure of.

Have a look at drives on microcenters website:

I get most of my pc parts there and have never had any issue's.
 

Lord Boltar

Well-Known Member
Credits
5,973
Looks like your partition table is toast - [111170.876093] sdb: unable to read partition table
as Fanboi already said - does not necessarily mean your drive is toast. Here is step-by-step - unless it will not format.

Linux Mint should have Gnome Disk Utility installed (Disks) with your drive plugged in open Disk and highlight the drive - (here I am using a 64GB USB 3 Stick as demonstration) you want to format and click on the 3 dots that are verticle and select Format Disk
Disks 1.png

Now you will see the this and select "Compatible with all systems (MBR/DOS) and then Format
Disks 2.png

Now click on the + next to the gear under Volumes
Disks 3.png

Now click Next
Disks 4.png

If you have exFAT-Fuse and exFAT-utils installed we can now format to exFAT - so click 'Other" and then click next
Disks 5.png

Select exFAT then press Create this will create a new partition and format to exFAT
Disks 6.png

You have to have exFAT-fuse and exFAT-utils installed prior I generally use exFAT for files that maybe larger then 4GBs to transfer
 

JOHNOH

New Member
Credits
108
Looks like your partition table is toast - [111170.876093] sdb: unable to read partition table
as Fanboi already said - does not necessarily mean your drive is toast. Here is step-by-step - unless it will not format.

Linux Mint should have Gnome Disk Utility installed (Disks) with your drive plugged in open Disk and highlight the drive - (here I am using a 64GB USB 3 Stick as demonstration) you want to format and click on the 3 dots that are verticle and select Format Disk
View attachment 10282
Now you will see the this and select "Compatible with all systems (MBR/DOS) and then Format
View attachment 10283
Now click on the + next to the gear under Volumes
View attachment 10284
Now click Next
View attachment 10285
If you have exFAT-Fuse and exFAT-utils installed we can now format to exFAT - so click 'Other" and then click next
View attachment 10286
Select exFAT then press Create this will create a new partition and format to exFAT
View attachment 10287
You have to have exFAT-fuse and exFAT-utils installed prior I generally use exFAT for files that maybe larger then 4GBs to transfer
Hi Lord Boltar. Thanks for that valuable info. Unfortunately I can't get off the ground as the device does not show up in "Files" or in any Recovery programs that I found using Win 10. It appears that I'm back to my original verdict that the drive is stuffed, unless anyone can advise me of another method to somehow locate the drive. If not it's no great loss and I thank everyone for their assistance.
 

JOHNOH

New Member
Credits
108
Thanks for the update.
Sounds like that drive is done for.

I wouldn't get anymore drives like that online that your not sure of.

Have a look at drives on microcenters website:

I get most of my pc parts there and have never had any issue's.
Hi again Alexzee. The site that you mention looks pretty good, but I'm located in Australia and by the time you convert $US to $AUS and also take into account the huge postage costs for US to AUS, the whole thing is uneconomic. Thanks for that info though - much appreciated.
 

Alexzee

Well-Known Member
Credits
9,213
Hi again Alexzee. The site that you mention looks pretty good, but I'm located in Australia and by the time you convert $US to $AUS and also take into account the huge postage costs for US to AUS, the whole thing is uneconomic. Thanks for that info though - much appreciated.
You're welcome-:)

Have a good weekend!
 

Condobloke

Well-Known Member
Credits
16,128
but I'm located in Australia
Australia !!!....there's is no better place to be mate !

I purchased this from Amazon in 2020 and can find no fault with it.

(free postage too, btw. Make sure you insist on that..amazon can be a bit sneaky)

I established two separate partitions on it, each 1tb, and then formatted the second one to ntfs and the first one to ext4.
The ntfs was to accommodate a backup program (which I eventually ditched!!), and the first accommodates TV programs and Timeshift snapshots.....and a few other pieces of data.
The ext4 accommodates backups and Pics (lots of them) and a host of important legal stuff.

(if you would like to contribute or follow the Australia, The Land Down Under topic here on Linux.org, please feel welcome, and free to do so.

Welcome to Linux.org
 
Last edited:

Fanboi

Active Member
Credits
3,610
Australia !!!....there's is no better place to be mate !

I purchased this from Amazon in 2020 and can find no fault with it.

I established two separate partitions on it, each 1tb, and then formatted the second one to ntfs and the first one to ext4.
The ntfs was to accommodate a backup program (which I eventually ditched!!), and the first accommodates TV programs and Timeshift snapshots.....and a few other pieces of data.
The ext4 accommodates backups and Pics (lots of them) and a host of important legal stuff.

(if you would like to contribute or follow the Australia, The Land Down Under topic here on Linux.org, please feel welcome, and free to do so.

Welcome to Linux.org
I'm not an Aussie, but ZAR:AUD is about 10:1. TBH, the 3TB version is much better bang for buck than the other in terms of storage to price. 4TB one doesn't compete quite as well.
 

JOHNOH

New Member
Credits
108
Australia !!!....there's is no better place to be mate !

I purchased this from Amazon in 2020 and can find no fault with it.

(free postage too, btw. Make sure you insist on that..amazon can be a bit sneaky)

I established two separate partitions on it, each 1tb, and then formatted the second one to ntfs and the first one to ext4.
The ntfs was to accommodate a backup program (which I eventually ditched!!), and the first accommodates TV programs and Timeshift snapshots.....and a few other pieces of data.
The ext4 accommodates backups and Pics (lots of them) and a host of important legal stuff.

(if you would like to contribute or follow the Australia, The Land Down Under topic here on Linux.org, please feel welcome, and free to do so.

Welcome to Linux.org
Thanks for those nice comments Condobloke. Yeah, I sure think there's no better place to be than Australia. Located close to the Gold Coast, with lovely warm weather year round. I'll look into your suggestion for a hard drive from Amazon. Thanks for the advise.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top