From: Faheem Mitha <faheem@email.unc.edu>
To: linux-lvm@redhat.com
Subject: [linux-lvm] problems with basic lvm commands on Debian
Date: Thu, 25 Aug 2005 23:09:13 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.62.0508252240480.27495@Chrestomanci> (raw)
Dear People,
I must be missing something obvious, but I'm having problems with basic
commands on Debian Sarge, using lvm2.
I installed lvm2 and dmsetup. I'm using the stock Debian kernel
2.6.8-2-386.
I can do basic manipulations using /dev/hda1, but not with /dev/hda2.
This is on a very ordinary Dell Optiplex, normal x86 architecture.
*******************************************************************
root@io:/home/faheem# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 37483592 300352 35279136 1% /
tmpfs 258052 0 258052 0% /dev/shm
/dev/hda1 918322 14622 854704 2% /boot
Physical volume "/dev/hda2" successfully created
root@io:/dev/mapper# pvcreate /dev/hda1
root@io:/dev/mapper# pvdisplay /dev/hda1
--- Physical volume ---
PV Name /dev/hda1
VG Name testvg
PV Size 956.00 MB / not usable 0
Allocatable yes
PE Size (KByte) 4096
Total PE 239
Free PE 239
Allocated PE 0
PV UUID sGOTrW-ttC4-m4uq-Cwck-V5s3-knz7-NpydvJ
root@io:/dev/mapper# vgcreate testvg /dev/hda1
Volume group "testvg" successfully created
root@io:/dev/mapper# vgdisplay testvg
--- Volume group ---
VG Name testvg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 1
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 956.00 MB
PE Size 4.00 MB
Total PE 239
Alloc PE / Size 0 / 0
Free PE / Size 239 / 956.00 MB
VG UUID IHrOgz-RWDW-EIAY-m9vD-idgT-1I99-cyoS8n
root@io:/dev/mapper# pvcreate /dev/hda2
Physical volume "/dev/hda2" successfully created
All good so far. However.
root@io:/dev/mapper# pvdisplay /dev/hda2
No physical volume label read from /dev/hda2
Failed to read physical volume "/dev/hda2"
root@io:/home/faheem# vgextend testvg /dev/hda2
No physical volume label read from /dev/hda2
/dev/hda2 not identified as an existing physical volume
Unable to add physical volume '/dev/hda2' to volume group 'testvg'.
Any idea what is going on here? This is a new installation, and only has
the bare bones on it.
Please cc me on any reply. Thanks in advance.
Faheem.
next reply other threads:[~2005-08-26 3:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-26 3:09 Faheem Mitha [this message]
2005-08-26 3:17 ` [linux-lvm] problems with basic lvm commands on Debian Michael Loftis
2005-08-26 6:42 ` Faheem Mitha
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=Pine.LNX.4.62.0508252240480.27495@Chrestomanci \
--to=faheem@email.unc.edu \
--cc=linux-lvm@redhat.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;
as well as URLs for NNTP newsgroup(s).