Gentoo Archives: gentoo-amd64

From: Beso <givemesugarr@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] conversion sda to lvm2 questions
Date: Sat, 13 Oct 2007 09:46:34
Message-Id: d257c3560710130233v6ea13cb2iba5e94759f1d1188@mail.gmail.com
In Reply to: Re: [gentoo-amd64] conversion sda to lvm2 questions by Richard Freeman
1 2007/10/13, Richard Freeman <rich@××××××××××××××.net>:
2 >
3 > -----BEGIN PGP SIGNED MESSAGE-----
4 > Hash: SHA1
5 >
6 > Beso wrote:
7 > > so if i understood right i have to go with /boot and a stripped / on
8 > > normal disks, with / duplicated to avoid loss of startup.
9 >
10 > Uh - unless you don't have enough space on one drive I'd mirror root -
11 > not stripe it. Ditto for boot - if you are willing to do raid you can
12 > boot a mirrored /boot just fine.
13
14
15 can i use raid even if i got a single hd and a non raid board?! i think i
16 missed this thing. i knew that i could use raid on 2 separate disks of the
17 same ammount and only if i had a raid compatible board (with hardware or
18 software) but i didn't know that you could use it also on a single disk.
19
20
21 > > so the only think to do is find a good backup utility that is able to
22 > > make a copy of the entire system. if i copy the system by hand from a
23 > > live-cd would that work? if so, what should i avoid to copy?
24 > >
25 >
26 > You can just copy files from a live CD. Actually, I've copied them from
27 > a running system - granted in single-user mode for the more critical
28 > stuff. I just used cp -a without much issue, but there might be some
29 > advantages to using tar (it might handle stuff like mountpoints and hard
30 > links and device nodes and FIFOs and stuff like that better - I'm not
31 > sure about that offhand).
32 >
33 > If you copy and leave the original data intact it is pretty easy to
34 > recover. I just moved data partition by partition and remounted on my
35 > existing root as I went along - slowly transforming my existing disk
36 > arrangement into my future setup. I didn't have too much downtime
37 > except for the final cutover of the root filesystem.
38
39
40 i tried to copy the system some time ago and found out that there are files
41 in /dev and /tmp or /var/tmp that have an enormous dimension. i have left
42 them behind and then got an unusable system for some reason. the copy i had
43 was from a livecd with the cp -p to preserve ownership and permission.
44 for what i know from /dev i have only to get /dev/null and /dev/console and
45 let all others devices be created by udev. from /tmp instead i should not
46 copy anything and from /var/tmp i should copy only the ccache. are my
47 suppositions correct?
48
49 -----BEGIN PGP SIGNATURE-----
50 > Version: GnuPG v1.4.7 (GNU/Linux)
51 > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
52 >
53 > iD8DBQFHEAvtG4/rWKZmVWkRAmPBAJ4vkrTg27Y8yhARb2YqtIQhwcE1OQCffrNc
54 > oPg+UVL+KjHvGYtgVOZFeeM=
55 > =bN8k
56 > -----END PGP SIGNATURE-----
57 >
58 >
59
60
61 --
62 dott. ing. beso

Replies

Subject Author
Re: [gentoo-amd64] conversion sda to lvm2 questions Bernhard Auzinger <e0026053@×××××××××××××××××.at>
Re: [gentoo-amd64] conversion sda to lvm2 questions Richard Freeman <rich@××××××××××××××.net>