All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] vgcreate -- no valid physical volumes in command line
@ 2002-12-29 13:45 fnt
  2002-12-29 14:57 ` Luca Berra
  0 siblings, 1 reply; 10+ messages in thread
From: fnt @ 2002-12-29 13:45 UTC (permalink / raw)
  To: linux-lvm

i have fallow this order of make LVM:
root]# pvdisplay /dev/hde1 /dev/hdg1 /dev/hdf1 /dev/hdh1
pvdisplay -- "/dev/hde1" is a new physical volume of 19.08 GB
pvdisplay -- "/dev/hdg1" is a new physical volume of 37.27 GB
pvdisplay -- "/dev/hdf1" is a new physical volume of 19.07 GB
pvdisplay -- "/dev/hdh1" is a new physical volume of 74.53 GB
----------------------------------------------------------------------------
root]# pvdata /dev/hde1 /dev/hdg1 /dev/hdf1 /dev/hdh1
--- NEW Physical volume ---
PV Name               /dev/hde1
VG Name
PV Size               19.08 GB
PV#                   0
PV Status             NOT available
Allocatable           NO
Cur LV                0
PE Size (KByte)       0
Total PE              0
Free PE               0
Allocated PE          0
PV UUID               Freu4z-rtFG-3LWO-DwoW-KQJQ-kPdH-TFrgod

--- Volume group ---
VG Name
VG Access             error
VG Status             NOT available/NOT resizable
VG #                  0
MAX LV                0
Cur LV                0
Open LV               0
MAX LV Size           0
Max PV                0
Cur PV                0
Act PV                0
VG Size               0
PE Size               0
Total PE              0
Alloc PE / Size       0 / 0
Free  PE / Size       0 / 0
VG UUID               HM

--- List of logical volumes ---

--- List of physical volume UUIDs ---

--- NEW Physical volume ---
PV Name               /dev/hdg1
VG Name
PV Size               37.27 GB
PV#                   0
PV Status             NOT available
Allocatable           NO
Cur LV                0
PE Size (KByte)       0
Total PE              0
Free PE               0
Allocated PE          0
PV UUID               oo7uc1-eFc6-wlO0-co9Z-oPf7-U0ss-cnitXm

--- Volume group ---
VG Name
VG Access             error
VG Status             NOT available/NOT resizable
VG #                  0
MAX LV                0
Cur LV                0
Open LV               0
MAX LV Size           0
Max PV                0
Cur PV                0
Act PV                0
VG Size               0
PE Size               0
Total PE              0
Alloc PE / Size       0 / 0
Free  PE / Size       0 / 0
VG UUID               HM

--- List of logical volumes ---

--- List of physical volume UUIDs ---

--- NEW Physical volume ---
PV Name               /dev/hdf1
VG Name
PV Size               19.07 GB
PV#                   0
PV Status             NOT available
Allocatable           NO
Cur LV                0
PE Size (KByte)       0
Total PE              0
Free PE               0
Allocated PE          0
PV UUID               AeUf2I-823S-r24W-QFg0-4WYJ-s4qS-Df7SBi

--- Volume group ---
VG Name
VG Access             error
VG Status             NOT available/NOT resizable
VG #                  0
MAX LV                0
Cur LV                0
Open LV               0
MAX LV Size           0
Max PV                0
Cur PV                0
Act PV                0
VG Size               0
PE Size               0
Total PE              0
Alloc PE / Size       0 / 0
Free  PE / Size       0 / 0
VG UUID               HM

--- List of logical volumes ---

--- List of physical volume UUIDs ---

--- NEW Physical volume ---
PV Name               /dev/hdh1
VG Name
PV Size               74.53 GB
PV#                   0
PV Status             NOT available
Allocatable           NO
Cur LV                0
PE Size (KByte)       0
Total PE              0
Free PE               0
Allocated PE          0
PV UUID               t2Y5MW-WhMO-asqF-PZTS-9WFi-SLR5-pZR5fY

--- Volume group ---
VG Name
VG Access             error
VG Status             NOT available/NOT resizable
VG #                  0
MAX LV                0
Cur LV                0
Open LV               0
MAX LV Size           0
Max PV                0
Cur PV                0
Act PV                0
VG Size               0
PE Size               0
Total PE              0
Alloc PE / Size       0 / 0
Free  PE / Size       0 / 0
VG UUID               HM

--- List of logical volumes ---

--- List of physical volume UUIDs ---
------------------------------------------------------
root]# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/ide/host2/bus1/target0/lun0/part1" is in no VG
[37.27 GB]
pvscan -- inactive PV "/dev/ide/host2/bus1/target1/lun0/part1" is in no VG
[74.53 GB]
pvscan -- inactive PV "/dev/ide/host2/bus0/target0/lun0/part1" is in no VG
[19.08 GB]
pvscan -- inactive PV "/dev/ide/host2/bus0/target1/lun0/part1" is in no VG
[19.07 GB]
pvscan -- total: 4 [149.96 GB] / in use: 0 [0] / in no VG: 4 [149.96 GB]
----------------------------------------------------------------------------
---------

 root]# vgcreate test-vg /dev/hd[e-h]1
vgcreate -- no valid physical volumes in command line


i have this error, can samebady help me out?

thanks on davance.
chimo

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [linux-lvm] vgcreate -- no valid physical volumes in command line
@ 2002-09-08  9:34 Daniel Gardner
  2002-09-08  9:48 ` Glenn Shannon
  2002-09-08  9:54 ` NagyZ
  0 siblings, 2 replies; 10+ messages in thread
From: Daniel Gardner @ 2002-09-08  9:34 UTC (permalink / raw)
  To: linux-lvm

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

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

end of thread, other threads:[~2002-12-29 15:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-29 13:45 [linux-lvm] vgcreate -- no valid physical volumes in command line fnt
2002-12-29 14:57 ` Luca Berra
2002-12-29 15:13   ` fnt
  -- strict thread matches above, loose matches on Subject: below --
2002-09-08  9:34 Daniel Gardner
2002-09-08  9:48 ` 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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.