Hacker News
What Makes UltraSMR Different?
Telaneo
|next
[-]
If the disks were host-aware, Linux (and preferably ZFS) could handle host-aware SMR disks non-catastrophically, and SMR disks were part of a separate product line with prices and capacities that make some sort of sense when you compare with the CMR line, I'd be all over them as cold storage, or just treating them as (re)write-once-read-many drives.
But it's clear WD and Seagate don't care about the consumers. They're just a rounding error in comparison to B2B sales, especially given the current times.
ejiblabahaba
|next
|previous
[-]
undersuit
|root
|parent
|next
[-]
What's frustrating is even just a little info from the manufactures would be beneficial, like the size of a shingle so the computer could batch writes, or even if the drive is shingled!
ejiblabahaba
|root
|parent
|next
[-]
In any case, I don't think hobbyists get to play with the non-disk-managed drives, and anyone with the money and the special disks is probably not using ZFS because it's a bit of an uphill battle to fit SMR to a copy-on-write filesystem.
marklar423
|root
|parent
|next
[-]
The drive doesn't have enough information to do this itself, we need SMR aware filesystems.
accrual
|root
|parent
|next
|previous
[-]
https://dropbox.tech/infrastructure/four-years-of-smr-storag...
dist-epoch
|root
|parent
|previous
[-]
Sounds like ZFS has the same problem today, it's not aware of SMR, and it treats those drives as if they are regular hard-drives.
creatonez
|next
|previous
[-]
addaon
|root
|parent
|next
[-]
shadowpho
|root
|parent
|previous
[-]
Means they are still bad in RAID setups
numpad0
|next
|previous
[-]
They do like "ls /sda0/dirty-tracks/ | xargs -P 1 dd if=/sda0/dirty-tracks/{} of=/dev/sda{} size=512M && rm /sda0/{}", but onboard the disk, not on the host, and that's both wildly slow and imcompatible with anything but super light or niche use cases.
If only they at least used a NAND flash for that staging or at least coordinated with the host system, but no, HDD industry chose not to cooperate with anyone and to hide the fact that some disks are DM-SMRs.
loeg
|next
|previous
[-]
Think of SMR as "fast tape with random reads" rather than anything like a CMR product.
skibbityboop
|next
|previous
[-]
londons_explore
|next
|previous
[-]
The way it would work is:
* The underlying disk would do sequential writes only, in 1Gb blocks, rather like a log filesystem.
* The large block size enables much better information density due to being able to tolerate far more errors.
* Random reads within blocks can usually be done - but occasionally most or all of the whole block will need to be read to decode the data.
* A small capacitor+disk momentum ensures any writes that happened before a power failure can always be completed - either to the real disk or to flash.
* The OS still only sees 4k pages - versioning, packing those into 1Gb blocks, mappings and garbage collection are all handled inside the drive.
kvemkon
|root
|parent
|next
[-]
It can be also the data milliseconds after loosing power. The minimal amount of data in question is the data that the drive has acknowledged to the OS after a special command.
Anyway, this problem is already solved at least few years ago.