I just had to reformat another SSD to 4k blocksize and once again I was unable to find a way to rescan/reprobe/reset the geom so that e.g. gpart will be able to put anything on it.
I tried
Is there any way to force the cam/geom layer to re-read a drive after it has been reformatted with a different sector size?
I tried
camcontrol rescan/reprobe/reset
and nvmecontrol reset
but gpart always fails with "gpart: Input/output error" when trying to create a partitioning scheme. After a reboot (and the drive being fully re-read) everything works as expected...Is there any way to force the cam/geom layer to re-read a drive after it has been reformatted with a different sector size?