storage – The best way to randomize UUIDs in an APFS container?

[ad_1]

I made a replica of an APFS container utilizing dd. That was a while in the past and by now the containers (on separate bodily units) every have completely different information on them, which I might want to protect with out having to shuffle them. (It is solely change into a problem just lately as a result of I wish to run a machine with each disks linked concurrently.)

I’ve come throughout the system-provided apfs.util, whose assist output signifies that it is able to doing what I need, with the -s possibility, however I have been unable to get it to work. The instrument at all times instantly exits with no error/commonplace output, and exit code 253.

What I’ve tried:

  • Use synthesized disk as identifier .../apfs.util -s /dev/disk3
  • Use partition on the bodily disk as identifier .../apfs.util -s /dev/disk2s2
  • Every of the above, with all volumes of the container unmounted (diskutil umountDisk disk3)
  • Every of the above, after diskutil ejecting the synthesized disk (which did not truly take away the synthesized disk, or its volumes, from underneath /dev or output of diskutil ap listing)
  • Use a quantity on the affected container, opposite to directions .../apfs.util -s /dev/disk3s3
  • All the above, inside a full root shell as an alternative of appended to sudo

Any concept methods to run the command, or determine what the problem is likely to be?

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *