Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] vgcreate bug?
@ 2002-12-23 12:28 NagyZ
  2002-12-23 13:59 ` Patrick Caulfield
  2002-12-23 16:49 ` Alasdair G Kergon
  0 siblings, 2 replies; 5+ messages in thread
From: NagyZ @ 2002-12-23 12:28 UTC (permalink / raw)
  To: linux-lvm

so..
i did:
(with 1.0.6 tools)

dd if=/dev/zero of=/testlvmimage bs=1024k count=300
losetup /dev/loop0 /testlvmimage
pvcreate /dev/loop
vgcreate test /dev/loop0
lvcreate -l 8 -n testlv test
mkfs.ext3 /dev/test/testlv

then copy some files..

vgchange -an
and (with lvm2 tools):
vgconvert -M2 test

then:
debian:~# mount /dev/test/testlv /teszt
mount: /dev/test/testlv is not a valid block device

so..
any idea? :)

check http://tom.tdc.hu/~nagyz/lvm

thnx!

NagyZ

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

* Re: [linux-lvm] vgcreate bug?
  2002-12-23 12:28 [linux-lvm] vgcreate bug? NagyZ
@ 2002-12-23 13:59 ` Patrick Caulfield
  2002-12-23 14:07   ` NagyZ
  2002-12-23 16:49 ` Alasdair G Kergon
  1 sibling, 1 reply; 5+ messages in thread
From: Patrick Caulfield @ 2002-12-23 13:59 UTC (permalink / raw)
  To: linux-lvm

On Mon, Dec 23, 2002 at 07:34:35PM +0100, NagyZ wrote:

This is a vgconvert bug isn't is ?

patrick

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

* Re: [linux-lvm] vgcreate bug?
  2002-12-23 13:59 ` Patrick Caulfield
@ 2002-12-23 14:07   ` NagyZ
  0 siblings, 0 replies; 5+ messages in thread
From: NagyZ @ 2002-12-23 14:07 UTC (permalink / raw)
  To: linux-lvm

On Mon, 23 Dec 2002, Patrick Caulfield wrote:

> On Mon, Dec 23, 2002 at 07:34:35PM +0100, NagyZ wrote:
> 
> This is a vgconvert bug isn't is ?
> 
i wanted to write that :)

NagyZ

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

* Re: [linux-lvm] vgcreate bug?
  2002-12-23 12:28 [linux-lvm] vgcreate bug? NagyZ
  2002-12-23 13:59 ` Patrick Caulfield
@ 2002-12-23 16:49 ` Alasdair G Kergon
  2002-12-23 17:05   ` NagyZ
  1 sibling, 1 reply; 5+ messages in thread
From: Alasdair G Kergon @ 2002-12-23 16:49 UTC (permalink / raw)
  To: linux-lvm

On Mon, Dec 23, 2002 at 07:34:35PM +0100, NagyZ wrote:
> vgchange -an
> and (with lvm2 tools):
> vgconvert -M2 test

Missing vgchange -ay (with LVM2 tools) here?
 
> then:
> debian:~# mount /dev/test/testlv /teszt
> mount: /dev/test/testlv is not a valid block device

[It's possible the problem is with LVM1 volume group links in /dev left behind 
by LVM1; if so, just remove them before the LVM2 vgchange -ay; this is 
libdevmapper being ultra-cautious; will get changed soon.]
 
Alasdair
-- 
agk@uk.sistina.com

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

* Re: [linux-lvm] vgcreate bug?
  2002-12-23 16:49 ` Alasdair G Kergon
@ 2002-12-23 17:05   ` NagyZ
  0 siblings, 0 replies; 5+ messages in thread
From: NagyZ @ 2002-12-23 17:05 UTC (permalink / raw)
  To: linux-lvm

On Mon, 23 Dec 2002, Alasdair G Kergon wrote:

> On Mon, Dec 23, 2002 at 07:34:35PM +0100, NagyZ wrote:
> > vgchange -an
> > and (with lvm2 tools):
> > vgconvert -M2 test
> 
> Missing vgchange -ay (with LVM2 tools) here?
that doesnt matter :)

>  
> > then:
> > debian:~# mount /dev/test/testlv /teszt
> > mount: /dev/test/testlv is not a valid block device
> 
> [It's possible the problem is with LVM1 volume group links in /dev left behind 
> by LVM1; if so, just remove them before the LVM2 vgchange -ay; this is 
> libdevmapper being ultra-cautious; will get changed soon.]
yes..
i tested again:
after the convert i did rm /dev/test -Rf, then vgchange -ay, and WORKS! :)
thnx

NagyZ

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

end of thread, other threads:[~2002-12-23 17:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-23 12:28 [linux-lvm] vgcreate bug? NagyZ
2002-12-23 13:59 ` Patrick Caulfield
2002-12-23 14:07   ` NagyZ
2002-12-23 16:49 ` Alasdair G Kergon
2002-12-23 17:05   ` NagyZ

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