Re: [gentoo-user] migrating to LVM
Am Mittwoch, 17. Oktober 2007 schrieb ext Thufir: I have a working gentoo install which I don't want to muck with too much, except to change over to LVM. OK. I understand that I can use dd so that No, you can't. Use tar, cpio or rsync. everything will be in a LVM, but I'm unclear on the outline. The LVM is created, How do you create an LVM (Logical Volume Manager)? Or do you mean LV (Logical Volume)? the root partition is copied over to the LVM, then grub, fstab and initrd and edited to reflect the changes? Disk /dev/hda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 1191215358108+ 83 Linux /dev/hda219131925 104422+ 83 Linux /dev/hda31926972962685630 8e Linux LVM I guess 1 and 2 are / and /boot? Disk /dev/hdb: 30.7 GB, 30750031872 bytes 16 heads, 63 sectors/track, 59582 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System /dev/hdb1 1 203 102280+ 83 Linux /dev/hdb2 2042109 960624 82 Linux swap / Solaris /dev/hdb32110 5957928964880 83 Linux Why 3 partitions? I'm not sure I get what your problem is. If you could tell more about what you have (i.e. how are the partitions on those two drives used currently) and what you want, it would be much easier to help. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] migrating to LVM
On Wed, 2007-10-17 at 07:56 +0200, Dirk Heinrichs wrote: I'm not sure I get what your problem is. If you could tell more about what you have (i.e. how are the partitions on those two drives used currently) and what you want, it would be much easier to help. Just wanted to chime in with the same thoughts. It's not immediately apparent what your requirements are (i.e what problem are you trying to solve). So any answer you get might not really fit your needs and in the end just cause you a problems. And then you'll hate us and say we all suck (j/k I hope :-) -a -- [EMAIL PROTECTED] mailing list
[gentoo-user] migrating to LVM
I have a working gentoo install which I don't want to muck with too much, except to change over to LVM. I understand that I can use dd so that everything will be in a LVM, but I'm unclear on the outline. The LVM is created, the root partition is copied over to the LVM, then grub, fstab and initrd and edited to reflect the changes? arrakis ~ # arrakis ~ # fdisk /dev/hda The number of cylinders for this disk is set to 9729. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): p Disk /dev/hda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 1191215358108+ 83 Linux /dev/hda219131925 104422+ 83 Linux /dev/hda31926972962685630 8e Linux LVM Command (m for help): q arrakis ~ # arrakis ~ # fdisk /dev/hdb The number of cylinders for this disk is set to 59582. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): p Disk /dev/hdb: 30.7 GB, 30750031872 bytes 16 heads, 63 sectors/track, 59582 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System /dev/hdb1 1 203 102280+ 83 Linux /dev/hdb2 2042109 960624 82 Linux swap / Solaris /dev/hdb32110 5957928964880 83 Linux Command (m for help): q arrakis ~ # arrakis ~ # date Tue Oct 16 22:10:22 PDT 2007 arrakis ~ # thanks, Thufir -- [EMAIL PROTECTED] mailing list