You are not logged in.

#1 2018-01-08 03:17:02

Julianacat
Banned
Registered: 2017-04-18
Posts: 17

[SOLVED] Western digital internal drive linux support

I have 2 western digital drives and they both get detected but have massive issues like trying to write/read to them.
Does linux have issues with western digital drives or should I search for another problem?

Last edited by Julianacat (2018-01-08 16:08:14)

Offline

#2 2018-01-08 03:18:32

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,611

Re: [SOLVED] Western digital internal drive linux support

Julianacat wrote:

Does linux have issues with western digital drives...?

No


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2018-01-08 03:19:22

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Western digital internal drive linux support

Julianacat wrote:

should I search for another problem?

Yes.


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2018-01-08 03:24:58

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: [SOLVED] Western digital internal drive linux support

Start by giving us some useful information to work with: http://www.catb.org/esr/faqs/smart-questions.html

An accurate description of "massive issues like trying to write/read to them." such as logs and error messages would be a start. Perhaps the output of `fdisk -l`, `mount`, `df -h` and relevant parts of `dmesg` too.

Offline

#5 2018-01-08 03:36:51

Julianacat
Banned
Registered: 2017-04-18
Posts: 17

Re: [SOLVED] Western digital internal drive linux support

fukawi2 wrote:

Start by giving us some useful information to work with: http://www.catb.org/esr/faqs/smart-questions.html

An accurate description of "massive issues like trying to write/read to them." such as logs and error messages would be a start. Perhaps the output of `fdisk -l`, `mount`, `df -h` and relevant parts of `dmesg` too.

I didnt attempt to jsut make a filesystem, i wanted to erase it per https://wiki.archlinux.org/index.php/Di … g_the_disk to prepare for encryption.
Writing failed eventually and linux would no longer want to deal with the drive and would disappear from lsblk after you closed the encrypted drive. I think it fails once linux tries to flush the write cache.
Ill get the results of your commands soon after more testing with it.

jasonwryan wrote:
Julianacat wrote:

should I search for another problem?

Yes.


Moving to NC...

Im asking these questions to narrow down the potential causes of failure.
They are both new drives from separate sellers on different sites.
Ive never had these problems with hard drives as all my current ones work fine.

Offline

#6 2018-01-08 15:59:15

Julianacat
Banned
Registered: 2017-04-18
Posts: 17

Re: [SOLVED] Western digital internal drive linux support

fukawi2 wrote:

Start by giving us some useful information to work with: http://www.catb.org/esr/faqs/smart-questions.html

An accurate description of "massive issues like trying to write/read to them." such as logs and error messages would be a start. Perhaps the output of `fdisk -l`, `mount`, `df -h` and relevant parts of `dmesg` too.

Both of the drives died of me trying to use them.
The wd black now makes a clicking noise when spinning up that it didn't before, even though i know that the powersupply is more than enough to handle it.
The wd greens latency is through the roof and it takes a long time to do anything with it and every now and then it kinda dissaepears from lsblk.

Disk /dev/sde: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
[julianacat@Julianacat-ArchLinux ~]$ lsblk
NAME                 MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                    8:0    0 298.1G  0 disk  
└─cryptoMedia        254:2    0 298.1G  0 crypt 
  ├─MediaLvm-group   254:3    0 288.1G  0 lvm   
  └─MediaLvm-swap    254:4    0    10G  0 lvm   
sdb                    8:16   0 465.8G  0 disk  
└─cryptoArchive      254:5    0 465.8G  0 crypt 
  ├─ArchiveLvm-group 254:6    0 460.8G  0 lvm   
  └─ArchiveLvm-swap  254:7    0     5G  0 lvm   
sdc                    8:32   0 238.5G  0 disk  
├─sdc1                 8:33   0   256M  0 part  /esp
└─sdc2                 8:34   0 238.2G  0 part  
  └─cryptoRoot       254:0    0 238.2G  0 crypt 
    └─RootLvm-group  254:1    0 238.2G  0 lvm   /
sdd                    8:48   1  29.9G  0 disk  
├─sdd1                 8:49   1   1.2G  0 part  
└─sdd2                 8:50   1   2.3M  0 part  
sde                    8:64   0   2.7T  0 disk  
sr0                   11:0    1    96M  0 rom   
[julianacat@Julianacat-ArchLinux ~]$ sudo mkfs.ext4 /dev/sde
mke2fs 1.43.7 (16-Oct-2017)
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

Offline

#7 2018-01-08 23:17:50

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: [SOLVED] Western digital internal drive linux support

Julianacat wrote:

The wd black now makes a clicking noise when spinning up that it didn't before

Clicking noises from a HDD are never good. I'd write that HDD off.  Even if you can get it going and "working", you can't trust it.

Julianacat wrote:

The wd greens

WD Green drives are rubbish. There are known issues with some specific models -- is yours one of them?

EDIT: you've marked the thread as solved.... Would you care to share what you discovered so others may benefit in the future?

Offline

#8 2018-01-09 03:09:54

Julianacat
Banned
Registered: 2017-04-18
Posts: 17

Re: [SOLVED] Western digital internal drive linux support

fukawi2 wrote:
Julianacat wrote:

The wd black now makes a clicking noise when spinning up that it didn't before

Clicking noises from a HDD are never good. I'd write that HDD off.  Even if you can get it going and "working", you can't trust it.

Julianacat wrote:

The wd greens

WD Green drives are rubbish. There are known issues with some specific models -- is yours one of them?

EDIT: you've marked the thread as solved.... Would you care to share what you discovered so others may benefit in the future?

I dont really have info to share, and as for rubbish, all i will do with it is put stuff on there once in a blue moon and it will stay there as cheap mass storage.
https://www.youtube.com/watch?v=aBspElh … e=youtu.be

Offline

#9 2018-01-09 03:29:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] Western digital internal drive linux support

Julianacat wrote:

as for rubbish, all i will do with it is put stuff on there once in a blue moon and it will stay there

This does not sound like a reasonable assumption under the circumstances.

Are we supposed to watch that video?  If you want to share command output, post it here as text.  Don't expect anyone to watch an 8 minute video in hopes of seeing one screen's worth of information.

Last edited by Trilby (2018-01-09 03:31:43)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#10 2018-01-09 03:37:59

Julianacat
Banned
Registered: 2017-04-18
Posts: 17

Re: [SOLVED] Western digital internal drive linux support

Trilby wrote:
Julianacat wrote:

as for rubbish, all i will do with it is put stuff on there once in a blue moon and it will stay there

This does not sound like a reasonable assumption under the circumstances.

Are we supposed to watch that video?  If you want to share command output, post it here as text.  Don't expect anyone to watch an 8 minute video in hopes of seeing one screen's worth of information.

long story short, the drive just stalls operations to incredibly long latencys...
cant SMART test it,. cant format it, its just there but its not usable
Not much else to add other from the info above

Offline

#11 2018-01-09 04:16:51

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: [SOLVED] Western digital internal drive linux support

Whether you agree they are rubbish or not, the fact remains:

fukawi2 wrote:

There are known issues with some specific models -- is yours one of them?

Offline

#12 2018-01-09 14:02:40

Julianacat
Banned
Registered: 2017-04-18
Posts: 17

Re: [SOLVED] Western digital internal drive linux support

fukawi2 wrote:

Whether you agree they are rubbish or not, the fact remains:

fukawi2 wrote:

There are known issues with some specific models -- is yours one of them?

No it isnt.
But hey, the green gave me a smart report. I think they gave me a well used drive... Not sure tho as I'm not the best at interpreting this... I could be completely wrong.

[julianacat@Julianacat-ArchLinux ~]$ sudo smartctl --all /dev/sdf
[sudo] password for julianacat: 
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.14.12-1-zen] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Green
Device Model:     WDC WD30EZRX-00D8PB0
Serial Number:    WD-WCC4N0820900
LU WWN Device Id: 5 0014ee 25f42e220
Firmware Version: 80.00A80
User Capacity:    3,000,592,982,016 bytes [3.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Tue Jan  9 07:19:10 2018 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(40020) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 401) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x7035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   242   172   021    Pre-fail  Always       -       2858
  4 Start_Stop_Count        0x0032   096   096   000    Old_age   Always       -       4720
  5 Reallocated_Sector_Ct   0x0033   197   197   140    Pre-fail  Always       -       98
  7 Seek_Error_Rate         0x002e   173   173   000    Old_age   Always       -       809
  9 Power_On_Hours          0x0032   067   067   000    Old_age   Always       -       24525
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   097   097   000    Old_age   Always       -       3178
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       670
193 Load_Cycle_Count        0x0032   102   102   000    Old_age   Always       -       295202
194 Temperature_Celsius     0x0022   126   108   000    Old_age   Always       -       24
196 Reallocated_Event_Count 0x0032   102   102   000    Old_age   Always       -       98
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     24524         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

[julianacat@Julianacat-ArchLinux ~]$

Last edited by Julianacat (2018-01-09 14:10:12)

Offline

#13 2018-01-09 14:45:45

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,100

Re: [SOLVED] Western digital internal drive linux support

9 Power_On_Hours          0x0032   067   067   000    Old_age   Always       -       24525

Been running for 2.8 years, 5.2h average uptime - did you suggest this was sold you as a new disk?

5 Reallocated_Sector_Ct   0x0033   197   197   140    Pre-fail  Always       -       98

Bad. Run badblocks (if you can), the value might increase.

Offline

#14 2018-01-09 15:44:11

Julianacat
Banned
Registered: 2017-04-18
Posts: 17

Re: [SOLVED] Western digital internal drive linux support

seth wrote:
9 Power_On_Hours          0x0032   067   067   000    Old_age   Always       -       24525

Been running for 2.8 years, 5.2h average uptime - did you suggest this was sold you as a new disk?

5 Reallocated_Sector_Ct   0x0033   197   197   140    Pre-fail  Always       -       98

Bad. Run badblocks (if you can), the value might increase.

Yeah, bad blocks spit alot of numbers... Im gonna return that and try again.
How would i go about testing the wd black, it doesnt want to spin up and it just clicks, then starts again...

Offline

#15 2018-01-09 15:46:13

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,100

Re: [SOLVED] Western digital internal drive linux support

It's either underpowered or toast. (Maybe a green that went too hot)
Did they really sell the device as new? Sue them for fraud.

Offline

#16 2018-01-09 16:24:15

Julianacat
Banned
Registered: 2017-04-18
Posts: 17

Re: [SOLVED] Western digital internal drive linux support

seth wrote:

It's either underpowered or toast. (Maybe a green that went too hot)
Did they really sell the device as new? Sue them for fraud.

I mean, yes it was listed as new, but I can prove that I have a working drive with twice the uptime lmao. Im having no problems with either!
Why dont they make anything good nowdays :joy:
But yeah, I want to replace my old drives with faster and bigger stuff.

[julianacat@Julianacat-ArchLinux ~]$ sudo smartctl --all /dev/sdb
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.14.12-1-zen] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi Deskstar T7K500
Device Model:     Hitachi HDT725032VLA380
Serial Number:    VFG260R2DY0TST
Firmware Version: V54OA7DA
User Capacity:    320,072,933,376 bytes [320 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA/ATAPI-7 T13/1532D revision 1
Local Time is:    Tue Jan  9 10:19:25 2018 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x80)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		( 5601) seconds.
Offline data collection
capabilities: 			 (0x5b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 (  94) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   016    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   166   166   050    Pre-fail  Offline      -       174
  3 Spin_Up_Time            0x0007   160   160   024    Pre-fail  Always       -       142 (Average 325)
  4 Start_Stop_Count        0x0012   097   097   000    Old_age   Always       -       13220
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   134   134   020    Pre-fail  Offline      -       32
  9 Power_On_Hours          0x0012   095   095   000    Old_age   Always       -       40883
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   098   098   000    Old_age   Always       -       8122
192 Power-Off_Retract_Count 0x0032   089   089   000    Old_age   Always       -       13803
193 Load_Cycle_Count        0x0012   089   089   000    Old_age   Always       -       13803
194 Temperature_Celsius     0x0002   139   139   000    Old_age   Always       -       43 (Min/Max 12/54)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   253   000    Old_age   Always       -       4

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      6125         -
# 2  Extended offline    Completed without error       00%      6107         -
# 3  Short offline       Completed without error       00%      6105         -
# 4  Short offline       Completed without error       00%      5687         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

Last edited by Julianacat (2018-01-09 16:25:37)

Offline

#17 2018-01-09 22:19:37

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: [SOLVED] Western digital internal drive linux support

Julianacat wrote:

Sector Sizes:     512 bytes logical, 4096 bytes physical

Was the drive partitioned when you got it?  Make sure the partition alignment is correct for 4K/Advanced Format drives.

Offline

Board footer

Powered by FluxBB