You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

A tale of two SSD’s or a little learning is a dangerous thing.

I have two physical, internal SSD’s in a mid 2011 iMac which has been running !0.11 on one disk and 10.13 on the other as a test. (Option booting to change between disks)


I have decided that the 10.13 runs well and have now upgraded to 10.13 on both disks so that I can wipe one and keep it as a data disk. Out of curiosity I had  a look in Terminal to see the disposition of the disks and I am puzzled as to meaning of the two “synthesized” Dev’s, /dev/disk2 and /dev/disk3


My question is can I simply erase the disk which I am not booted from so as to run only one bootable disk with the OS and the other as a data disk?


Sorry if this is a dumb question but better safe than sorry …..


iMac 27″, macOS 10.13

Posted on Apr 21, 2021 8:45 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 21, 2021 9:49 AM

One should be able to Erase any drive you're not booted from.


Hopefully that is all logical and straightforward, at least until we come to APFS. If you use the same diskutil list command on a Mac with a single internal APFS disk with a single user volume on it, you’ll see that things have become more complex. Your single disk, /dev/disk0, now has a “synthesized” twin /dev/disk1...


On /dev/disk0, there is a basic partitioning, in addition to the GUID partition map:

  • disk0s1, the small EFI partition as before, although it is here over 300 MB;
  • disk0s2, an APFS Container named disk1, with the main storage space.

The ‘synthesized’ /dev/disk1 then contains the important partitions, after an APFS Container Scheme which functions a bit like a partition map:

  • disk1s1, the main storage volume, which is given its actual size, not its maximum capacity;
  • disk1s2, the small Preboot volume, just over 20 MB;
  • disk1s3, the ‘hidden’ Recovery partition of just over 500 MB;
  • disk1s4, a VM partition of 1 GB or more, which is mounted at /private/var/vm to provide virtual memory.

The Preboot volume is new with macOS systems booting from APFS disks, and contains the EFI boot file, which was previously provided in the System volume. If you mount and examine it, you’ll see that it contains one or more folders named using UUIDs. Each of these corresponds to an associated System volume within that APFS Container, so allowing a single APFS Container to hold multiple bootable systems, each with its own EFI boot file, etc.

When you’re running High Sierra or later, you have another command option which provides even more information about your disks and their volumes:

diskutil apfs list


https://eclecticlight.co/2018/08/01/disks-partitions-volumes-containers/

Similar questions

3 replies
Question marked as Top-ranking reply

Apr 21, 2021 9:49 AM in response to cptkeys

One should be able to Erase any drive you're not booted from.


Hopefully that is all logical and straightforward, at least until we come to APFS. If you use the same diskutil list command on a Mac with a single internal APFS disk with a single user volume on it, you’ll see that things have become more complex. Your single disk, /dev/disk0, now has a “synthesized” twin /dev/disk1...


On /dev/disk0, there is a basic partitioning, in addition to the GUID partition map:

  • disk0s1, the small EFI partition as before, although it is here over 300 MB;
  • disk0s2, an APFS Container named disk1, with the main storage space.

The ‘synthesized’ /dev/disk1 then contains the important partitions, after an APFS Container Scheme which functions a bit like a partition map:

  • disk1s1, the main storage volume, which is given its actual size, not its maximum capacity;
  • disk1s2, the small Preboot volume, just over 20 MB;
  • disk1s3, the ‘hidden’ Recovery partition of just over 500 MB;
  • disk1s4, a VM partition of 1 GB or more, which is mounted at /private/var/vm to provide virtual memory.

The Preboot volume is new with macOS systems booting from APFS disks, and contains the EFI boot file, which was previously provided in the System volume. If you mount and examine it, you’ll see that it contains one or more folders named using UUIDs. Each of these corresponds to an associated System volume within that APFS Container, so allowing a single APFS Container to hold multiple bootable systems, each with its own EFI boot file, etc.

When you’re running High Sierra or later, you have another command option which provides even more information about your disks and their volumes:

diskutil apfs list


https://eclecticlight.co/2018/08/01/disks-partitions-volumes-containers/

A tale of two SSD’s or a little learning is a dangerous thing.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.