Gentoo Archives: gentoo-user

From: Dirk Heinrichs <dirk.heinrichs.ext@×××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] migrating to LVM
Date: Wed, 17 Oct 2007 06:14:20
Message-Id: 200710170757.02107.dirk.heinrichs.ext@nsn.com
In Reply to: [gentoo-user] migrating to LVM by Thufir
1 Am Mittwoch, 17. Oktober 2007 schrieb ext Thufir:
2
3 > I have a working gentoo install which I don't want to muck with too much,
4 > except to change over to LVM.
5
6 OK.
7
8 > I understand that I can use dd so that
9
10 No, you can't. Use tar, cpio or rsync.
11
12 > everything will be in a LVM, but I'm unclear on the outline. The LVM is
13 > created,
14
15 How do you create an LVM (Logical Volume Manager)? Or do you mean LV
16 (Logical Volume)?
17
18 > the root partition is copied over to the LVM, then grub, fstab
19 > and initrd and edited to reflect the changes?
20 >
21 > Disk /dev/hda: 80.0 GB, 80026361856 bytes
22 > 255 heads, 63 sectors/track, 9729 cylinders
23 > Units = cylinders of 16065 * 512 = 8225280 bytes
24 >
25 > Device Boot Start End Blocks Id System
26 > /dev/hda1 1 1912 15358108+ 83 Linux
27 > /dev/hda2 1913 1925 104422+ 83 Linux
28 > /dev/hda3 1926 9729 62685630 8e Linux LVM
29
30 I guess 1 and 2 are / and /boot?
31
32 > Disk /dev/hdb: 30.7 GB, 30750031872 bytes
33 > 16 heads, 63 sectors/track, 59582 cylinders
34 > Units = cylinders of 1008 * 512 = 516096 bytes
35 >
36 > Device Boot Start End Blocks Id System
37 > /dev/hdb1 1 203 102280+ 83 Linux
38 > /dev/hdb2 204 2109 960624 82 Linux swap /
39 > Solaris
40 > /dev/hdb3 2110 59579 28964880 83 Linux
41
42 Why 3 partitions?
43
44 I'm not sure I get what your problem is. If you could tell more about what
45 you have (i.e. how are the partitions on those two drives used currently)
46 and what you want, it would be much easier to help.
47
48 Bye...
49
50 Dirk
51 --
52 Dirk Heinrichs | Tel: +49 (0)162 234 3408
53 Configuration Manager | Fax: +49 (0)211 47068 111
54 Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com
55 Wanheimerstraße 68 | Web: http://www.capgemini.com
56 D-40468 Düsseldorf | ICQ#: 110037733
57 GPG Public Key C2E467BB | Keyserver: www.keyserver.net

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] migrating to LVM Albert Hopkins <marduk@×××××××××××.org>