Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] Missing volume group device
@ 2004-10-16  0:00 langelino
  2004-10-16 17:43 ` David Mohr
  0 siblings, 1 reply; 4+ messages in thread
From: langelino @ 2004-10-16  0:00 UTC (permalink / raw)
  To: linux-lvm

Hi,
I like to change the size of one of my logical volumes but the volume
group device is missing:

[root]# vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group "vg01" using metadata type lvm2
[root]# lvscan
  ACTIVE            '/dev/vg01/slow' [242.77 GB] inherit
  ACTIVE            '/dev/vg01/usr' [3.91 GB] inherit
  ACTIVE            '/dev/vg01/home' [5.86 GB] inherit
  ACTIVE            '/dev/vg01/tmp' [1000.00 MB] inherit

But:

[root]# ls -l /dev/vg*
ls: /dev/vg*: No such file or directory

I am running Mandrake 10.1:

[root]# uname -a
Linux xxx.xxx.xxx 2.6.8.1-10mdk #1 Wed Sep 8 17:00:52 CEST 2004 i686
Intel(R) Pentium(R) 4 CPU 2.40GHz unknown GNU/Linux


Any hints what to do?

Matt

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

* Re: [linux-lvm] Missing volume group device
  2004-10-16  0:00 [linux-lvm] Missing volume group device langelino
@ 2004-10-16 17:43 ` David Mohr
  2004-10-16 19:52   ` Alasdair G Kergon
  0 siblings, 1 reply; 4+ messages in thread
From: David Mohr @ 2004-10-16 17:43 UTC (permalink / raw)
  To: LVM general discussion and development

On Fri, 2004-10-15 at 19:00, langelino wrote:
> [root]# ls -l /dev/vg*
> ls: /dev/vg*: No such file or directory

Just a guess, but what about vgmknodes?

~David

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

* Re: [linux-lvm] Missing volume group device
  2004-10-16 17:43 ` David Mohr
@ 2004-10-16 19:52   ` Alasdair G Kergon
  2004-10-16 22:35     ` langelino
  0 siblings, 1 reply; 4+ messages in thread
From: Alasdair G Kergon @ 2004-10-16 19:52 UTC (permalink / raw)
  To: LVM general discussion and development

On Sat, Oct 16, 2004 at 12:43:35PM -0500, David Mohr wrote:
> On Fri, 2004-10-15 at 19:00, langelino wrote:
> > [root]# ls -l /dev/vg*
> > ls: /dev/vg*: No such file or directory
> Just a guess, but what about vgmknodes?
 
And LVM2 tools ignore any '/dev/' prefix anyway in this
context - 'lvresize vg01/lvol1' is sufficient.

Alasdair
-- 
agk@redhat.com

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

* Re: [linux-lvm] Missing volume group device
  2004-10-16 19:52   ` Alasdair G Kergon
@ 2004-10-16 22:35     ` langelino
  0 siblings, 0 replies; 4+ messages in thread
From: langelino @ 2004-10-16 22:35 UTC (permalink / raw)
  To: LVM general discussion and development

Alasdair G Kergon wrote:

>On Sat, Oct 16, 2004 at 12:43:35PM -0500, David Mohr wrote:
>  
>
>>On Fri, 2004-10-15 at 19:00, langelino wrote:
>>    
>>
>>>[root]# ls -l /dev/vg*
>>>ls: /dev/vg*: No such file or directory
>>>      
>>>
>>Just a guess, but what about vgmknodes?
>>    
>>
Great. This was it. Thanks! This command appears to be a bit
hidden. It's neither mentioned in the lvm-howto nor in the lvm2 man-page.

> 
>And LVM2 tools ignore any '/dev/' prefix anyway in this
>context - 'lvresize vg01/lvol1' is sufficient.
>  
>
Well, yes but if one wants to shrink the filesystem on a logical volume
the tools to do so, like "resize_reiserfs", expect afaik a proper device.

Matt

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

end of thread, other threads:[~2004-10-16 22:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-16  0:00 [linux-lvm] Missing volume group device langelino
2004-10-16 17:43 ` David Mohr
2004-10-16 19:52   ` Alasdair G Kergon
2004-10-16 22:35     ` langelino

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