Bug#439518: pvmove: No extents available for allocation

Marc Lehmann debian-reportbug at plan9.de
Sat Aug 25 11:25:55 UTC 2007


Package: lvm2
Version: 2.02.26-1+b1
Severity: normal


   # pvmove /dev/sdc1:128000-179199 /dev/sdc1:0-51199
     No extents available for allocation

yet those pe's are free and allocatable:

  --- Physical volume ---
  PV Name               /dev/sdc1
  VG Name               vg_cerebro
  PV Size               1.82 TB / not usable 3.78 MB
  Allocatable           yes 
  PE Size (KByte)       4096
  Total PE              476826
  Free PE               128000
  Allocated PE          348826
  PV UUID               s0VNvS-U4li-n4Nq-LEcS-BF7X-2Wel-uT3ALa
   
  --- Physical Segments ---
  Physical extent 0 to 127999:
    FREE
  Physical extent 128000 to 179199:
    Logical volume      /dev/vg_cerebro/fswd
    Logical extents     297626 to 348825
  Physical extent 179200 to 476825:
    Logical volume      /dev/vg_cerebro/fswd
    Logical extents     0 to 297625

  VG Access             read/write
  VG Status             resizable
  Total PE              715239
  Alloc PE / Size       587239 / 2.24 TB
  Free  PE / Size       128000 / 500.00 GB

neither do these commands work, but fail with the same error message.

  pvmove /dev/sdc1:128000-179199 /dev/sdc1
  pvmove /dev/sdc1:128000-179199

I successfully moved pe's from this pv to another pv just before, so I
assume it has something to do with pvmove not allocating pes from the
source volume (but according to the docs this is supported).

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.21-2-amd64
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages lvm2 depends on:
hi  libc6                     2.6-2          GNU C Library: Shared libraries
ii  libdevmapper1.02.1        2:1.02.20-2    The Linux Kernel Device Mapper use
ii  libncurses5               5.6+20070716-1 Shared libraries for terminal hand
ii  libreadline5              5.2-2          GNU readline and history libraries
ii  libselinux1               2.0.15-2       SELinux shared libraries
ii  libsepol1                 2.0.3-1        Security Enhanced Linux policy lib

lvm2 recommends no packages.

-- debconf information:
  lvm2/kernel:
  lvm2/snapshots:




More information about the pkg-lvm-maintainers mailing list