A computer implemented method, data processing system, and computer usable
program code are provided for migrating a persistent cache. A priming
request is received at an intermediary to prime the persistent cache of a
first partition. Data is moved from a disk to the persistent cache and,
responsive to the data being moved to the persistent cache, an unmounting
command is issued to unmount a first file system in the first partition
from the persistent cache. A mounting command is then issued to mount a
second file system in a second partition to the persistent cache, wherein
the second partition may now use the data contained in the persistent
cache.