My iMac - mid-2017, 16 GB RAM - was running slowly today, and I checked in iStat Menus to see if there was an app hogging RAM, and I noticed that there were no swap files. The VM partition is mounted, but instead of swap files there from /private/var/vm, there's just a file called kernelcore which is just 1 MB.
+-> Volume disk4s4 79E6E0E7-4930-4C19-B3C4-8737778C8A4A
| ---------------------------------------------------
| APFS Volume Disk (Role): disk4s4 (VM)
| Name: VM (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 1074810880 B (1.1 GB)
| FileVault: No
$ ls -l /private/var/vm/
total 2048
-rw------- 1 root wheel 1048576 Jan 12 20:29 kernelcore
I rebooted in safe mode, nothing changed. I reinstalled Catalina over my current installation; nothing changed.
Interestingly, iStat Menus shows me that the change occurred around 2:09 pm last Thursday. At the time, I wasn't doing much, waiting for a 3pm appointment, and might not have even been using my Mac. I didn't install anything that day, and I don't recall updating anything.
Unfortunately, Time Machine doesn't back up log files; if it did, I'd be able to see what happened at that time.
Does anyone know what could have caused this, and what I would need to do to fix it, short of a clean install and migration?
Thanks in advance.
+-> Volume disk4s4 79E6E0E7-4930-4C19-B3C4-8737778C8A4A
| ---------------------------------------------------
| APFS Volume Disk (Role): disk4s4 (VM)
| Name: VM (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 1074810880 B (1.1 GB)
| FileVault: No
$ ls -l /private/var/vm/
total 2048
-rw------- 1 root wheel 1048576 Jan 12 20:29 kernelcore
I rebooted in safe mode, nothing changed. I reinstalled Catalina over my current installation; nothing changed.
Interestingly, iStat Menus shows me that the change occurred around 2:09 pm last Thursday. At the time, I wasn't doing much, waiting for a 3pm appointment, and might not have even been using my Mac. I didn't install anything that day, and I don't recall updating anything.
Unfortunately, Time Machine doesn't back up log files; if it did, I'd be able to see what happened at that time.
Does anyone know what could have caused this, and what I would need to do to fix it, short of a clean install and migration?
Thanks in advance.