geplaatst door: Robert
https://www.macfreak.nl/modules/news/images/Sierra-icoon.jpg
Apple werkt aan een nieuw bestandssysteem (Upd.)
Apple gebruikt al sinds 1985 het eigen bestandssysteem HFS (Hierarchical File System), dat stamt dus nog uit de tijd van de floppy disk, en in 1998 deed het een stap verder met HFS Plus. Die opvolger is dus inmiddels bijna twintig jaar oud, terwijl er op dat gebied natuurlijk ook veel ontwikkelingen zijn geweest, die Apple grotendeels aan zich voorbij heeft laten gaan.

Er werd trouwens wel een uitstap gemaakt naar het bestandssysteem van Sun (ZFS), en bij het uitkomen van Snow Leopard werd gezegd dat dit voortaan door Apple gebruikt zou worden. Maar Sun en Apple kwamen er niet uit wat betreft de licentievoorwaarden, en dat project stierf een zachte dood.

De opvolger

Gelukkig is er bij Apple wel verder nagedacht over een nieuw bestandssysteem, en met de aankondiging van macOS Sierra laat Apple aan ontwikkelaars op deze pagina ook weten dat het werkt aan een compleet nieuw bestandssysteem: Apple File System of AFS.

Wat betekent dit voor ons

Voor gewone gebruikers zal een nieuw bestandssysteem niet iets zijn waar je wat van merkt, behalve als je wat met data moet doen. Bijvoorbeeld het veranderen van de grote van een partitie van een harde schijf op je Mac, of de veiligheid van je data als er wat mis gaat, zoals een crashend programma of een disk. Juist bij al die onzichtbare dingen zal een modern bestandssysteem ervoor zorgen dat dit makkelijker is, of dat je data beter beschermd is.

Versleuteling

Voor iedereen die Apple de afgelopen jaren gevolgd heeft zal het geen verrassing zijn dat versleuteling ook een belangrijke plaats inneemt bij AFS, het is de bedoeling dat dit bestandssysteem uiteindelijk voor al Apple's devices gebruikt zal gaan worden.

Wanneer

Dat Apple het met Sierra naar buiten brengt wil trouwens niet zeggen dat AFS al voor deze versie van macOS gebruikt zal gaan worden. Waarschijnlijk zullen we allemaal AFS kunnen gaan gebruiken in de opvolger van Sierra, en duurt het dus nog een kleine anderhalf jaar voordat het zover is.

Hieronder alle informatie die Apple op dit moment geeft over het Apple File System:
Citaat


General Characteristics

Apple File System is a Next-Generation File System for Apple Products

HFS+ and it’s predecessor HFS are more than 30 years old. These file systems were developed in an era of floppy disks and spinning hard drives, where file sizes were calculated in kilobytes or megabytes. Today, solid-state drives store millions of files, accounting for gigabytes or terabytes of data. There is now also a greater importance placed on keeping sensitive information secure and safe from prying eyes.

A new file system is needed to meet the current needs of Apple products, and support new technologies for decades to come.

The following sections describe the general characteristics of Apple File System, as they relate to functionality in the HFS+ file system:

Containers and Volumes

A container is the base storage unit for APFS. It generally maps 1:1 to GUID Partition Table (GPT) entries, and manages its own space allocations and crash protection scheme. Each container exports one or more volumes, or file systems, each of which have their own namespaces, or sets of files and directories.

Note: Apple File System does not directly implement software RAID, however APFS can be combined with an Apple RAID volume to support Striping (RAID 0), Mirroring (RAID 1) and Concatenation (JBOD). APFS can also be used with direct-attached hardware RAID solutions.

64-bit Inode Numbers

APFS supports 64-bit inode numbers, which improves upon the 32-bit file IDs supported by HFS+. As a 64-bit file system, APFS supports over 9 quintillion files on a single volume.

Nanosecond Timestamp Granularity

APFS supports 1 nanosecond timestamp granularity, which improves upon the 1 second timestamp granularity of HFS+.

Extensible Block Allocator

APFS has an expansive block allocator, allowing for arbitrarily large storage on a single device. When initializing very large disks, the block allocator may lazily initialize its data structures only as necessary to improve performance. HFS+, by comparison, is limited by its allocation block size and initializes the entire storage of a file system on creation.

Sparse Files

APFS supports sparse files, whereas HFS+ does not.

Crash Protection

APFS uses a novel copy-on-write metadata scheme to ensure that updates to the file system are crash-safe. This approach also reduces the additional overhead of journaling that occurs with HFS+.

Extended Attributes

APFS has built-in support for extended file attributes. HFS+ retrofitted this functionality with the Attributes file, a B-Tree that allows the implementation of named forks.

TRIM Operations

Like HFS+, APFS supports TRIM operations. On APFS, TRIM operations are issued asynchronously from when files are deleted or free space is reclaimed, which ensures that these operations are only performed once metadata changes are persisted to stable storage.

Encryption

Security and privacy are fundamental in the design of Apple File System.

On OS X, Full Disk Encryption has been available since OS X 10.7 Lion. On iOS, a version of data protection that encrypts each file individually with its own key has been available since iOS 4, as described in iOS Security Guide. APFS combines both of these features into a unified model that encrypts file system metadata.

APFS supports encryption natively. You can choose one of the following encryption models for each volume in a container: no encryption, single-key encryption, or multi-key encryption with per-file keys for file data and a separate key for sensitive metadata. APFS encryption uses AES-XTS or AES-CBC, depending on hardware. Multi-key encryption ensures the integrity of user data even when its physical security is compromised.

Compatibility

  • Existing third party utilities will need to be updated to support Apple File System. Consult the utility's documentation, or contact the vendor for compatibility information.
  • APFS formatted volumes are not recognized on OS X 10.11 Yosemite and earlier.
  • You can share APFS formatted volumes using the SMB network file sharing protocol. The AFP protocol is deprecated and cannot be used to share APFS formatted volumes.





met dank aan ons forumlid 'Pieterr', die als eerste dit nieuws op Macfreak meldde



Update: Als je meer wilt weten over APFS dan is dit artikel van Adam Leventhal beslist de moeite van het lezen waard. Zo'n beetje alles wat de moeite waard is om te weten over dit nieuwe bestandssysteem van Apple komt voorbij. Maar het artikel is vrij makkelijk te lezen, zeker gezien het onderwerp.




Klik hier voor informatie over het onder de aandacht brengen van producten of diensten op MacFreak.
Apple werkt aan een nieuw bestandssysteem (Upd.)
14 juni 2016 - 16:45    reactie #1
geplaatst door: jef
Dat het niet werkt met AFP is geen goede zaak.
SMB werkt nog steeds niet zoals het moet.
Apple werkt aan een nieuw bestandssysteem (Upd.)
14 juni 2016 - 17:43    reactie #2
geplaatst door: wickedme
Eindelijk! Ben erg benieuwd hoe dat allemaal gaat draaien en of het dezelfde mogelijkheden gaat bieden als ZFS en soortgelijke systemen.
SMB werkt inderdaad vaak nog niet goed, daar heeft Apple ook nog wel het een en ander te doen.
Apple werkt aan een nieuw bestandssysteem (Upd.)
22 juni 2016 - 15:26    reactie #3
geplaatst door: de Redactie
Er is een update bij dit nieuwsbericht geplaatst.
Apple werkt aan een nieuw bestandssysteem (Upd.)
26 juni 2016 - 18:42    reactie #4
geplaatst door: Pieterr
http://arstechnica.com/apple/2016/06/a-zfs-developers-analysis-of-the-good-and-bad-in-apples-new-apfs-file-system/

A ZFS developer’s analysis of the good and bad in Apple’s new APFS file system. Encryption options are great, but Apple's attitude on checksums is still funky.
"One experiment is worth a thousand expert opinions."
Apple werkt aan een nieuw bestandssysteem (Upd.)
26 juni 2016 - 20:29    reactie #5
geplaatst door: MacFrankie
Nu maar hopen dat Apple alle kritieken meeneemt in het volwassen maken van APFS! Eigenlijk is het nog steeds jammer dat Sun ZFS niet volwassen heeft weten te maken.
Op mijn werk heb ik al Windows, thuis wil ik geen systeembeheerder meer zijn!
Apple werkt aan een nieuw bestandssysteem (Upd.)
27 juni 2016 - 22:18    reactie #6
geplaatst door: jaco123
Sun heeft ZFS in mijn perceptie behoorlijk volwassen gemaakt. Draait superstabiel in allerlei (ook hele grote) productieomgevingen.

Jammer dat APFS zoals het er nu naar uitziet niet zo ver gaat als ZFS op het gebied van data-integriteit. Dat is voor mij absoluut één van de belangrijkste eigenschappen van ZFS.

"One experiment is worth a thousand expert opinions."
Apple werkt aan een nieuw bestandssysteem (Upd.)
28 juni 2016 - 00:15    reactie #8
geplaatst door: HEXDIY
Yep. En Apple is ooit bijna op ZFS overgeschakeld, maar het heeft niet mogen zijn...
If it ain't broke, don't fix it! Recycle the planet, we're gonna need it! Think different, think twice, Apple!
M1 is a success! Please do not forget Mac OS.
Apple werkt aan een nieuw bestandssysteem (Upd.)
28 juni 2016 - 09:04    reactie #9
geplaatst door: GeorgeM
Apple werkt hier op het moment aan, maar het is nog niet klaar. Ik vind het dan ook nogal vreemd dat er al conclusies getrokken worden over APFS.

Wat mij betreft slaat Gruber de spijker op zijn kop:
Citaat


I hope to see data integrity features added to APFS later, but that's not the top priority for APFS. The top priorities for APFS are encryption/privacy, and energy efficiency. Redundancy and checksums make perfect sense for a machine plugged into the wall; they create a trade-off for devices that run on batteries. I think we'll see these features eventually in APFS, but I'm not surprised they didn’t make the first cut.