[linux-lvm] PFree is 0 on a drive with nothing on it
Adam Mooz
adam.mooz at gmail.com
Thu Nov 5 15:36:35 UTC 2009
Here it is for both SDA and SDB:
#pvdisplay -m /dev/mapper/cryptsda
File descriptor 4 left open
--- Physical volume ---
PV Name /dev/mapper/cryptsda
VG Name fileshare
PV Size 931.04 GB / not usable 3.87 MB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 238344
Free PE 0
Allocated PE 238344
PV UUID 6OfRxC-R59i-CVjX-igtB-pg4e-2qAw-OdiPSc
--- Physical Segments ---
Physical extent 0 to 238343:
Logical volume /dev/fileshare/lv_fileshare
Logical extents 0 to 238343
#pvdisplay -m /dev/mapper/cryptsdb
File descriptor 4 left open
--- Physical volume ---
PV Name /dev/mapper/cryptsdb
VG Name fileshare
PV Size 931.04 GB / not usable 3.87 MB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 238344
Free PE 0
Allocated PE 238344
PV UUID zCLder-PF5b-fQpy-RdMS-Ayc0-caWh-LA2Esm
--- Physical Segments ---
Physical extent 0 to 238343:
Logical volume /dev/fileshare/lv_fileshare
Logical extents 238344 to 476687
On 2009-11-05, at 10:10 AM, Ray Morris wrote:
> What is the output of?:
>
> pvdisplay -m /dev/mapper/cryptsda
>
>
> --
> Ray Morris
> support at bettercgi.com
>
> Strongbox - The next generation in site security:
> http://www.bettercgi.com/strongbox/
>
> Throttlebox - Intelligent Bandwidth Control
> http://www.bettercgi.com/throttlebox/
>
> Strongbox / Throttlebox affiliate program:
> http://www.bettercgi.com/affiliates/user/register.php
>
>
> On 11/05/2009 01:57:53 AM, Adam Mooz wrote:
>> 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?
>
> ------quoted attachment------
>> _______________________________________________
>> linux-lvm mailing list
>> linux-lvm at redhat.com
>> https://www.redhat.com/mailman/listinfo/linux-lvm
>> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20091105/f22cf0a8/attachment.htm>
More information about the linux-lvm
mailing list