I think the person who originally set up the server used windows to create a partition table so Linux could boot off of the array. &nbsp;Possibly to get around GPT partitioning?<div><br></div><div>In the RAID setup, I created two logical drives, a 200 GB drive for /boot, /, and the MBR, and a logical drive for the remainder of the 3.5TB of storage.</div>

<div><br></div><div>I re-installed debian, and after the install, I set up the second logical drive as a large LVM physical volume, created a large LVM group on top of that, and created a single large LVM logical volume on top of that. &nbsp;So far, so good.</div>
<div><br></div><div><br></div><div><div>~# pvs -v</div><div>Scanning for physical volume names</div><div>PV &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;VG &nbsp; &nbsp; &nbsp; &nbsp; Fmt &nbsp;Attr PSize PFree DevSize PV UUID</div><div>/dev/cciss/c0d1 bigstorevg lvm2 a- &nbsp; 3.22T &nbsp; &nbsp;0 &nbsp; &nbsp;3.22T lMjnFR-uAQ4-iBYT-rh17-egkN-q3Wi-BF0sSV</div>
<div><br></div><div><br></div><div><div>~# pvdisplay</div><div>&nbsp;&nbsp;--- Physical volume ---</div><div>&nbsp;&nbsp;PV Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /dev/cciss/c0d1</div><div>&nbsp;&nbsp;VG Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bigstorevg</div><div>&nbsp;&nbsp;PV Size &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3.22 TB / not usable 2.93 MB</div>
<div>&nbsp;&nbsp;Allocatable &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; yes (but full)</div><div>&nbsp;&nbsp;PE Size (KByte) &nbsp; &nbsp; &nbsp; 4096</div><div>&nbsp;&nbsp;Total PE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;844215</div><div>&nbsp;&nbsp;Free PE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0</div><div>&nbsp;&nbsp;Allocated PE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;844215</div><div><br></div>
<div><br></div><div><div>~# vgscan</div><div>&nbsp;&nbsp;Reading all physical volumes. &nbsp;This may take a while...</div><div>&nbsp;&nbsp;Found volume group &quot;bigstorevg&quot; using metadata type lvm2</div><div><br></div><div><br></div><div>
<div>~# lvdisplay</div><div>&nbsp;&nbsp;--- Logical volume ---</div><div>&nbsp;&nbsp;LV Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/dev/bigstorevg/bigstorelv</div><div>&nbsp;&nbsp;VG Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bigstorevg</div><div>&nbsp;&nbsp;LV UUID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;M0A2b9-N6el-Qxsu-r8Lq-qBn2-efnM-2MsGkZ</div>
<div>&nbsp;&nbsp;LV Write Access &nbsp; &nbsp; &nbsp; &nbsp;read/write</div><div>&nbsp;&nbsp;LV Status &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;available</div><div>&nbsp;&nbsp;# open &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1</div><div>&nbsp;&nbsp;LV Size &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3.22 TB</div><div>&nbsp;&nbsp;Current LE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 844215</div><div>&nbsp;&nbsp;Segments &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1</div>
<div>&nbsp;&nbsp;Allocation &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inherit</div><div>&nbsp;&nbsp;Read ahead sectors &nbsp; &nbsp; auto</div><div>&nbsp;&nbsp;- currently set to &nbsp; &nbsp; 256</div><div>&nbsp;&nbsp;Block device &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 254:0</div><div><br></div><div><br></div><div><div>~# df -h</div><div>
Filesystem &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Size &nbsp;Used Avail Use% Mounted on</div><div>/dev/cciss/c0d0p3 &nbsp; &nbsp; 189G &nbsp;612M &nbsp;179G &nbsp; 1% /</div><div>tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1.8G &nbsp; &nbsp; 0 &nbsp;1.8G &nbsp; 0% /lib/init/rw</div><div>udev &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 10M &nbsp; 88K &nbsp; 10M &nbsp; 1% /dev</div>
<div>tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1.8G &nbsp; &nbsp; 0 &nbsp;1.8G &nbsp; 0% /dev/shm</div><div>/dev/cciss/c0d0p1 &nbsp; &nbsp; 236M &nbsp; 15M &nbsp;209M &nbsp; 7% /boot</div><div>/dev/mapper/bigstorevg-bigstorelv</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3.2T &nbsp;199M &nbsp;3.1T &nbsp; 1% /storage</div>
<div><br></div></div></div></div></div><div><br></div>
<br><div class="gmail_quote">On Wed, Jan 7, 2009 at 8:43 PM, teh test3s <span dir="ltr">&lt;<a href="mailto:tehtest3s@gmail.com" target="_blank">tehtest3s@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

That&#39;s a GREAT question. &nbsp;The really weird thing is that the RAID array in question *does* actually have 3.2 TB of free space in it! &nbsp;(5 x 750GB SATA in RAID 5 array). &nbsp;I am completely baffled.<div><br></div><div><div>


~# blockdev --report</div><div>RO &nbsp; &nbsp;RA &nbsp; SSZ &nbsp; BSZ &nbsp; StartSec &nbsp; &nbsp; Size &nbsp; &nbsp;Device</div><div>rw &nbsp; 256 &nbsp; 512 &nbsp;4096 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp;409599360 &nbsp;/dev/cciss/c0d0</div><div>rw &nbsp; 256 &nbsp; 512 &nbsp; 512 &nbsp; &nbsp; &nbsp; &nbsp; 63 &nbsp;409593177 &nbsp;/dev/cciss/c0d0p1</div>


<div>rw &nbsp; 256 &nbsp; 512 &nbsp;4096 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 6915815280 &nbsp;/dev/cciss/c0d1</div><div>rw &nbsp; 256 &nbsp; 512 &nbsp;1024 &nbsp; &nbsp; &nbsp; &nbsp; 63 &nbsp; &nbsp; 497952 &nbsp;/dev/cciss/c0d1p1</div><div>rw &nbsp; 256 &nbsp; 512 &nbsp;4096 &nbsp; &nbsp; 498015 &nbsp; &nbsp;7807590 &nbsp;/dev/cciss/c0d1p2</div><div>rw &nbsp; 256 &nbsp; 512 &nbsp;1024 &nbsp; &nbsp;8305605 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2 &nbsp;/dev/cciss/c0d1p3</div>


<div>rw &nbsp; 256 &nbsp; 512 &nbsp; 512 &nbsp; &nbsp;8305668 2612532821 &nbsp;/dev/cciss/c0d1p5</div><div>rw &nbsp; 256 &nbsp; 512 &nbsp;4096 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp;409591808 &nbsp;/dev/dm-0</div><div><div></div><div><div><br></div><br><div class="gmail_quote">On Wed, Jan 7, 2009 at 8:35 PM, Alasdair G Kergon <span dir="ltr">&lt;<a href="mailto:agk@redhat.com" target="_blank">agk@redhat.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Wed, Jan 07, 2009 at 08:23:36PM -0500, teh test3s wrote:<br>
&gt; &nbsp; PV &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;VG &nbsp; &nbsp; &nbsp; &nbsp; Fmt &nbsp;Attr PSize &nbsp; PFree DevSize PV UUID<br>
</div><div>&gt; &nbsp; /dev/cciss/c0d1p5 volgroup00 lvm2 a- &nbsp; &nbsp; 3.22T 2.22T &nbsp; 1.22T<br>
&gt; wF9oyR-R0tf-bZeW-0es1-FhYK-f2g3-xS1Rd9<br>
<br>
</div>So that&#39;s what you need to explain:<br>
<br>
 &nbsp;How come LVM thinks that device is 3.22T while it&#39;s really only 1.22T ?<br>
<br>
Presumably blockdev --getsize will tell you the same.<br>
<br>
IOW It&#39;s not an LVM issue. &nbsp;Check your cciss partitioning.<br>
<br>
Alasdair<br>
<font color="#888888">--<br>
<a href="mailto:agk@redhat.com" target="_blank">agk@redhat.com</a><br>
</font></blockquote></div><br></div></div></div>
</blockquote></div><br></div>