Open WMP opened 9 years ago
You'll need to work out what block(s) being written that aren't being picked up by lvmsync
. The easiest way to do that will be to capture a blktrace
output of completed writes, with a command something like this:
blktrace -d /dev/vg0/backup2 -a write -o - | blkparse -i - | grep ' C '
That'll give you a bunch of lines that describe offset and length pairs, in units of sectors. If you can compare that list against the list of blocks that lvmsync
copies, that'll be useful. Assuming that actually shows something that lvmsync
has missed, we get to dig into why it was missed, but let's take it one step at a time.
Hello, i again testing lvmsync. In original lvm i have file: /var/log/nginx/redmine_access.log with last from today: 12/Feb/2015. When i execute my script:
And this is output:
But when after this i mount in backup2 redmine2-disk: mount /dev/vg0/redmine2-disk /mnt/ in file /mnt/var/log/nginx/redmine_access.log i have last entry from 06/Feb/2015, so from dd clone.