3 ms·
Why do you think HFS+ can't guarantee that it wrote data to a storage device? From what I know (F_FULLFSYNC, etc) it does have that capability.
by millstone 12y ago
Why do you think HFS+ can't guarantee that it wrote data to a storage device? From what I know (F_FULLFSYNC, etc) it does have that capability.
- MCRed 12y agoAnd why isn't he giving more details? He's being kinda broad without being specific enough. At this point my guess is he's been running HFS+ without journaling turned on (you can format drives this way) and experienced data loss as a result because the filesystems ability to correct itself was disabled. This would look like what he's describing.
- binarycrusader 12y agoNo, I'm using the defaults for what OS X specifies when you first install. Which means journaling is turned on. See John Siracusa's article: http://arstechnica.com/apple/2011/07/mac-os-x-10-7/12/ http://arstechnica.com/apple/2011/07/mac-os-x-10-7/12/
- binarycrusader 12y agoGuarantee that it wrote the data correctly. Think checksums, like what ZFS/Btrfs have: http://en.wikipedia.org/wiki/Data_corruption#SILENT http://en.wikipedia.org/wiki/Data_corruption#SILENT Same goes for when it reads back the data.
- millstone 12y agoI'm sorry to hear you lost data due to that issue. NTFS, ext4, and other consumer-targeted filesystems do not have this feature either, so it's unfair to imply this is somehow specific to HFS+ or Macs. You'd have the same issue on a Windows or Ubuntu install.
- binarycrusader 12y agoActually, as of Windows 8.1 (64-bit only), ReFS is now supported which does have those features: https://en.wikipedia.org/wiki/ReFS https://en.wikipedia.org/wiki/ReFS So in the near future, Windows will have an answer for the general mainstream, while OS X will be left far behind. Even ignoring the checksumming issue, HFS+ has known pathologies not only in reliability but in performance compared to NTFS or even ext4 on Linux. HFS+ is long overdue for replacement.