Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iBF0Vxr21507 for ; Tue, 14 Dec 2004 19:31:59 -0500 Received: from tsmtp4.mail.isp (smtp.terra.es [213.4.129.129]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iBF0VqFo025137 for ; Tue, 14 Dec 2004 19:31:53 -0500 Received: from 211.Red-81-40-6.pooles.rima-tde.net ([81.40.6.211]) by tsmtp4.mail.isp (terra.es) with ESMTP id I8QMT001.DCA for ; Wed, 15 Dec 2004 01:31:48 +0100 Subject: Re: [linux-lvm] Cannot create a Volume Group From: Fernando Ruza In-Reply-To: <20041215000856.GF18372@agk.surrey.redhat.com> References: <1103067201.995.12.camel@luna.horche.gu> <20041215000856.GF18372@agk.surrey.redhat.com> Message-Id: <1103070543.982.26.camel@luna.horche.gu> Mime-Version: 1.0 Date: Wed, 15 Dec 2004 01:29:03 +0100 Content-Transfer-Encoding: 8bit Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="utf-8" To: LVM general discussion and development Hi, El mi�, 15-12-2004 a las 01:08, Alasdair G Kergon escribi�: > On Wed, Dec 15, 2004 at 12:36:55AM +0100, Fernando Ruza wrote: > > Everything seems to be create properly, however when now I'm trying to > > activate the volume group or to scan it, it says it cannot found it: > > > sol:~# vgchange -a y vg1 > > Unable to find volume group "vg1" > > sol:~# vgscan > > No volume groups found > > > lvm2 2.00.29-1 > > Firstly, there's a bug in pvcreate 2.00.29 (it'll sometimes fail > with an error message when it shouldn't) - upgrade to .31. Well, I don't think is the version. I've just upgrade to 2.00.29 before writing to the list and with the version I had before it happened the same. > Use -vvv options to see what's going on and why it ignores things. > e.g. pvscan --partial -vvv > After doing the pvcreate /dev/hda1 /dev/hda4 /dev/hdb1, pvscan --partial -vvv lists me all the devices y /dev and at the end says: PV /dev/hda1 lvm2 [7,96 GB] PV /dev/hda4 lvm2 [15,48 GB] PV /dev/hdb1 lvm2 [3,00 GB] Total: 3 [26,44 GB] / in use: 0 [0 ] / in no VG: 3 [26,44 GB] After doing the vgcreate /dev/vg1 /dev/hda1 /dev/hda4 /dev/hdb1, vgscan --partial -vvv lists me all the devices y /dev and at the end says: No volume groups found The device /dev/vg1 is not created although vgcreate says Volume group "vg1" successfully created. > Alasdair -- Yo uso software libre, �Y tu? �Qu� es el software libre? consulta: http://www.gnu.org/philosophy/free-sw.es.html Fernando Ruza e-mail: feruza@terra.es jabber: fruza@jabber.guadawireless.net web: http://guada24.guadawireless.net Tlf: 661123845 Linux user: #273644 (http://counter.li.org) Debian Sid (Kernel 2.4.20 & ext3) "In an internet without fences ... who needs 'gates'"