Calling all LVM experts!!<br>
<br>
Up until recently, I had been running LVM with only a single physical
volume.&nbsp; I probably have 100GB of data files in the volume,
waiting to be watched.&nbsp; So, Myth was running fine and all was
well, except I had a 150GB partition just laying around, not in
use.&nbsp; So, I decided to extend my volume group and add this 150GB
to it, like so:<br>
<ol style="font-style: italic;">
<li>Using fdisk, deleted /dev/hda4 partition</li><li>Using fdisk, created /dev/hda4 as LVM</li><li>Created physical volume:&nbsp; pvcreate /dev/hda4</li><li>Extended volume group:&nbsp; vgextend vg /dev/hda4</li><li>Ran vgdisplay&nbsp; to see amount of free space that needs to be extended (18214)
</li><li>unmount the volume group:&nbsp; umount /dev/vg/video</li><li>extend:&nbsp; lvextend -l +18214 /dev/vg/video</li><li>mount /dev/vg/video</li><li>grow the xfs file system:&nbsp; xfs_grow /dev/vg/video</li><li>Remove /video from /etc/fstab
<br>
  </li>
</ol>


Now, df -k shows the new space: <br style="font-style: italic;">


<br style="font-style: italic;">


[root@mythtv ~]# df -k<br>


Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1K-blocks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used Available Use% Mounted on
<br>


/dev/hda2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
10080520&nbsp;&nbsp; 2938120&nbsp;&nbsp; 6630332&nbsp; 31% /<br>


/dev/hda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
101086&nbsp;&nbsp;&nbsp;&nbsp; 16752&nbsp;&nbsp;&nbsp;&nbsp;
79115&nbsp; 18% /boot<br>


none&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
257908&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp; 257908&nbsp;&nbsp; 0% /dev/shm<br style="font-style: italic;">


/dev/mapper/vg-video<span style="font-style: italic;"> 442105856 113816336 328289</span>520&nbsp; 26% /video2<br>
<br>
Everything appeared to be OK.&nbsp; I now had a 450GB partition for
myth, instead of 300GB.&nbsp; However, I soon discovered that new files
are written with a
length of zero (empty files).&nbsp; Doh!&nbsp; The mythfrontend was
able to play back the existing files that were in the VG, but if I
tried to delete a file, the frontend would hang.&nbsp; That's when I
knew I had a problem for sure.&nbsp; <br>
<br>
Also odd is that when, as root, I cat /dev/video0 &gt; /video2/xxx.mpg,
this file is also empty.&nbsp;&nbsp; However, if I copy an existing
file, as in<br>
<br>
cp /video2/blah blah.nuv /video2/xxx, it shows up with the proper
length.&nbsp; So old files copy correctly, but new files are not
written correctly.&nbsp; <br>
<br>
WTF?<br>
<br>
There are no error messages in either the myth logs, nor the log file at /var/log/messages.<br>
<br>
I did notice that one of the HDs is running DMA 100, while the other is DMA 133.&nbsp; Does this matter to LVM?&nbsp; <br>
<br>Anyone have any thoughts as to what might be causing
this?&nbsp;&nbsp; I am totally stumped.&nbsp; If there is a way to back
out and shrink the VG back to 300GB to fix this, I'm all ears!<br>
<span style="font-style: italic;"></span><br>