Apple's Policy on Apple File System (APFS) for High Sierra

Discussion in 'High Sierra Desktop Support' started by Stork, Aug 28, 2017.

  1. aol

    aol

    Joined:
    Apr 14, 2011
    Messages:
    369
    Mobo:
    GA-Z170X-UD3 rev 1.0
    CPU:
    Intel i7 6700k
    Graphics:
    GA 1060 6GB WF
    Mac:
    MacBook Pro, Mac Pro
    Mobile Phone:
    iOS
    Sep 28, 2017 at 8:58 PM #101
    aol

    aol

    Joined:
    Apr 14, 2011
    Messages:
    369
    Mobo:
    GA-Z170X-UD3 rev 1.0
    CPU:
    Intel i7 6700k
    Graphics:
    GA 1060 6GB WF
    Mac:
    MacBook Pro, Mac Pro
    Mobile Phone:
    iOS
    Have a look at the ars review which may answer your question: https://arstechnica.com/gadgets/2017/09/macos-10-13-high-sierra-the-ars-technica-review/6/#h1

    My takeaway from it was, don't partition an apfs drive, create volumes instead. Volumes share space, partitioning does not. Now, if you wanted a single drive to have a macOS partition and a windows or linux partition, that would be possibly a reason to partition. I don't even know if that's supported though, if windows or linux could run on an apfs formatted drive.

    I don't understand if an apfs container === partition. apfs containers contain volumes. Maybe a partition (you would typically have a single partition on an apfs disk, ignoring hidden partitions like efi) could have >1 container? And each container >= 1 volume?
     
    RogueFive likes this.
  2. vulgo

    vulgo

    Joined:
    Jul 24, 2015
    Messages:
    1,274
    Mobo:
    MSI H81i
    CPU:
    i5-4570
    Graphics:
    GTX 970
    Mac:
    iMac
    Mobile Phone:
    Android
    Sep 28, 2017 at 9:19 PM #102
    vulgo

    vulgo

    Joined:
    Jul 24, 2015
    Messages:
    1,274
    Mobo:
    MSI H81i
    CPU:
    i5-4570
    Graphics:
    GTX 970
    Mac:
    iMac
    Mobile Phone:
    Android
    An APFS container is just a GPT partition. The actual disk space is allocated to the associated volumes as they require it. So by design it works best when you give it 'the whole disk' which means one large GPT partition (+ Apple's mandatory EFI partition on every disk). But you can have other GPT partitions if you want, any of which can be APFS containers each managing one or more volumes.
     
    aol and RogueFive like this.
  3. RogueFive

    RogueFive

    Joined:
    Mar 24, 2011
    Messages:
    23
    Mobo:
    GA-Z77X-UP5-TH
    CPU:
    i7-3770
    Graphics:
    2x SAPPHIRE 100352-2L Radeon HD 7950 3GB 384-bit GDDR5
    Mac:
    MacBook Air, MacBook Pro
    Mobile Phone:
    iOS
    Sep 29, 2017 at 1:29 AM #103
    RogueFive

    RogueFive

    Joined:
    Mar 24, 2011
    Messages:
    23
    Mobo:
    GA-Z77X-UP5-TH
    CPU:
    i7-3770
    Graphics:
    2x SAPPHIRE 100352-2L Radeon HD 7950 3GB 384-bit GDDR5
    Mac:
    MacBook Air, MacBook Pro
    Mobile Phone:
    iOS
    Thank you @aol @vulgo, your comments & links have been enlightening.
     
  4. Stork

    Stork Admin Staff Member

    Joined:
    Sep 21, 2010
    Messages:
    10,718
    Mobo:
    ASUS MAXIMUS VIII GENE Z170
    CPU:
    i5-6600K
    Graphics:
    Gigabyte GTX 950 2GB OC WindForce 2X
    Mac:
    MacBook Pro, Mac mini, Mac Pro
    Classic Mac:
    Power Mac, PowerBook
    Mobile Phone:
    iOS
    Sep 29, 2017 at 7:38 PM #104
    Stork

    Stork Admin Staff Member

    Joined:
    Sep 21, 2010
    Messages:
    10,718
    Mobo:
    ASUS MAXIMUS VIII GENE Z170
    CPU:
    i5-6600K
    Graphics:
    Gigabyte GTX 950 2GB OC WindForce 2X
    Mac:
    MacBook Pro, Mac mini, Mac Pro
    Classic Mac:
    Power Mac, PowerBook
    Mobile Phone:
    iOS
    Update OP with finding that TRIM is on by default using APFS and a 3rd party (non Apple) SSD. In my case, on a Samsung 950 Pro M.2 NVMe SSD.
     
  5. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    160,457
    Mobo:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Sep 29, 2017 at 7:44 PM #105
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    160,457
    Mobo:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    It is expected and the same as 10.12/10.11.
    NVMe always has TRIM enabled.

    SATA is a different story.
     
    Stork likes this.
  6. RJM_Peters

    RJM_Peters

    Joined:
    Jun 4, 2013
    Messages:
    4
    Mobo:
    Acer Aspire E1-571-6854
    CPU:
    i5-3230M
    Graphics:
    HD4000
    Mac:
    MacBook Pro
    Mobile Phone:
    Android
    Oct 4, 2017 at 1:47 PM #106
    RJM_Peters

    RJM_Peters

    Joined:
    Jun 4, 2013
    Messages:
    4
    Mobo:
    Acer Aspire E1-571-6854
    CPU:
    i5-3230M
    Graphics:
    HD4000
    Mac:
    MacBook Pro
    Mobile Phone:
    Android
    Thanks for your observations.
     
  7. RogueFive

    RogueFive

    Joined:
    Mar 24, 2011
    Messages:
    23
    Mobo:
    GA-Z77X-UP5-TH
    CPU:
    i7-3770
    Graphics:
    2x SAPPHIRE 100352-2L Radeon HD 7950 3GB 384-bit GDDR5
    Mac:
    MacBook Air, MacBook Pro
    Mobile Phone:
    iOS
    Oct 5, 2017 at 3:00 AM #107
    RogueFive

    RogueFive

    Joined:
    Mar 24, 2011
    Messages:
    23
    Mobo:
    GA-Z77X-UP5-TH
    CPU:
    i7-3770
    Graphics:
    2x SAPPHIRE 100352-2L Radeon HD 7950 3GB 384-bit GDDR5
    Mac:
    MacBook Air, MacBook Pro
    Mobile Phone:
    iOS
    Add-on: Login in with a different user gives me the option to convert my user partition to APFS. No idea if that would create a separate 2nd container or or do the right thing and stick it in the existing one. Wasn't willing to risk it, so I back upped the user, deleted the HFS partition and restored into an APFS volume under the existing container. Now have the advantage of flexible space distribution between the 2 APFSs.
     
  8. Stork

    Stork Admin Staff Member

    Joined:
    Sep 21, 2010
    Messages:
    10,718
    Mobo:
    ASUS MAXIMUS VIII GENE Z170
    CPU:
    i5-6600K
    Graphics:
    Gigabyte GTX 950 2GB OC WindForce 2X
    Mac:
    MacBook Pro, Mac mini, Mac Pro
    Classic Mac:
    Power Mac, PowerBook
    Mobile Phone:
    iOS
    Oct 21, 2017 at 3:47 PM #108
    Stork

    Stork Admin Staff Member

    Joined:
    Sep 21, 2010
    Messages:
    10,718
    Mobo:
    ASUS MAXIMUS VIII GENE Z170
    CPU:
    i5-6600K
    Graphics:
    Gigabyte GTX 950 2GB OC WindForce 2X
    Mac:
    MacBook Pro, Mac mini, Mac Pro
    Classic Mac:
    Power Mac, PowerBook
    Mobile Phone:
    iOS
    aol found another excellent article on APFS is at ArsTechnica. Scroll down to the bottom of the page in the last paragraph, Compatibility with other OSes, there is another caution which IMO is a biggie! (My bold for emphasis.)
     

Share This Page