2010/8/11 Rahul Nabar <span dir="ltr"><<a href="mailto:rpnabar@gmail.com">rpnabar@gmail.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Some of the physical volumes show "Allocatable yes (but<br>
full)" while others don't. How does one relate this to the actual<br>
capacity? THe reason I am confused is that 3 of my PV's show up as<br>
full and each is 1.63 TB. Thus the total full space would come to 4.89<br>
TB. But the sum of full space of all my LV's is only around 3 TB<br>
(based on the output of df)<br>
<br>
I've reproduced the outputs of pvdisplay, lvdisplay and df below.<br>
<br>
I'm confused! Any pointers?<br>
<br>
--<br>
Rahul<br>
<br></blockquote><div><br>Hi Rahul,<br>you really appear to have 6 PV (not three) of 1.63TB each and all that storage space is assigned to the VG euclid_highperf_storage .<br>The VG has three LV defined from it and indeed has free space; using these LV you created three filesystems which have free space too, as Ray just explained.<br>
<br>You have not shown the output of a vgs command but if If you issue it you should see something like this:<br><br>#vgs<br> VG #PV #LV #SN Attr VSize VFree<br> euclid_highperf_storage 6 3 0 wz--n- 9.8T 1.22T<br>
<br>and so you still have 1.22 TB of free space to use<br><br>some math...<br><br>Details from pvdisplay:<br>PE Size (KByte) 4096 = 4MB<br>VG Name euclid_highperf_storage<br>Total PE= 428351*6 = 2570106*4MB = 10280424 MB = 9.8TB<br>
total Free PE: 38140+140607+140607 = 319354*4MB = 1277416M = 1.22 TB<br>total Allocated PE: 428351*3+390211+287744+287744 = 2250752*4MB = 9003008 MB = 8.58 TB<br><br>Details from lvdisplay:<br>Current LE 1572864+153600+524288 = 2250752 <br>
exactly like the Allocated PE in pvdisplay<br><br>Best regards,<br>Giorgio. <br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
[root@eustorage ~]# pvdisplay<br>
--- Physical volume ---<br>
PV Name /dev/sdb<br>
VG Name euclid_highperf_storage<br>
PV Size 1.63 TB / not usable 4.00 MB<br>
Allocatable yes (but full)<br>
PE Size (KByte) 4096<br>
Total PE 428351<br>
Free PE 0<br>
Allocated PE 428351<br>
PV UUID wDdbmP-2n5m-98HD-Ewqk-Q3y0-lnMf-rsaVXt<br>
<br>
--- Physical volume ---<br>
PV Name /dev/sdc<br>
VG Name euclid_highperf_storage<br>
PV Size 1.63 TB / not usable 4.00 MB<br>
Allocatable yes (but full)<br>
PE Size (KByte) 4096<br>
Total PE 428351<br>
Free PE 0<br>
Allocated PE 428351<br>
PV UUID 75i75q-2rec-2FMf-eyPa-W0nF-zFHH-PIAvvc<br>
<br>
--- Physical volume ---<br>
PV Name /dev/sdd<br>
VG Name euclid_highperf_storage<br>
PV Size 1.63 TB / not usable 4.00 MB<br>
Allocatable yes (but full)<br>
PE Size (KByte) 4096<br>
Total PE 428351<br>
Free PE 0<br>
Allocated PE 428351<br>
PV UUID vo2Jh2-PfFC-eOj4-GYnP-Jx1I-Sisu-2nY4lC<br>
<br>
--- Physical volume ---<br>
PV Name /dev/sde<br>
VG Name euclid_highperf_storage<br>
PV Size 1.63 TB / not usable 4.00 MB<br>
Allocatable yes<br>
PE Size (KByte) 4096<br>
Total PE 428351<br>
Free PE 38140<br>
Allocated PE 390211<br>
PV UUID EK7cvF-IZjf-PJVw-d2RR-lCdt-kOSD-iqFtOf<br>
<br>
--- Physical volume ---<br>
PV Name /dev/sdf<br>
VG Name euclid_highperf_storage<br>
PV Size 1.63 TB / not usable 4.00 MB<br>
Allocatable yes<br>
PE Size (KByte) 4096<br>
Total PE 428351<br>
Free PE 140607<br>
Allocated PE 287744<br>
PV UUID fQXN8S-HhYu-weoq-kbuz-BrxZ-6WQk-6ydBDw<br>
<br>
--- Physical volume ---<br>
PV Name /dev/sdg<br>
VG Name euclid_highperf_storage<br>
PV Size 1.63 TB / not usable 4.00 MB<br>
Allocatable yes<br>
PE Size (KByte) 4096<br>
Total PE 428351<br>
Free PE 140607<br>
Allocated PE 287744<br>
PV UUID i7GD1d-rbd2-efKd-uK3u-D3S2-BxJv-UkrNve<br>
<br>
[root@eustorage ~]# df -h<br>
Filesystem Size Used Avail Use% Mounted on<br>
/dev/sda2 76G 8.6G 64G 12% /<br>
/dev/sda6 19G 365M 17G 3% /var<br>
/dev/sda5 15G 165M 14G 2% /tmp<br>
/dev/sda1 487M 17M 445M 4% /boot<br>
tmpfs 24G 0 24G 0% /dev/shm<br>
/dev/mapper/euclid_highperf_storage-LV_home<br>
6.0T 1.4T 4.4T 24% /home<br>
/dev/mapper/euclid_highperf_storage-LV_export<br>
591G 17G 550G 3% /opt<br>
/dev/mapper/euclid_highperf_storage-LV_polhome<br>
2.0T 1.5T 386G 80% /polhome<br>
[root@eustorage ~]# lvdisplay<br>
--- Logical volume ---<br>
LV Name /dev/euclid_highperf_storage/LV_home<br>
VG Name euclid_highperf_storage<br>
LV UUID gu7yo1-TYYr-ucHG-QSDk-y8HD-ETrs-Z5kCk9<br>
LV Write Access read/write<br>
LV Status available<br>
# open 1<br>
LV Size 6.00 TB<br>
Current LE 1572864<br>
Segments 1<br>
Allocation inherit<br>
Read ahead sectors auto<br>
- currently set to 1536<br>
Block device 253:0<br>
<br>
--- Logical volume ---<br>
LV Name /dev/euclid_highperf_storage/LV_export<br>
VG Name euclid_highperf_storage<br>
LV UUID 1lktLy-Hgn3-qS1m-41VJ-5kNY-DMyb-1ri4Th<br>
LV Write Access read/write<br>
LV Status available<br>
# open 1<br>
LV Size 600.00 GB<br>
Current LE 153600<br>
Segments 1<br>
Allocation inherit<br>
Read ahead sectors auto<br>
- currently set to 1536<br>
Block device 253:1<br>
<br>
--- Logical volume ---<br>
LV Name /dev/euclid_highperf_storage/LV_polhome<br>
VG Name euclid_highperf_storage<br>
LV UUID xqpOX5-HFey-H0qi-NgjP-NVS7-FwDb-zbiK8m<br>
LV Write Access read/write<br>
LV Status available<br>
# open 1<br>
LV Size 2.00 TB<br>
Current LE 524288<br>
Segments 4<br>
Allocation inherit<br>
Read ahead sectors auto<br>
- currently set to 256<br>
Block device 253:2<br>
<div><div></div><div class="h5"><br>
</div></div></blockquote><div> </div></div>