AppleRAID JBOD APFS resize error when trying to add or remove a disk

Published by malhal on

When I attempt to remove a disk from the AppleRAID JBOD APFS I get the error:

Can’t remove the last partition because the file system isn’t resizable
Invalid request. : (-69886)

Operation failed…

Also there is a similar error when trying to add a disk:

Unmounting disk
Repartitioning disk4 so it can be in a RAID set
Unmounting disk
Creating the partition map
Adding disk4s2 to the RAID Set
Can’t resize the file system on the RAID set 95FA9384-31E9-4916-8FFD-13B3AA0F551F
Invalid request. : (-69886)

Operation failed…

No size options were set for the volume in the container. And I experimented with setting the reserve and quota but it had no effect on the problem.

If anyone knows a workaround please contact me! Thanks

Full example:

admin@Mac-mini ~ % diskutil ar list                     
AppleRAID sets (1 found)
===============================================================================
Name:                 Untitled
Unique ID:            662A6589-023C-4C4D-9027-748220FC698E
Type:                 Concat
Status:               Online
Size:                 14.3 TB (14255892168704 Bytes)
Rebuild:              manual
Device Node:          disk5
-------------------------------------------------------------------------------
#  DevNode   UUID                                  Status     Size
-------------------------------------------------------------------------------
0  disk6s2   1938D3E5-2769-47EF-A5ED-82BBEFD5CF93  Online     14000175644672
1  disk4s2   002FC1CA-E10A-4B92-B2C3-BFCCB5605F2F  Online     255716524032
===============================================================================
admin@Mac-mini ~ % sudo diskutil ar remove disk4s2 disk5
Started RAID operation on disk5
Can't remove the last partition because the file system isn't resizable
Error: -69886: Invalid request

Categories: Mac