I thought I read awhile back someone posted on how to move the virtual memory to another hard drive. Now, I could be wrong, so I did a search and couldn't find the thread. So my question is on my Mac Pro, I have three HDs. 350GB that has OS. 500GB that is free. 1TB that has data. Is there a way to move the paging file (VM) so that it is being used on the 500GB hd? Thanks!!!
Yes.
It's a bit involved. You need to KNOW what you are doing in the terminal as root to do this:
First you need to modify LaunchD and edit the com.apple.dynamic_pager.plist as follows:
========================com.apple.dynamic_pager=======
"<key>Label</key>
<string>com.apple.dynamic_pager</string>
<key>ProgramArguments</key>
<array>
<string>/sbin/dynamic_pager</string>
<string>-F</string>
<string>"THIS IS WHERE YOU WILL PUT YOUR NEW STRING FOR WHATEVER VOLUME YOU WANT THE VM ON ala /Volumes/SwapDaemon"</string>
</array>
<key>OnDemand</key>
<false/>"
I personally have a 132 Gig partition called SwapDaemon mounted and working properly.
When you run the command "ps -wax | grep dynamic_pager -m1"
You should get the following returned:
"38 ?? 0:00.01 /sbin/dynamic_pager -F "Whatever you named in the Dynamic Pager... mine is /Volumes/SwapDaemon"
Next...
Delete any swap files (rm -r) from /var/vm and set/repair the correct users/groups/permissions before rebooting to make sure everything is good.
Reboot. Now... look in activity monitor... it should show a VM size of greater than zero.
Now it should be working and you're good to go.
Hope that helps.