I just experienced data loss, so I am interested in some form of data duplication. I was thinking of mdadm and companions to raid 1 through software. However, I just want a given, not too big directory to be covered. I have no real experience with this sort of tools, however I understand that both LVM and mdadm require real block devices which therefore must be cleared of any existing data. That's not what I want. Of the 16Gb of my usb flash drive I just want to duplicate a tiny fraction, say 10Mb, possibly on a smaller usb flash drive, say 1Gb. Something that saves me to do a cron rsync. I am stuck at this point. So:
- Is there some other tool which will work like raid 1 but using logical directories as a backend, rather than block devices (drives, partitions etc...)?
- Alternatively, I could employ mdadm if only I could make look directories as block devices to the OS, reminiscent of a loop device. However, I do not want to pack the target directory inside, say, an image file, because this is clumsy (it is annoying to resize it if it grows in size) and not portable (I happen to work on many different OSes, Microsuck too: when I plug the usb flash inside a Win Os, I want to be able to access the target directory).