[linux-lvm] PFree is 0 on a drive with nothing on it

Adam Mooz adam.mooz at gmail.com
Thu Nov 5 07:57:53 UTC 2009


Hello List,

I have a fileserver that is driving me nuts at the moment.  Setup:
4x 1TB HDD's
1x 320GB HDD
They all have the same partition layout:
512MB Swap, rest is LVM data.
The LVM only contains ~400GB of data, but 2 of the TB drives report  
having 0 free PFree's:
   PV                   VG        Fmt  Attr PSize   PFree
   /dev/mapper/cryptsda fileshare lvm2 a-   931.03G      0
   /dev/mapper/cryptsdb fileshare lvm2 a-   931.03G      0
   /dev/mapper/cryptsdc fileshare lvm2 a-   297.61G 297.61G
   /dev/mapper/cryptsdd fileshare lvm2 a-   931.03G 633.42G
   /dev/mapper/cryptsde           lvm2 --   931.04G 931.04G

I've successfully managed to remove SDE from the LVM, but I need to  
move the data off SDD onto either SDA or SDB.  When the whole system  
is mounted it properly reports having 2.1TB of free space (931 * 2 +  
297). Is there an easy way to fix this issue?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20091105/878ff9fe/attachment.htm>


More information about the linux-lvm mailing list