Linux LVM users
 help / color / mirror / Atom feed
From: Daniel Gardner <daniel@danielgardner.org>
To: linux-lvm@sistina.com
Subject: [linux-lvm] vgcreate -- no valid physical volumes in command line
Date: Sun Sep  8 09:34:01 2002	[thread overview]
Message-ID: <200209081533.59821.daniel@danielgardner.org> (raw)

Hi,

I'm new to this whole LVM lark, and something isn't working right for me...

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)
-- ------- -------- --------- ------ --------- ---------------------- 
 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 VG 
[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=linux

I was using stock kernel 2.4.18 and tools 1.0.5 to start with, but just tried 
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 just me 
being stupid or what. Anyone got any ideas? I'll provide any info that I need 
to - just let me know what's needed!

Thanks awfully,
Daniel

             reply	other threads:[~2002-09-08  9:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-08  9:34 Daniel Gardner [this message]
2002-09-08  9:48 ` [linux-lvm] vgcreate -- no valid physical volumes in command line Glenn Shannon
2002-09-08  9:55   ` Daniel Gardner
2002-09-08 10:02     ` Glenn Shannon
2002-09-08 10:21       ` Daniel Gardner
2002-09-08  9:54 ` NagyZ
2002-09-08 10:10   ` Daniel Gardner
  -- strict thread matches above, loose matches on Subject: below --
2002-12-29 13:45 fnt
2002-12-29 14:57 ` Luca Berra
2002-12-29 15:13   ` fnt

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=200209081533.59821.daniel@danielgardner.org \
    --to=daniel@danielgardner.org \
    --cc=linux-lvm@sistina.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox