[Solved] can’t claim free space to my container disk

tal mayron Asks: can’t claim free space to my container disk
I have a 500gb ssd and I have 1 container which its size is only 70gb. I can’t add the remaining 430gb of storage to this container using disk utility for some reason
enter image description here

enter image description here

enter image description here

I tried adding the remaining space using terminal but it doesn’t work:

diskutil list

    /dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         70.0 GB    disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +70.0 GB    disk1
                                 Physical Store disk0s2
   1:                APFS Volume MacOS - Data            29.9 GB    disk1s1
   2:                APFS Volume Preboot                 25.8 MB    disk1s2
   3:                APFS Volume Recovery                525.7 MB   disk1s3
   4:                APFS Volume VM                      1.1 GB     disk1s4
   5:                APFS Volume MacOS                   11.2 GB    disk1s5

I tried using diskutil apfs resizeContainer disk0s2 0

but this is what I got:

Started APFS operation
Error: -69743: The new size must be different than the existing size

also when I used

diskutil info disk0s2 | grep -e Offset -e Size

it showed I have 512 bytes of device block size but I’m not sure if that’s the problem and if so, how to fix it…

Partition Offset:          430107840512 Bytes (840054376 512-Byte-Device-Blocks)
   Disk Size:                 70.0 GB (70000001024 Bytes) (exactly 136718752 512-Byte-Units)
   Device Block Size:         512 Bytes

any help is much appreciated!

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.