From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4D1nrUZ027308 for ; Fri, 12 May 2006 21:49:53 -0400 Received: from orca.ele.uri.edu (orca.ele.uri.edu [131.128.51.63]) by mx3.redhat.com (8.13.1/8.13.1) with ESMTP id k4D1nk8f024698 for ; Fri, 12 May 2006 21:49:46 -0400 Subject: Re: [linux-lvm] problem when creating a volumegroup on an external drive From: Ming Zhang In-Reply-To: <44650B76.6070604@neuroweave.nl> References: <44647168.3030205@neuroweave.nl> <44647CA0.3010509@redhat.com> <4464A0BE.7070509@neuroweave.nl> <4464A274.3090808@gmx.net> <44650B76.6070604@neuroweave.nl> Date: Fri, 12 May 2006 21:49:28 -0400 Message-Id: <1147484968.7783.12.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: mingz@ele.uri.edu, 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="us-ascii" To: LVM general discussion and development On Sat, 2006-05-13 at 00:25 +0200, Joep Blom wrote: > Klaus Strebel wrote: > > >Hi Joep, > > > >well, what Patrick meant is, that your system (forget that USB drive in > >this moment) already has a VG called VolGroup00 on your internal disk. > >The modern FC distros use it as default (i think, i'm using SuSE ;-) ). > >Before messing up more using fdisk, just provide us with the output of a > >vgdisplay -a ;-) get an impression of the 'disaster' :-). > > > >Btw. the volume group your wanted to create has the name VG0, not > >VolGroup00 ;-) .. > > > >Ciao > >Klaus > > > > > > > Klaus & Pattrick, > I'm sorry I asked the wrong question (stupid me!). I interpreted the > output of vgcreate wrongly. Yes, Klaus, the VolGroup00 was automatically > created by FC when I did an upgrade. > The correct question is that VG01 (the name I gave it) occupies 232.88 > Gb although I had asked for 250 Gb. Where are the 17.2 GB and can I add when u buy the disk, vendor count it as 250GB or 250 * 1000 * 1000 * 1000 bytes. when LVM count it, it is 250 * 1000 * 1000 * 1000 / 1024 / 1024/ 1024 = 232.83GB. check online, many discussion about this 1024 and 1000 issue. > them to VG01. > When I look with fdisk it says that no information is available for > /dev/sda1 and "invalid flag 0x0000 of partition table 4 will be > corrected by w(rite)". > I assume that all problems have arisen due to the fact that I did a > pvcreate on a disk which has a W95 FAT32 partition ( of 250 Gb). > I assume the best way is to delete the partition completely and create a > new partition (with parted or fdisk?) or are there better methods? Do I > have to remove VG01 first? > Please, be lenient to me for these basic questions. > Joep > > > _______________________________________________ > linux-lvm mailing list > linux-lvm@redhat.com > https://www.redhat.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/