External HD: No Caching mode page found (Western Digital My Book 1140)
I’m getting “No Caching mode page found / Assuming drive cache: write through”, in dmesg, when I connect a particular external hard drive.
A drive without a cache seems unusual, and hdparm suggests there is one:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
I fear letting the O/S believe there’s no write cache to flush is a very bad idea, and will cause data loss, sooner or later (probably sooner).
It may just be a fault in this particular unit (a Western Digital My Book 1140), as I’ve found nothing with a Google search.
Please advise the best thing I can do (short of buying a new hard drive).
Below is the relevant (I hope) technical stuff.
[ 240.607283] usb 1-3: new high-speed USB device number 4 using xhci_hcd
[ 240.756305] usb 1-3: New USB device found, idVendor=1058, idProduct=1140, bcdDevice=10.25
[ 240.756307] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 240.756308] usb 1-3: Product: My Book 1140
[ 240.756309] usb 1-3: Manufacturer: Western Digital
[ 240.756310] usb 1-3: SerialNumber: xxxxxxxxxxxxxxx
[ 240.785397] usb-storage 1-3:1.0: USB Mass Storage device detected
[ 240.787935] scsi host2: usb-storage 1-3:1.0
[ 240.788642] usbcore: registered new interface driver usb-storage
[ 240.790854] usbcore: registered new interface driver uas
[ 241.819981] scsi 2:0:0:0: Direct-Access WD My Book 1140 1025 PQ: 0 ANSI: 6
[ 241.820216] scsi 2:0:0:1: Enclosure WD SES Device 1025 PQ: 0 ANSI: 6
[ 241.821025] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 241.821183] scsi 2:0:0:1: Attached scsi generic sg2 type 13
[ 241.824960] sd 2:0:0:0: [sdb] Spinning up disk...
[ 242.843248] .
[ 249.844693] scsi 2:0:0:1: Failed to get diagnostic page 0x1
[ 249.844698] scsi 2:0:0:1: Failed to bind enclosure -19
[ 250.875128] .......ready
[ 257.019718] sd 2:0:0:0: [sdb] 732558336 4096-byte logical blocks: (3.00 TB/2.73 TiB)
[ 257.020145] sd 2:0:0:0: [sdb] Write Protect is off
[ 257.020147] sd 2:0:0:0: [sdb] Mode Sense: 47 00 10 08
[ 257.020406] sd 2:0:0:0: [sdb] No Caching mode page found
[ 257.020409] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 257.091033] sdb: sdb1 sdb2
[ 257.091979] sd 2:0:0:0: [sdb] Attached SCSI disk
[ 257.092020] ses 2:0:0:1: Attached Enclosure device
sudo hdparm -I /dev/sdb
/dev/sdb:
ATA device, with non-removable media
Model Number: WDC WD30EZRX-00MMMB0
Serial Number: WD-WCAWZxxxxxxx
Firmware Revision: 80.00A80
Transport: Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
Supported: 8 7 6 5
Likely used: 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 5860533168
Logical Sector size: 512 bytes
Physical Sector size: 4096 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 2861588 MBytes
device size with M = 1000*1000: 3000592 MBytes (3000 GB)
cache/buffer size = unknown
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, with device specific minimum
R/W multiple sector transfer: Max = 16 Current = 0
DMA: *mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
Power-Up In Standby feature set
* SET_FEATURES required to spinup after power up
SET_MAX security extension
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* 64-bit World wide name
* {READ,WRITE}
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Gen3 signaling speed (6.0Gb/s)
* Native Command Queueing (NCQ)
* Host-initiated interface power management
* Phy event counters
* NCQ priority information
DMA Setup Auto-Activate optimization
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Write Same (AC2)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
unknown 206[12] (vendor specific)
unknown 206[13] (vendor specific)
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
supported: enhanced erase
more than 508min for SECURITY ERASE UNIT. more than 508min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: xxxxxxxxxxxxxxxx
NAA : 5
IEEE OUI : 0014ee
Unique ID : xxxxxxxxx
Checksum: correct
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Njorl for more information if necessary.