Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HDDs Auto Replicating

Status
Not open for further replies.

zeland

IS-IT--Management
Aug 19, 2002
569
MY
I have a server with 2 similar HDDs. I usually use dd to clone 1 HDD to another every night. I had just recently thought of using rsync to just copy the difference between the 2 drives to quicken my backups and to avoid unmouting the source drive. Due to my recent use of dd, I had mistakenly run "rsync -av --no-whole-files --delete --force /dev/sdb1 /dev/sdc1" instead of using actual folder names. I now have a strange case where the 2 HDDs seem to act like mirror drives. When deleting or adding a file/folder to either drive, the other will reflect this change instantly without requiring me to run rsync.


--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top