Linux LVM users
 help / color / mirror / Atom feed
From: "Heinz J . Mauelshagen" <mauelshagen@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] vgcreate not working
Date: Mon Mar 11 09:31:02 2002	[thread overview]
Message-ID: <20020311162848.B13418@sistina.com> (raw)
In-Reply-To: <20020310150455.E7514@majestic.ukshells.co.uk>; from linux.lvm@codex.net on Sun, Mar 10, 2002 at 03:04:55PM +0000

Vincent,

in case you've got devfs, please retry with the long devfs path names.

Regards,
Heinz    -- The LVM Guy --


On Sun, Mar 10, 2002 at 03:04:55PM +0000, Vincent AE Scott wrote:
> 
> Hi there,
> 
> i have a problem with some newly partioned up disks, i've created two
> LVM partions on two different disks.  upon executing the following
> commands, vgcreate fails:
> 
> [root@box guest]# pvcreate /dev/hde2
> pvcreate -- physical volume "/dev/hde2" successfully created
> 
> [root@box guest]# pvcreate /dev/hdg2
> pvcreate -- physical volume "/dev/hdg2" successfully created
> 
> [root@box guest]# vgcreate vg /dev/hde2 /dev/hdg2
> vgcreate -- no valid physical volumes in command line
> 
> 
> here's a snipit from the tail end of vgcreate -d:
> 
> <1> pv_read_all_pv -- calling stat with "/dev/loop/7"
> <22> pv_read -- CALLED with /dev/loop/7
> <333> pv_check_name -- CALLED with "/dev/loop/7"
> <4444> lvm_check_chars -- CALLED with name: "/dev/loop/7"
> <4444> lvm_check_chars -- LEAVING with ret: 0
> <333> pv_check_name -- LEAVING with ret: 0
> <22> pv_read -- going to read /dev/loop/7
> <22> pv_read -- LEAVING with ret: -282
> <1> pv_read_all_pv -- pv_read returned: -282
> <1> pv_read_all_pv -- avoiding multiple entries in case of MD; np: 2
> <1> pv_read_all_pv -- LEAVING with ret: 0
> <1> pv_check_name -- CALLED with "/dev/hde2"
> <22> lvm_check_chars -- CALLED with name: "/dev/hde2"
> <22> lvm_check_chars -- LEAVING with ret: 0
> <1> pv_check_name -- LEAVING with ret: 0
> <1> pv_check_name -- CALLED with "/dev/hdg2"
> <22> lvm_check_chars -- CALLED with name: "/dev/hdg2"
> <22> lvm_check_chars -- LEAVING with ret: 0
> <1> pv_check_name -- LEAVING with ret: 0
> vgcreate -- no valid physical volumes in command line
> 
> 
> 
> Now, the only thing i can think of, is this disk *used* to have an LVM
> on it, (vg+lv) but i have since removed it from the disk, in favour of
> this new attempt.  i cant see how it could possibly be a problem, but
> maybe there's something lurking in the FS.
> 
> 
> Does anyone have any dieas whats wrong?
> im running lvm 1.0.3 on 2.4.18
> 
> 
> 
> -- 
> PGP key:  http://codex.net/pgp/pgp.asc
> 
>  C:\> File not found. Should I fake it? (Y/N) 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

      parent reply	other threads:[~2002-03-11  9:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-10  9:04 [linux-lvm] vgcreate not working Vincent AE Scott
2002-03-10  9:16 ` Laurentiu Simion
2002-03-10  9:39   ` Vincent AE Scott
2002-03-11  9:32     ` Heinz J . Mauelshagen
2002-03-12 13:22       ` Luca Berra
2002-03-13  5:03         ` Heinz J . Mauelshagen
2002-03-11  9:31 ` Heinz J . Mauelshagen [this message]

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=20020311162848.B13418@sistina.com \
    --to=mauelshagen@sistina.com \
    --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