My aging computer will need a replacement. That will happen in a couple of months but, in the mean time, I would like to learn techniques related to improving performance and resilience of data.
I also have an empty 2 TB usb external HDD, which is like 3-4 times the size of my current laptop's HDD. So.... I would like to do two things:
use the external HDD to mirror the data from my current laptop (assume
/homeis in a separate partition which is what I would like to experiment with.... I could setup a partition on the external HDD to hold a copy before I start the experiment) and use it along the laptop's HDD to improve performance when both HDDs are connected. Should be able to recover from disconnecting the external HDD and be able to sync up when I reconnect the external HDD.when I get my new computer, be able to connect the external HDD and mirror the data into the new computer and be able to use it to improve performance while the external HDD is connected and be able to continue working if the external HDD is disconnected and sync up if I connect it again.
We could assume that once I start using the new computer, the external HDD won't be connected to the old computer, if that makes the scenario a little simpler to handle.
What would be possible ways to achieve it? If you need details about the current setup of the /home partition or about the drives involved, let me know, though I think that it could be laid down in the air.
As a tip, partitions in my laptop's HDD are setup using LVM (of which I know some things but want to take advamtage of this experiment to learn more).