From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j7QB0sV06324 for ; Fri, 26 Aug 2005 07:00:54 -0400 Received: from smtp-ft4.fr.colt.net (smtp-ft4.fr.colt.net [213.41.78.203]) by mx3.redhat.com (8.13.1/8.13.1) with ESMTP id j7QB0hiI015305 for ; Fri, 26 Aug 2005 07:00:47 -0400 Received: from [10.33.254.56] (noc-bes.adm.fr.colt.net [195.68.1.120]) by smtp-ft4.fr.colt.net (8.13.4/8.13.4/Debian-3) with ESMTP id j7QB0WqY007665 for ; Fri, 26 Aug 2005 13:00:32 +0200 Message-ID: <430EF633.5050609@chwing.com> Date: Fri, 26 Aug 2005 13:00:03 +0200 From: Antoine MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [linux-lvm] free space and no free PE Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" 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