linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] free space and no free PE
@ 2005-08-26 11:00 Antoine
  2005-08-26 11:52 ` Klaus Strebel
  0 siblings, 1 reply; 3+ messages in thread
From: Antoine @ 2005-08-26 11:00 UTC (permalink / raw)
  To: LVM general discussion and development

Hi

I'm trying to remove a PV from a VG but I'm unable to perform the pvmove 
because the free PE doesn't match the free space on the VG.. at all.

check output below, anyone has a clue why ? and how to correct this ?

pitch:~# df -h /mnt/test
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg1-test   64G   16G   45G  27% /mnt/test
pitch:~#
pitch:~#
pitch:~# vgdisplay vg1
   --- Volume group ---
   VG Name               vg1
   System ID
   Format                lvm2
   Metadata Areas        3
   Metadata Sequence No  6
   VG Access             read/write
   VG Status             resizable
   MAX LV                0
   Cur LV                1
   Open LV               1
   Max PV                0
   Cur PV                3
   Act PV                3
   VG Size               67.64 GB
   PE Size               4.00 MB
   Total PE              17317
   Alloc PE / Size       16640 / 65.00 GB
   Free  PE / Size       677 / 2.64 GB
   VG UUID               V9T0P5-PCML-z92w-GZot-Utlt-7GFF-z83i99
pitch:~# pvmove --version
   LVM version:     2.01.04 (2005-02-09)
   Library version: 1.01.00-ioctl (2005-01-17)
   Driver version:  4.1.1

pitch:~# pvdisplay
   --- Physical volume ---
   PV Name               /dev/sda1
   VG Name               vg1
   PV Size               16.87 GB / not usable 0
   Allocatable           yes (but full)
   PE Size (KByte)       4096
   Total PE              4318
   Free PE               0
   Allocated PE          4318
   PV UUID               64vFFO-7kRV-oAYa-6dxH-vLod-XClo-wX3h54

   --- Physical volume ---
   PV Name               /dev/sdb1
   VG Name               vg1
   PV Size               16.87 GB / not usable 0
   Allocatable           yes
   PE Size (KByte)       4096
   Total PE              4318
   Free PE               677
   Allocated PE          3641
   PV UUID               tAGCYo-8wGA-Y1Nr-8d0T-Wn0d-k9PW-Nf5bYj

   --- Physical volume ---
   PV Name               /dev/sdc1
   VG Name               vg1
   PV Size               33.91 GB / not usable 0
   Allocatable           yes (but full)
   PE Size (KByte)       4096
   Total PE              8681
   Free PE               0
   Allocated PE          8681
   PV UUID               ZYn0Lr-rVyB-9geT-pbfN-VQCg-vhcO-kHCYin

pitch:~# lvdisplay
   --- Logical volume ---
   LV Name                /dev/vg1/test
   VG Name                vg1
   LV UUID                Bge5z0-EWMD-vnQs-a08Y-beJR-uyFO-dxg0sj
   LV Write Access        read/write
   LV Status              available
   # open                 1
   LV Size                65.00 GB
   Current LE             16640
   Segments               5
   Allocation             contiguous
   Read ahead sectors     0
   Block device           254:1

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

end of thread, other threads:[~2005-08-26 12:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-26 11:00 [linux-lvm] free space and no free PE Antoine
2005-08-26 11:52 ` Klaus Strebel
2005-08-26 12:31   ` Antoine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).