All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Stephen Fralich" <sjfralic@syr.edu>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] pvmove error
Date: Wed Jul 16 09:53:01 2003	[thread overview]
Message-ID: <sf152e81.098@gwia201.syr.edu> (raw)

>> pvmove -- ERROR "Inappropriate ioctl for device" copying extent from "/dev/sdb"
>> 
>> pvmove -- ERROR "Inappropriate ioctl for device" moving physical extents
>> 
>> This appears on the console as well :: 
>> lvm -- lvm_chr_ioctl: unknown command 0x4004fe51

>The pvmove you are using is the redhat patched. The redhat pvmove use a
>ioctl call to move physical extends, ioctl(group, PE_LOCKED_COPY,
>&pe_copy_req);. You could patch the kernel to implement that call or
>install an unpatched pvmove.

I'm not using the redhat pvmove (v1.0.3).  I'm using pvmove 1.0.7 which I downloaded from the Sistina site.  I updated the rc scripts to use 1.0.7.  The volume was created totally under 1.0.7.  I'm using a plain kernel (from kernel.org) 2.4.21 patched with LVM 1.0.7 (from Sistina).

[root@sauron root]# /sbin/pvmove --version
pvmove: Logical Volume Manager 1.0.3
Heinz Mauelshagen, Sistina Software  19/02/2002 (IOP 10)
[root@sauron root]# pvmove --version
pvmove: Logical Volume Manager 1.0.7
Heinz Mauelshagen, Sistina Software  28/03/2003 (IOP 10)
[root@sauron root]# uname -a
Linux sauron.ecs.syr.edu 2.4.21 #1 Tue Jul 15 16:35:40 EDT 2003 i686 i686 i386 GNU/Linux
[root@sauron root]# more /proc/lvm/global
LVM module LVM version 1.0.7(28/03/2003)

Total:  1 VG  2 PVs  1 LV (1 LV open 1 times)

Global: 73677 bytes malloced   IOP version: 10   17:34:17 active

VG:  vg01  [2 PV, 1 LV/1 open]  PE Size: 32768 KB
  Usage [KB/PE]: 284295168 /8676 total  142147584 /4338 used  142147584 /4338 fr
ee
  PVs: [AA] sdc1                  142147584 /4338    142147584 /4338           0
 /0
       [AA] sdb1                  142147584 /4338           0 /0       142147584
 /4338
    LV:  [AWDL  ] lv01                     142147584 /4338     1x open

Stephen

---------------------------------------------------------------------
Computer & Information Technology Group            help@ecs.syr.edu
College of Engineering & Computer Science          Link 204, 443-4308
Syracuse University

             reply	other threads:[~2003-07-16  9:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-16  9:53 Stephen Fralich [this message]
2003-07-16 14:38 ` [linux-lvm] pvmove error Juan Pablo Giménez
  -- strict thread matches above, loose matches on Subject: below --
2003-07-16 14:48 Stephen Fralich
2003-07-14 13:25 Stephen Fralich
2003-07-16 14:38 ` Juan Pablo Giménez
2001-06-26 13:40 S. Michael Denton
2001-06-26 13:49 ` Heinz J. Mauelshagen
2001-06-26  2:08 S. Michael Denton
2001-06-26 10:14 ` Heinz J. Mauelshagen
2001-06-26 11:25   ` S. Michael Denton
2001-06-26 12:15     ` Heinz J. Mauelshagen
2001-06-26 13:05       ` S. Michael Denton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sf152e81.098@gwia201.syr.edu \
    --to=sjfralic@syr.edu \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.