From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Gardner MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200209081533.59821.daniel@danielgardner.org> Subject: [linux-lvm] vgcreate -- no valid physical volumes in command line Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: Date: Sun Sep 8 09:34:01 2002 List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-lvm@sistina.com Hi, I'm new to this whole LVM lark, and something isn't working right for me.= =2E. I've got a partition, /dev/hda2, which I'm trying to put LVM stuff on. cfdisk says: First Last # Type Sector Sector Offset Length Filesystem Type (ID) -- ------- -------- --------- ------ --------- ----------------------=20 2 Primary 6249285 12466439 0 6217155 Linux LVM (8E) Then I do: root@gentoo daniel # pvcreate /dev/hda2 pvcreate -- physical volume "/dev/hda2" successfully created root@gentoo daniel # pvdisplay /dev/hda2 pvdisplay -- "/dev/hda2" is a new physical volume of 2.96 GB root@gentoo daniel # pvscan pvscan -- reading all physical volumes (this may take a while...) pvscan -- inactive PV "/dev/ide/host0/bus0/target0/lun0/part2" is in no V= G=20 [2.96 GB] pvscan -- total: 1 [2.96 GB] / in use: 0 [0] / in no VG: 1 [2.96 GB] All looking good... now here's the weird one: root@gentoo daniel # vgcreate main /dev/hda2 vgcreate -- no valid physical volumes in command line This is where I'm getting my baby steps from http://www-106.ibm.com/developerworks/linux/library/l-lvm2.html?dwzone=3D= linux I was using stock kernel 2.4.18 and tools 1.0.5 to start with, but just t= ried=20 1.1-rc2 with the same results on both. I don't really know where to go further with this, don't know if it's jus= t me=20 being stupid or what. Anyone got any ideas? I'll provide any info that I = need=20 to - just let me know what's needed! Thanks awfully, Daniel