Cuando intento cambiar el tamaño de mi contenedor APFS, aparece el siguiente error:
Error: -69531: There is not enough free space in the APFS Container for this
operation due to APFS limits or APFS tidemarks (perhaps caused by APFS Snapshot
usage by Time Machine)
Seguí esta guía:
Cómo cambiar el tamaño de su contenedor APFS en macOS High Sierra
¿Hay alguna forma de cambiar el tamaño de mi contenedor APFS sin hacer una copia de seguridad en Time Machine, borrar el disco y luego volver a crear las particiones?
Más detalles a continuación:
Aquí está el resultado de la diskutil apfs
utilidad cuando intento cambiar el tamaño:
$ sudo diskutil apfs resizeContainer disk0s2 750g jhfs+ Extra 250g
Started APFS operation
[ - 0%................................................... ]
Aligning shrink delta to 250,240,966,656 bytes and targeting a new physical
store size of 749,999,996,928 bytes
Determined the minimum size for the targeted physical store of this APFS
Container to be 997,029,183,488 bytes
Error: -69531: There is not enough free space in the APFS Container for this
operation due to APFS limits or APFS tidemarks (perhaps caused by APFS Snapshot
usage by Time Machine)
Aquí está mi diskutil
configuración:
$ diskutil list
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 1.0 TB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_APFS Container disk1 1.0 TB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +1.0 TB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 380.3 GB disk1s1
2: APFS Volume Preboot 21.8 MB disk1s2
3: APFS Volume Recovery 517.8 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
Aquí está el total de esos volúmenes (calculados manualmente por mí) :
#: TYPE NAME SIZE IDENTIFIER
/dev/disk1 (synthesized):
TOTAL 922.0 GB
Y cuando voy a la Utilidad de disco, presiono el botón "Partición" en la barra de herramientas e ingreso manualmente un tamaño para la partición de mi disco principal, no me permite configurarlo por debajo de 997 GB, dejando solo 3 GB para las nuevas particiones:
Esta es la parte clave del mensaje de error:
(perhaps caused by APFS Snapshot usage by Time Machine)
Debe eliminar las instantáneas locales. Primero, enuméralos:
$ tmutil listlocalsnapshots /
Es posible que desee / necesite eliminar las instantáneas locales una por una para tomar la fecha de la lista anterior:
$ tmutil deletelocalsnapshots 2018-07-14-211120
También puede reducirlos en función de la cantidad de espacio que desea recuperar solicitando una gran cantidad de espacio de vuelta:
$ tmutil thinlocalsnapshots / 9999999999999
Luego, puede cambiar el tamaño de su partición APFS:
$ sudo diskutil apfs resizeContainer disk0s2 750g
Esto debería desbloquear la capacidad de cambiar el tamaño de su disco:
tmutil listlocalsnapshots / \
| cut -d. -f4 \
| xargs -n1 tmutil deletelocalsnapshots
Hace lo mismo que la respuesta de Neil, excepto que copia y pega las marcas de tiempo por usted.
tmutil thinlocalsnapshots / 9999999999999
no me borró nada.
bmike
{date&time}
?