All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] pvmove: ERROR "pv_read(): device major number"
@ 2002-06-04  7:54 Stephan Austermuehle
  2002-06-04  8:26 ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 5+ messages in thread
From: Stephan Austermuehle @ 2002-06-04  7:54 UTC (permalink / raw)
  To: linux-lvm

Hi,

using Kernel 2.4.18+XFS 1.1+LVM 1.1rc2+VFS lock I want to move an LV
to a different PV to move the currently unprotected data to a mirrored
device. I entered the following line as root (no su -):

	# pvmove --version
	pvmove: Logical Volume Manager 1.1-rc1
	Heinz Mauelshagen, Sistina Software  15/03/2002 (IOP 10)

	# pvmove /dev/vg00/lv_swap /dev/hda1 /dev/md0
	pvmove -- ERROR "pv_read(): device major number" reading source physical volume "/dev/vg00/lv_swap"

The mentioned LV is not in use.

Same problem with a native disk partition:

	# pvmove /dev/vg00/lv_swap /dev/hda1 /dev/hdc1         
	pvmove -- ERROR "pv_read(): device major number" reading source physical volume "/dev/vg00/lv_swap"

The root file system is on an LV, too.

What's going on here?

Stephan

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

* Re: [linux-lvm] pvmove: ERROR "pv_read(): device major number"
  2002-06-04  7:54 [linux-lvm] pvmove: ERROR "pv_read(): device major number" Stephan Austermuehle
@ 2002-06-04  8:26 ` Heinz J . Mauelshagen
  2002-06-04  8:47   ` [linux-lvm] " Stephan Austermuehle
  0 siblings, 1 reply; 5+ messages in thread
From: Heinz J . Mauelshagen @ 2002-06-04  8:26 UTC (permalink / raw)
  To: linux-lvm

Stephan,

you seem to run LVM 1.1-rc1 as pvmove states which
had a flaw checking used devices.

Could you please either use LVM 1.1-rc2 or LVM 1.1 from top of CVS
(see instructions at www.sistina.com IRT CVS repository on how to check
that out) and tell me, if that works.

Please keep in mind that LVM 1.1 is unstable development software not meant
for production systems!

On Tue, Jun 04, 2002 at 02:53:34PM +0200, Stephan Austermuehle wrote:
> Hi,
> 
> using Kernel 2.4.18+XFS 1.1+LVM 1.1rc2+VFS lock I want to move an LV
> to a different PV to move the currently unprotected data to a mirrored
> device. I entered the following line as root (no su -):
> 
> 	# pvmove --version
> 	pvmove: Logical Volume Manager 1.1-rc1
> 	Heinz Mauelshagen, Sistina Software  15/03/2002 (IOP 10)
> 
> 	# pvmove /dev/vg00/lv_swap /dev/hda1 /dev/md0
> 	pvmove -- ERROR "pv_read(): device major number" reading source physical volume "/dev/vg00/lv_swap"
> 
> The mentioned LV is not in use.
> 
> Same problem with a native disk partition:
> 
> 	# pvmove /dev/vg00/lv_swap /dev/hda1 /dev/hdc1         
> 	pvmove -- ERROR "pv_read(): device major number" reading source physical volume "/dev/vg00/lv_swap"
> 
> The root file system is on an LV, too.
> 
> What's going on here?
> 
> Stephan
> 
> 
> _______________________________________________
> 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

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* [linux-lvm] Re: pvmove: ERROR "pv_read(): device major number"
  2002-06-04  8:26 ` Heinz J . Mauelshagen
@ 2002-06-04  8:47   ` Stephan Austermuehle
  2002-06-05  9:44     ` Stephan Austermuehle
  0 siblings, 1 reply; 5+ messages in thread
From: Stephan Austermuehle @ 2002-06-04  8:47 UTC (permalink / raw)
  To: linux-lvm

Hello, Heinz,

On Tue, Jun 04, 2002 at 03:20:42PM +0200, Heinz J . Mauelshagen wrote:

> Could you please either use LVM 1.1-rc2 or LVM 1.1 from top of CVS
> (see instructions at www.sistina.com IRT CVS repository on how to
> check that out) and tell me, if that works.

I've just tried it with 1.1-rc2 without success:

	# ./pvmove --version
	pvmove: Logical Volume Manager 1.1-rc2
	Heinz Mauelshagen, Sistina Software  23/04/2002 (IOP 10)

	# ./pvmove /dev/vg00/lv_swap /dev/hda1 /dev/hdc1
	pvmove -- ERROR "pv_read(): device major number" reading source physical volume "/dev/vg00/lv_swap"

I built the LVM tools statically to avoid interference with installed
packages (Debian Woody).

Stephan

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

* Re: [linux-lvm] Re: pvmove: ERROR "pv_read(): device major number"
  2002-06-04  8:47   ` [linux-lvm] " Stephan Austermuehle
@ 2002-06-05  9:44     ` Stephan Austermuehle
  2002-06-05 11:04       ` Stephan Austermuehle
  0 siblings, 1 reply; 5+ messages in thread
From: Stephan Austermuehle @ 2002-06-05  9:44 UTC (permalink / raw)
  To: linux-lvm

On Tue, Jun 04, 2002 at 03:46:38PM +0200, Stephan Austermuehle wrote:

> I've just tried it with 1.1-rc2 without success:

Same problem with LVM 1.0.4 using LVM 1.0.4 tools.

Stephan

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

* Re: [linux-lvm] Re: pvmove: ERROR "pv_read(): device major number"
  2002-06-05  9:44     ` Stephan Austermuehle
@ 2002-06-05 11:04       ` Stephan Austermuehle
  0 siblings, 0 replies; 5+ messages in thread
From: Stephan Austermuehle @ 2002-06-05 11:04 UTC (permalink / raw)
  To: linux-lvm

On Wed, Jun 05, 2002 at 04:43:38PM +0200, Stephan Austermuehle wrote:

> > I've just tried it with 1.1-rc2 without success:
> Same problem with LVM 1.0.4 using LVM 1.0.4 tools.

Oh, oh... the problem is sitting in front of the screen... I forgot
giving '-n' before the LV... Sorry.

Stephan

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

end of thread, other threads:[~2002-06-05 11:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-04  7:54 [linux-lvm] pvmove: ERROR "pv_read(): device major number" Stephan Austermuehle
2002-06-04  8:26 ` Heinz J . Mauelshagen
2002-06-04  8:47   ` [linux-lvm] " Stephan Austermuehle
2002-06-05  9:44     ` Stephan Austermuehle
2002-06-05 11:04       ` Stephan Austermuehle

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.