[SLE] mirroring /home partitions
I have set things up where /home is on it's own 1.8G partition on one 10G HD and would like to mirror it to another drive that has about 1.8G left on it, the size of the drives ARE different. Can anyone point me to some documentation on how to do this? Sam -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Sam Carleton wrote:
I have set things up where /home is on it's own 1.8G partition on one 10G HD and would like to mirror it to another drive that has about 1.8G left on it, the size of the drives ARE different. Can anyone point me to some documentation on how to do this?
It depends on what you mean by mirror, if you mean have 2 copies that are always the same then I doubt that you can, AFAIK mirrors (or raid-1) must be composed of partitions. If you mean a copy that mirrors the state at some earlier time then I suggest that you look at rsync or rdist. /Michael -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
You can create a RAID device with the two drives, but you must make partitions of the same size to do so (as mentioned previously). You'll either have to backup/partition/restore to do this or try Parition Magic 4 which can resize ext2 partitions. There is also an ext2resize package that can dynamically resize ext2 partitions (search freshmeat.net for ext2resize), but make sure to be careful with ext2resize and PM. Good article to get you going: http://www.linuxgazette.com/issue45/nielsen.html Marco
It depends on what you mean by mirror, if you mean have 2 copies that are always the same then I doubt that you can, AFAIK mirrors (or raid-1) must be composed of partitions. If you mean a copy that mirrors the state at some earlier time then I suggest that you look at rsync or rdist.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
Anonymous User
-
marco@nbnet.nb.ca
-
Michael.Salmon@uab.ericsson.se