10 ms·
WD Passport 4TB drives don't support WRITE SAME command
- gaius_baltar 7y agoI wonder if it is some kind of market segmentation choice. Does it even make sense?
- klodolph 7y agoIt is absolutely a market segmentation choice.
- topspin 7y agoHow do you know this?
- klodolph 7y agoIt’s literally nothing more than a piece of firmware. WD is fairly aggressive about market segmentation, and firmware differences (or settings) are a big part of that.
- cornishpixels 7y agoYou should read the rest of the thread. It's likely a completely different drive.
- klodolph 7y agoA completely different drive which lacks a feature in firmware. WD creates "completely different drives" which may have physical differences, but the firmware is also a huge differentiator in the market.
- georgyo 7y agoI don't know if I am at all surprised that a USB hard-drive is failing to implement all SCSI commands, even if it really should.
- luc_ 7y agoWhy wouldn't it have the same functionality as an internal HDD?
- rpcope1 7y agoThey were never ever intended to be taken out and used that way. You can mask potential firmware problems and ship faster if you also own the enclosure.
- somehnguy 7y agoWouldn't it ship faster if you just plopped in any regular ol HDD the company makes (the cheapest one, probably) instead of developing a custom one just for that product?
- withinboredom 7y agoIn reality, it is probably exactly that. These are the drives that didn't make the cut to be sold independently.
- somehnguy 7y agoYeah pretty common thing across all industries. I would expect things like maybe the vibration is slightly out of normal spec, or an abnormal amount of bad sectors on a fresh unit. But I don't understand how them maybe not being top quality would make part of the SCSI protocol disappear in the firmware. That indicates that these drives had a different firmware developed for them with missing features which makes no sense.
- 7y ago
- saagarjha 7y ago(I looked it up and WRITE SAME seems to be a SCSI command to essentially do a "memset".)
- mehrdadn 7y ago> In any case, it is a huge security issue, because file systems use this command to efficiently clear freed blocks to zeros. Do file systems directly issue SCSI commands? I would've thought they tell the storage driver to do something and the driver would do it with the most efficient means available.
- simcop2387 7y agoIt likely flows down from the same kind of code that supports TRIM or other free space clearing stuff. They won't (usually) issue the commands themselves
- mehrdadn 7y agoIt seems like a bug in a storage driver in that case (if it's actually getting triggered by it)... if a command isn't available, it should be falling back to one that is, right?
- simcop2387 7y agoMaybe? I don't know if there's a command Discovery for scsi that would let them know if things are supposed to be supported. If there is maybe it advertised support and confuses the system when it doesn't work
- speedgoose 7y agoIf you rely on your USB hard drive to write zeros when you delete data, you must stop and encrypt your data.
- verbify 7y agoEncryption is not future proof (encryption that was previously thought of as secure has been broken). Writing zeros is future proof.
- lonelappde 7y agoAbsolutely not. Writing random data is future proof.
- gjs278 7y agowriting zeroes is absolutely future proof
- bityard 7y agoNot writing the data in the first place is future proof.
- mindslight 7y agoMelting the platters is the next best option.
- jcrawfordor 7y ago1) Writing all zeros is generally considered more SSD-friendly than random data. The exact reasons for this are complex in part because behavior of SSD controllers varies significantly with all-zero blocks. But, while absolutely inferior to using TRIM, there is reason to believe that writing all zeroes is less likely to lead to premature wear than random data. 2) While it's been "common knowledge" since Gutmann that data from old writes can be recovered (thus the advice to write multiple passes of random data), this turns out to have been iffy in Gutmann's day and an outright myth today. Multiple university teams have tried and failed to recover data using advanced techniques (such as SEM tomography) after a single zero pass. Generally the success rate for single bits is only slightly better than random chance. Gutmann himself criticized multi-pass overwriting as "a kind of voodoo incantation to banish evil spirits" and unnecessary today. 3) By far the larger concern in data recovery, for platters as well as SSDs, is caches and remapping performed in the firmware. As a result, the ATA secure erase command is the best way to destroy data because it allows the controller to employ its special knowledge of the architecture of the drive. However, ATA SE has been found to be extremely inconsistently implemented, especially on consumer hard drives. The inability to reliably verify good completion of the ATA SE is a major contributor towards preference for "self-encrypting" drives in which ATA SE can be reliably achieved by clearing the internal crypto information, and the US government's recommendation that drives can only reliably be cleared by physical destruction. Physical destruction is probably your best bet as well, because self-encrypting enterprise drives come at a substantial price premium and you still lack insight into the quality of their firmware. In other words, the price of a drive with an assured good ATA SE implementation is probably higher than the price of a cheap drive and the one you'll replace it with after you crush it.
- pkaye 7y agoIs there actually a SCSI drive in there or just a SATA drive with a USB bridge chip using the USB mass storage spec and implementing some basic SCSI commands?
- vbezhenar 7y agoWhen I disassembled one portable SSD, it was exactly that: ordinary SATA 2.5" drive inside enclosure with tiny adapter.
- bayindirh 7y agoSometimes the firmware is optimized for operation though. WD is one of the most advanced companies in this regard. My 4TB Passport drive reports a drive model which is not sold separately but, it's purpose built to run in an enclosure. My first generation Passport 320GB disk was also has a different firmware for enclosure based operation. IIRC some WD disks doesn't have SATA ports but USB ports are directly soldered to their drive boards. WD is an interesting company.
- laurentdc 7y agoIt's a regular 2.5" hard drive, but the motherboard has a USB <> SATA bridge and some glue logic on it already, probably to save space or costs. [0] There's no SATA connector so you can't salvage the drive or the enclosure. But there are SATA test points so you could wire it that way in theory. [1] [2] Toshiba does the same, I found out the hard way after prying open one of them to salvage a hard drive for my PS4 [0] https://www.youtube.com/watch?v=wP4l_L81NKw https://www.youtube.com/watch?v=wP4l_L81NKw [1] https://forum.acelaboratory.com/download/file.php?id=999&mode=view https://forum.acelaboratory.com/download/file.php?id=999&mod... [2] https://forum.acelaboratory.com/viewtopic.php?t=9174 https://forum.acelaboratory.com/viewtopic.php?t=9174
- LeifCarrotson 7y agoIn the 3.5" space, "shucking" the enclosures off desktop USB storage devices almost always reveals a SATA 3.5" hard drive. Kind of surprising that the drive control board in the Passport has the USB connector built right in. It makes me wonder a few things: 1. What are volumes like for 2.5" spinning rust drives? I understand that the vast majority of 3.5" drives go into servers, desktops, or storage devices where they operate on a SATA bus, so the small volume of USB drives are most cheaply made with a housing that uses the economies of scale of that industry and adds a USB conversion motherboard. A decade ago, I would have said most 2.5" drives are used with SATA connectors in laptops, but who's buying laptops that don't use solid state storage anymore? 2. What's the cost difference for a drive control board with optional pads for both SATA and USB, only one installed at a time, vs one that only supports SATA? 3. Can you pull off the control board and replace it with one from the same lineup that uses SATA, like you would in a data recovery operation where some IC on the board burned out? Or is the mechanical component also specialized?
- znpy 7y agoi learnt not to trust wd passport drives. I have a completely unusable 2tb drive at home that for some reason only gets detected by macbooks, not from windows or linux pcs.
- stOneskull 7y agoI've had similar experiences. Two that I couldn't access with anything, and would've needed to pay a professional data recovery person if I wanted the stuff. But I had two Hitachi ones which were similar too. I now have a collection of internal drives in enclosures, and the first two, out of old laptops, have now outlasted any external drive I've ever had. Only 1 external drive I've had has been good in my life. That's a Seagate. Dunno if it's a fluke but I'll just buy that brand in the future until I find out.
- tssva 7y agoSCSI standard only mandates WRITE SAME command support for host managed zoned block devices, so unless the drive reports as one it is within spec.
- eqvinox 7y ago(a) source? Only thing I could find is SBC-3 which lists everything as optional, so kinda not helpful [https://t10.org/ftp/t10/document.05/05-344r0.pdf https://t10.org/ftp/t10/document.05/05-344r0.pdf] (b) doesn't really matter, working reality trumps theoretical spec.
- hoppla 7y agoSo, a user can create a new file and get access to previously stored content somehow?
- peter_d_sherman 7y agoFuture OS'es (if using SCSI) should test to see if this works (easy test), especially if using that SCSI to communicate with a VM host's (i.e., ESX's) filesystem...