It's a bit tricky to use dm-cache to cache a root disk because the
root file system has to be loaded during boot process. In theory, it
is possible to modify the initrd to load dm-cache at boot time, but it
is still on my todo list :)
- Ming
On Thu, Aug 11, 2011 at 1:19 PM, Oded Horovitz <oded.h...@gmail.com> wrote:
> Hi Ming,
> First, thank you for making dm-cache, I find it very useful as a component
> of a new project I'm working on.
> I have successfully build and used dm-cache on a 2.6.27.x kernel that I'm
> using for the project.
> What I could not figure out is how to do the following:
> I want to use a /dev/ram0 device as the cache for my /dev/sda1
> I was able to use /dev/ram0 to create cache for another device /dev/sdb and
> later mount that device
> as /home or other mount points. But I wonder if there is a way to simply
> configure a cache for the ROOT
> file system...
> if you have done it already and can send some simple guidelines i will
> highly appreciate.
> Or any link that will lead me to the right setup.
> Best regards,
> Oded Horovitz
Was wishing it was done before for dm-cache..
Thanks,
Oded H