* [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
* Re: [linux-lvm] vgcreate -- no valid physical volumes in command line
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
0 siblings, 1 reply; 10+ messages in thread
From: Luca Berra @ 2002-12-29 14:57 UTC (permalink / raw)
To: linux-lvm
> --- 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?
>
vgcreate test-vg /dev/ide/host2/bus1/target0/lun0/part1 .....
L.
--
Luca Berra -- bluca@comedia.it
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] vgcreate -- no valid physical volumes in command line
2002-12-29 14:57 ` Luca Berra
@ 2002-12-29 15:13 ` fnt
0 siblings, 0 replies; 10+ messages in thread
From: fnt @ 2002-12-29 15:13 UTC (permalink / raw)
To: linux-lvm
thx, it works :=)
----- Original Message -----
From: "Luca Berra" <bluca@comedia.it>
To: <linux-lvm@sistina.com>
Sent: Sunday, December 29, 2002 9:57 PM
Subject: Re: [linux-lvm] vgcreate -- no valid physical volumes in command
line
>
> > --- 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?
> >
> vgcreate test-vg /dev/ide/host2/bus1/target0/lun0/part1 .....
>
> L.
>
> --
> Luca Berra -- bluca@comedia.it
> /"\
> \ / ASCII RIBBON CAMPAIGN
> X AGAINST HTML MAIL
> / \
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
^ 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* RE: [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:55 ` Daniel Gardner
2002-09-08 9:54 ` NagyZ
1 sibling, 1 reply; 10+ messages in thread
From: Glenn Shannon @ 2002-09-08 9:48 UTC (permalink / raw)
To: linux-lvm
Are you running DevFS by chance?
-----Original Message-----
From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]
On Behalf Of Daniel Gardner
Sent: Sunday, September 08, 2002 7:34 AM
To: linux-lvm@sistina.com
Subject: [linux-lvm] vgcreate -- no valid physical volumes in command
line
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=l
inux
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
_______________________________________________
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
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [linux-lvm] vgcreate -- no valid physical volumes in command line
2002-09-08 9:48 ` Glenn Shannon
@ 2002-09-08 9:55 ` Daniel Gardner
2002-09-08 10:02 ` Glenn Shannon
0 siblings, 1 reply; 10+ messages in thread
From: Daniel Gardner @ 2002-09-08 9:55 UTC (permalink / raw)
To: linux-lvm
On Sunday 08 September 2002 3:47 pm, Glenn Shannon wrote:
> Are you running DevFS by chance?
Yes - is that bad? :S
Daniel
>
> -----Original Message-----
> From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]
> On Behalf Of Daniel Gardner
> Sent: Sunday, September 08, 2002 7:34 AM
> To: linux-lvm@sistina.com
> Subject: [linux-lvm] vgcreate -- no valid physical volumes in command
> line
>
> 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=l
> inux
>
> 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
>
>
>
> _______________________________________________
> 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
>
>
> _______________________________________________
> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [linux-lvm] vgcreate -- no valid physical volumes in command line
2002-09-08 9:55 ` Daniel Gardner
@ 2002-09-08 10:02 ` Glenn Shannon
2002-09-08 10:21 ` Daniel Gardner
0 siblings, 1 reply; 10+ messages in thread
From: Glenn Shannon @ 2002-09-08 10:02 UTC (permalink / raw)
To: linux-lvm
It's not bad, I use it. It just takes a couple of tweaks.
For one, the actual devices are in subdirs now. Like what was /dev/hda2
is now /dev/ide/host0/bus0/target0/lun0/part2.
So one needs to pass the devfs'ed name for the device to the lvmtools.
:)
-----Original Message-----
From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]
On Behalf Of Daniel Gardner
Sent: Sunday, September 08, 2002 7:51 AM
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] vgcreate -- no valid physical volumes in
command line
On Sunday 08 September 2002 3:47 pm, Glenn Shannon wrote:
> Are you running DevFS by chance?
Yes - is that bad? :S
Daniel
>
> -----Original Message-----
> From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]
> On Behalf Of Daniel Gardner
> Sent: Sunday, September 08, 2002 7:34 AM
> To: linux-lvm@sistina.com
> Subject: [linux-lvm] vgcreate -- no valid physical volumes in command
> line
>
> 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=l
> inux
>
> 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
>
>
>
> _______________________________________________
> 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
>
>
> _______________________________________________
> 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
_______________________________________________
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] vgcreate -- no valid physical volumes in command line
2002-09-08 10:02 ` Glenn Shannon
@ 2002-09-08 10:21 ` Daniel Gardner
0 siblings, 0 replies; 10+ messages in thread
From: Daniel Gardner @ 2002-09-08 10:21 UTC (permalink / raw)
To: linux-lvm
On Sunday 08 September 2002 3:59 pm, Glenn Shannon wrote:
> It's not bad, I use it. It just takes a couple of tweaks.
>
> For one, the actual devices are in subdirs now. Like what was /dev/hda2
> is now /dev/ide/host0/bus0/target0/lun0/part2.
>
> So one needs to pass the devfs'ed name for the device to the lvmtools.
ahh, symlinks, i see... yes... I'd read about devfs back when there was
argument about wether it should be in the kernel or not, but gentoo finally
dragged me into the modern age. I presume it's the symlinks that vgcreate
doesn't like... could that be construed as a bug?
Right, onwards for fun and games with grub and lvmcreate_initrd :)
Thanks for the help,
Daniel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [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
2002-09-08 10:10 ` Daniel Gardner
1 sibling, 1 reply; 10+ messages in thread
From: NagyZ @ 2002-09-08 9:54 UTC (permalink / raw)
To: linux-lvm
On Sun, 8 Sep 2002, Daniel Gardner wrote:
> Hi,
[..]
> root@gentoo daniel # vgcreate main /dev/hda2
> vgcreate -- no valid physical volumes in command line
try:
vgcreate main /dev/ide/host0/bus0/target0/lun0/part2
are you using devfs?:)
NagyZ
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] vgcreate -- no valid physical volumes in command line
2002-09-08 9:54 ` NagyZ
@ 2002-09-08 10:10 ` Daniel Gardner
0 siblings, 0 replies; 10+ messages in thread
From: Daniel Gardner @ 2002-09-08 10:10 UTC (permalink / raw)
To: linux-lvm
On Sunday 08 September 2002 3:49 pm, NagyZ wrote:
> On Sun, 8 Sep 2002, Daniel Gardner wrote:
> > root@gentoo daniel # vgcreate main /dev/hda2
> > vgcreate -- no valid physical volumes in command line
>
> try:
> vgcreate main /dev/ide/host0/bus0/target0/lun0/part2
>
> are you using devfs?:)
ooooh! Shiny things :)
I've just mounted a nice new XFS filesystem, thanks so much!
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.