News for hackers. Stuff that matters.
Re:Apple – OS X – Photos by abalone on Wednesday April 08, 2015 @04:07PM (#9343539)
Literally the first feature listed is iCloud Photo Library, a solution to critical photo data storage. It backs it up offsite which is better protection than even the best filesystem software.
Re:Apple – OS X – Photos by danieldk on Thursday April 09, 2015 @04:47AM (#9346379)
No, such services are not proper backups. Their server software makes an error, syncs with your iPhone and Mac. Poof, your photos are gone.

For proper backups, backup to a local external disk (e.g. a time capsule or NAS) and an externally with incremental backups (e.g. Arq, Backblaze, tarsnap).

I use Arq, and the nice thing (in contrast to my Time Machine backups) data is also backed up on the go.

Re:Apple – OS X – Photos by abalone on Thursday April 09, 2015 @09:21PM (#9352060)
That is a belt-and-suspenders approach to backups, but sure, it's a little safer.

However if it's a choice between onsite and offsite backups, which practically speaking it is for most people, definitely offsite wins. The risk of fire, theft, etc. is vastly greater than the risk that Apple has a critical syncing bug and no ability to recover lost data. (Normally they keep deleted files around for 30 days.)

Re:Apple – OS X – Photos by danieldk on Friday April 10, 2015 @03:32AM (#9352946)
However if it's a choice between onsite and offsite backups, which practically speaking it is for most people, definitely offsite wins. The risk of fire, theft, etc. is vastly greater than the risk that Apple has a critical syncing bug and no ability to recover lost data. (Normally they keep deleted files around for 30 days.)

Yes, but it also happens that someone deletes a photo from a stream accidentally and does not realize within 30 days. For this reason, iCloud Photo Stream is not a backup - a backup keeps copies until the end of time.

Re:Apple – OS X – Photos by Teckla on Thursday April 09, 2015 @04:46PM (#9350918)
For proper backups, backup to a local external disk

Is a backup really a backup if it's onsite? You don't want a fire to take out your PC and external disk located in the same house.

Re:Apple – OS X – Photos by danieldk on Friday April 10, 2015 @03:29AM (#9352940)
That's why you use an external backup as well. It's just quicker to restore your data if your machine (or cloud service) failed, but your backup disk is fine.
Re:Apple – OS X – Photos by binarycrusader on Wednesday April 08, 2015 @04:31PM (#9343729)
If I'm offline for some period of time and upload photos to my laptop, an unreliable filesystem has every chance to corrupt my data before it gets uploaded to the cloud when I eventually reconnect.

The "cloud" option itself simplifies the backup process and could potentially reduce the window of a chance for corruption, but it does not eliminate the need for a reliable, local filesystem.

Re:Apple – OS X – Photos by abalone on Wednesday April 08, 2015 @07:32PM (#9344882)
I don't accept the premise that filesystems are "unreliable" because you experienced a case of data loss. Hard drives can and regularly do experience hardware failures even with the best possible filesystem software. Camera memory cards can experience data loss before you get around to uploading. Reliability is like security; it's a matter of degrees not an absolute measure.

That is why a good, well-integrated offsite backup solution that "reduces the window of a chance for corruption" is a much more significant impact on data security than anything we could hope to incrementally improve in the filesystem software layer.

And Apple's solution is even better than you describe. Photos taken from Apple cameras (which are the vast bulk of photos for most customers) are automatically uploaded directly to the cloud as soon as the device joins wifi.

Re:Apple – OS X – Photos by binarycrusader on Wednesday April 08, 2015 @07:41PM (#9344918)
And you seem to be completely ignoring the fact that a filesystem that can't even guarantee that it wrote the data to an intermediate storage device correctly is fundamentally unreliable.

That is the core issue.

Yes, well-integrated offline backup solutions mitigate some aspects of the problem, but when your filesystem can't even guarantee that it did its job correctly, it doesn't matter how well-integrated your "backup" solutions are because the data may already be corrupt.

Nevermind that the "well-integrated" backup solution you are describing here, because of the unreliable filesystem, can't even guarantee that it read the data from disk correctly to a reasonable degree.

This is not some anecdotal "Mac OS X burned me" story -- this is a fundamental, architectural issue. Data loss is real -- and so are my concerns about HFS+.

Re:Apple – OS X – Photos by millstone on Wednesday April 08, 2015 @10:16PM (#9345479)
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.
Re:Apple – OS X – Photos by binarycrusader on Thursday April 09, 2015 @01:15AM (#9345886)
Guarantee that it wrote the data correctly. Think checksums, like what ZFS/Btrfs have:

http://en.wikipedia.org/wiki/Data_corruption#SILENT

Same goes for when it reads back the data.

Re:Apple – OS X – Photos by millstone on Thursday April 09, 2015 @03:54AM (#9346221)
I'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.

Re:Apple – OS X – Photos by binarycrusader on Thursday April 09, 2015 @12:32PM (#9348804)
Actually, as of Windows 8.1 (64-bit only), ReFS is now supported which does have those features:

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.

Re:Apple – OS X – Photos by MCRed on Wednesday April 08, 2015 @11:52PM (#9345710)
And 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.

Re:Apple – OS X – Photos by binarycrusader on Thursday April 09, 2015 @01:16AM (#9345890)
No, 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/

Re:Apple – OS X – Photos by uptown on Wednesday April 08, 2015 @05:14PM (#9344047)
Wouldn't you still have the copy on the device or memory card you took the photo from as an alternate source to restore from? Just avoid wiping that until you have two other copies.
Re:Apple – OS X – Photos by vacri on Wednesday April 08, 2015 @05:56PM (#9344313)
This seems terrifying if the filesystem is that bad that you have to do this to guard against corruption. And isn't half the point of offloading images from a card to clear up the card for reuse?
Re:Apple – OS X – Photos by epochwolf on Wednesday April 08, 2015 @07:35PM (#9344901)
I don't clear photos off SD Cards until the files are in my offsite backup.
Re:Apple – OS X – Photos by cbhl on Wednesday April 08, 2015 @05:50PM (#9344268)
If the device is an iPhone[0], then there is only one copy on one filesystem on one memory card.

Granted, if your iPhone is offline for extended periods of time, you're also doing it wrong. But maybe you have an iPod Touch instead.

[0] For the last few years, the newest iPhone is the #1 most common camera model found in EXIF data on Flickr, http://petapixel.com/2015/01/09/popular-cameras-flickr-2014/. IIRC, Facebook saw similar results for photo uploads.