Re: [gentoo-user] Partitioning and LVM problem (partially solved)

2006-08-30 Thread Stephen Liu
Hi Richard, > On 8/29/06, Stephen Liu <[EMAIL PROTECTED]> wrote: > > /dev/hda4: No label detected > > Did you do "pvcreate /dev/hda4"? At that time, NO. Later I did, having completed vgcreate, lvcreated, mkdir, mounting, etc. All went through w/o problem. Problem came after chroot. I'l

Re: [gentoo-user] Partitioning and LVM problem (partially solved)

2006-08-29 Thread Richard Fish
On 8/29/06, Stephen Liu <[EMAIL PROTECTED]> wrote: /dev/hda4: No label detected Did you do "pvcreate /dev/hda4"? -Richard -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Partitioning and LVM problem (partially solved)

2006-08-29 Thread Stephen Liu
Hi Richard, New partitions # fdisk -l /dev/hda1 * 83 Linux /dev/hda283 Linux /dev/hda382 Linux Swap/Solaris /dev/hda48e Linux LVM * end * > Can you post the output of 'grep -v -e "^ *#" -e "^ *$" > /etc/lvm/lvm.conf'. devices { dir = "/dev" scan = [ "/dev" ] filter =

Re: [gentoo-user] Partitioning and LVM problem (partially solved)

2006-08-29 Thread Richard Fish
On 8/29/06, Stephen Liu <[EMAIL PROTECTED]> wrote: But printout still there. I tried it twice erasing the HD completely. Can you post the output of 'grep -v -e "^ *#" -e "^ *$" /etc/lvm/lvm.conf'. Also you might try taking a look at the output of pvscan -vv, and make sure that hda4 shows up.

Re: [gentoo-user] Partitioning and LVM problem

2006-08-29 Thread Richard Fish
On 8/29/06, Stephen Liu <[EMAIL PROTECTED]> wrote: 1) # vgscan Reading all physical volumes. This may take a while Incorrect metadata area header checksum 1. Do you know what version of lvm was used to create your logical volumes? 2. What version are you using now? 3. Can you post the output o

Re: [gentoo-user] Partitioning and LVM problem (partially solved)

2006-08-29 Thread Stephen Liu
Hi folks, I found out the trick. On /etc/lvm/lvm.conf the line; filter = [ "a/.*/" ] should be replaced with; filter = [ "a|/dev/hda4]|", "r/.*/" ] (in my case) Previously I made the line as; filter = [ "a|/dev/hda]|", "r/.*/" ] Now # vgscan Reading all physical volumes. This may take a whil

[gentoo-user] Partitioning and LVM problem

2006-08-29 Thread Stephen Liu
Hi folks, I have following partitions on the HD # fdisk -l /dev/hda1 * 83 System (for /boot) /dev/hda2 5 Extended (as swap) /dev/hda3 83 Linux (for /root) /dev/hda4 8e Linux LVM (for /home /usr /var /opt /tmp) Encountered following problems; 1) # vgscan Reading all physical volumes. T