Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] vgchange -- ERROR: can't get name(s) of physical volumes
@ 2001-03-30 20:37 Jure Simsic
  2001-03-30 21:27 ` Andreas Dilger
  0 siblings, 1 reply; 5+ messages in thread
From: Jure Simsic @ 2001-03-30 20:37 UTC (permalink / raw)
  To: lvm

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-03-31 19:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-30 20:37 [linux-lvm] vgchange -- ERROR: can't get name(s) of physical volumes Jure Simsic
2001-03-30 21:27 ` Andreas Dilger
2001-03-31 15:38   ` Jure Simsic
2001-03-31 15:44   ` Jure Simsic
2001-03-31 19:54     ` Andreas Dilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox