1 |
>> 1- if the root partition is [part of] what you're copying, you |
2 |
>> *must* mount it read-only (mount -o ro /dev/sdc /work) |
3 |
> |
4 |
> Not from my experience; I simply mount, exec, and go - Works fine |
5 |
|
6 |
Let's say you are 50% done copying a partition, when something writes to |
7 |
it. If the write only affects the first half, which has alredy been |
8 |
copied, the target will consistently reflect the "old" state; if on the |
9 |
other hand the write only affects the second half, which has not been |
10 |
copied yet, the target will consistently reflect the "new" state. |
11 |
The problem is that with any write affecting both halves your copy will |
12 |
contain a mix of the two states and thus will be inconsistent. |
13 |
|
14 |
I am not saying that copying a rw-mounted partition will always fail: |
15 |
you might be able to get away with it if nothing is actively writing to |
16 |
the source partition. In any case you will not see any errors during the |
17 |
copy. |
18 |
|
19 |
andrea |