All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joep Blom <jlblom@neuroweave.nl>
To: mingz@ele.uri.edu,
	LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] problem when creating a volumegroup on an external drive
Date: Sat, 13 May 2006 10:19:10 +0200	[thread overview]
Message-ID: <4465967E.6090206@neuroweave.nl> (raw)
In-Reply-To: <1147484968.7783.12.camel@localhost.localdomain>

Ming Zhang wrote:

>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/
>>    
>>
>
>_______________________________________________
>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/
>
>  
>
Ah, Ming,
Thanks! That solves it!.
So I don't have to remove the already created pv. Only fdisk complains 
because when I do an "fdisk /dev/sda" it sees it still as a FAT32 
partition but when I do an "fdisk /dev/sda1" it correctly sees it as a 
partition which is virtually free but with the invalid flag in partition 
table 4. As I use it as a backup disk I don't have to boot from it but 
is a logical volume bootable?
One last question: Why can't  I use "pvcreate /dev/sda" but have to use 
"pvcreate /dev/sda1" (as the LV HOW-TO stated the former).
Hope you can help me out with this as well.
Joep

  reply	other threads:[~2006-05-13  8:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-12 11:28 [linux-lvm] problem when creating a volumegroup on an external drive Joep Blom
2006-05-12 12:16 ` Patrick Caulfield
2006-05-12 14:50   ` Joep Blom
2006-05-12 14:57     ` Klaus Strebel
2006-05-12 22:25       ` Joep Blom
2006-05-13  1:49         ` Ming Zhang
2006-05-13  8:19           ` Joep Blom [this message]
2006-05-13 10:20             ` Markus Laire
2006-05-14 21:42               ` Joep Blom
2006-05-15  8:42                 ` Markus Laire
2006-05-15  9:14                   ` Joep Blom
2006-05-13 15:42             ` Ming Zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4465967E.6090206@neuroweave.nl \
    --to=jlblom@neuroweave.nl \
    --cc=linux-lvm@redhat.com \
    --cc=mingz@ele.uri.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.