Linux LVM users
 help / color / mirror / Atom feed
From: "Christian Hack" <christianh@edmi.com.au>
To: 'LVM general discussion and development' <linux-lvm@redhat.com>
Subject: RE: [linux-lvm] Why do I only have 11.51GB Free PE's when DF says Ihave 441GB free in the volume?
Date: Mon, 30 Aug 2004 17:49:33 +1000	[thread overview]
Message-ID: <006501c48e65$e40461b0$1c01010a@christianh> (raw)
In-Reply-To: <000001c48e44$4c38d5d0$1400000a@nforce>

Your file system although only 59% used still occupies the PEs. The space is
allocated by the file system and thus also by the logical volume group.

To fix this you need to:
1) Unmount and reduce your file system size first. 
2) Then reduce the logical volume using lvreduce
3) Then use pvmove to remove the failing physical device

The tool you use to resize your file system is obviously dependant on the
file system, and I can't see what you are using so you'll have to work that
out yourself.

I think this is all right, but it's off the top of my head so if I'm wrong
please correct me guys.

CH

.
> -----Original Message-----
> From: linux-lvm-bounces@redhat.com 
> [mailto:linux-lvm-bounces@redhat.com] On Behalf Of Benjamin Runnels
> Sent: Monday, 30 August 2004 1:49 PM
> To: 'LVM general discussion and development'
> Subject: [linux-lvm] Why do I only have 11.51GB Free PE's 
> when DF says Ihave 441GB free in the volume?
> 
> 
> Anyone know how I can free up some PE's so I can do pvmove on 
> a 160gb PV I
> think may be failing?
> 
> 
> 
> p4:~ # vgdisplay
>   --- Volume group ---
>   VG Name               solar
>   System ID             
>   Format                lvm2
>   Metadata Areas        6
>   Metadata Sequence No  20
>   VG Access             read/write
>   VG Status             resizable
>   MAX LV                256
>   Cur LV                1
>   Open LV               1
>   Max PV                256
>   Cur PV                6
>   Act PV                6
>   VG Size               1.01 TB
>   PE Size               4.00 MB
>   Total PE              265091
>   Alloc PE / Size       262144 / 1.00 TB
>   Free  PE / Size       2947 / 11.51 GB
>   VG UUID               nEwuBX-aKsk-gFIb-DrqQ-zREN-33SE-R09Q4b
>    
> p4:~ # df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/hda2             38569376  11102844  27466532  29% /
> tmpfs                   128216         4    128212   1% /dev/shm
> /dev/mapper/solar-saturn
>                      1073709052 632227192 441481860  59% /media/saturn
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 

  reply	other threads:[~2004-08-30  7:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-28 21:09 [linux-lvm] pvmove wont work Andreas Dahlgren
2004-08-28 21:34 ` Rupert Hair
2004-08-30  3:49   ` [linux-lvm] Why do I only have 11.51GB Free PE's when DF says I have 441GB free in the volume? Benjamin Runnels
2004-08-30  7:49     ` Christian Hack [this message]
2004-08-31  0:52       ` [linux-lvm] Why do I only have 11.51GB Free PE's when DF saysIhave " Benjamin Runnels
2004-08-30 15:46   ` [linux-lvm] pvmove wont work AJ Lewis

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='006501c48e65$e40461b0$1c01010a@christianh' \
    --to=christianh@edmi.com.au \
    --cc=linux-lvm@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox