Linux LVM users
 help / color / mirror / Atom feed
From: Jure Simsic <jure@literal.si>
To: lvm <linux-lvm@sistina.com>
Subject: [linux-lvm] vgchange -- ERROR: can't get name(s) of physical volumes
Date: Fri, 30 Mar 2001 22:37:43 +0200	[thread overview]
Message-ID: <3AC4EE97.B98BF6A7@literal.si> (raw)

[-- Attachment #1: Type: text/plain, Size: 1682 bytes --]

Hi, I'm having problems booting my LVM systems.

at boot I get vgscan detect my VGs (eg. home and lvm-tmp), but then i
get vgchange -ay report the above message:

 vgchange -- ERROR: can't get name(s) of physical volumes
 vgchange -- ERROR: Please check, if /proc is mounted

And of course, the next step (fsck fail) boots me into single user mode.

pvdisplay -d -v /dev/hda2
ends with
<1> pv_get_size -- LEAVING with ret: -236
<1> lvm_error -- CALLED with: -236
<1> lvm_error -- LEAVING with: "pv_get_size(): lvm_dir_cache"
pvdisplay -- ERROR "pv_get_size(): lvm_dir_cache" getting size of
physical volume "/dev/hda2"

I'm enclosing a tar of various pvata and pvdisplay and stuff I could
think of. Also an interesting thing i noticed just now is when running
lvmdiskscan ( as I'm without my /usr partition, I don't have <man>, so I
just assume from the name what it does). The curious thing is, that the
only devices that the output mentions is /dev/hdc (by pv_get_size,
pv_check_name, lvm_check_chars, pv_check_part and so), which is in fact
my cdrom. No mention of any hda's or hdb's..I thon't know if that means
anything..
/dev/hdc is also mentioned in
lvdisplay -d -D /dev/home/home (output attached)..

I might be on the wrong track here though..

The basic question is, what to do to find out the cause and to get it up
and running again. I don't have any snapshots as I just reinstalled the
system and have still some partitions holding my old data (-> lack of
free disk)

The basic setup:
Linux 2.4.2
LVM-0.9.1_beta6
/dev/hda2 on /home - VG home (should be)
/dev/hdb3 on /usr - VG lvm-tmp (same) both having ext2
2 IDE disks (hda-2.5G, hdb-6Gb)


Help appreciated
Tnx

Jure

[-- Attachment #2: lvm-err.tar --]
[-- Type: application/x-tar, Size: 358400 bytes --]

             reply	other threads:[~2001-03-30 20:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-30 20:37 Jure Simsic [this message]
2001-03-30 21:27 ` [linux-lvm] vgchange -- ERROR: can't get name(s) of physical volumes Andreas Dilger
2001-03-31 15:38   ` Jure Simsic
2001-03-31 15:44   ` Jure Simsic
2001-03-31 19:54     ` Andreas Dilger

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=3AC4EE97.B98BF6A7@literal.si \
    --to=jure@literal.si \
    --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