So, first the open question: What's the best way to do this?
My idea was to create a LVM RAID with a partition from the HDD and the entire SSD for / and set write-mostly on the HDD. Would this give me the benefit of the faster bootup time of the SSD, or would the write-mostly directive take effect too late in the bootup process to have this effect? Does this idea sound sane?
Now, if this is what I should be doing, what are the practical steps I need to take?
I now have
Code: Select all
/dev/sdb1 118G 10G 102G 9% /
/proc/partitions says that
Code: Select all
8 0 29313144 sda
8 1 29312000 sda1
Or, would be better to create a new partition (since I have lots of free space on the HDD), and create a LVM RAID over that new partition and the sda1? It is unproblematic to do that on a running system? Could I then just copy the data from sdb1 onto the new LVM RAID partition? In that case, cp or dd? It is not quite clear to me how I should be defining which device it is suppose to boot from, can I do that in /etc/default/grub? And then, I should install grub on the SSD's MBR, and tell BIOS to boot from the SSD?
So, I'm open to both completely different ideas on how to do this, and to corrections in the details, if my idea is generally OK.