1 |
+++ David [gentoo-user] [Wed, May 07, 2008 at 12:18:58AM +0200]: |
2 |
> On Tuesday 06 May 2008 23:54:08 Andrew MacKenzie wrote: |
3 |
> > If you're using 'dd' does that mean you're copying the entire filesystem |
4 |
> > and not just the files? I believe that can run you into some issues if the |
5 |
> > FS isn't read-only... |
6 |
> What kind of issues? The idea is to copy the whole filesystem to another disk |
7 |
> and keep it sync. And in case of "crisis" use dd from the backup to the |
8 |
> original disk. |
9 |
There is the possibility that something changes on disk and you've already |
10 |
copied the 'references' to it in the journal or index. Thus making your |
11 |
image inconsistent or corrupted. You also have files cached in memory not |
12 |
yet written to disk, etc. It's also very inefficient copying all the empty |
13 |
parts of your file system as well. |
14 |
|
15 |
At the least you'll want to mount your file system read-only if you're |
16 |
going to use dd to make a copy. |
17 |
|
18 |
|
19 |
-- |
20 |
// Andrew MacKenzie | http://www.edespot.com |
21 |
// GPG public key: http://www.edespot.com/~amackenz/public.key |
22 |
// You have acquired a scroll entitled 'irk gleknow mizk'(n).--More-- |
23 |
// |
24 |
// This is an IBM Manual scroll.--More-- |
25 |
// |
26 |
// You are permanently confused. |
27 |
// -- Dave Decot |