<div dir="ltr">On Sat, Oct 11, 2008 at 10:56 PM, James Oltman <span dir="ltr"><<a href="mailto:cnlibmyth@gmail.com">cnlibmyth@gmail.com</a>></span> wrote:<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;">
<div dir="ltr"><div><div></div><div class="Wj3C7c">On Wed, Oct 8, 2008 at 10:21 PM, James Oltman <span dir="ltr"><<a href="mailto:cnlibmyth@gmail.com" target="_blank">cnlibmyth@gmail.com</a>></span> wrote:<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;">
<div dir="ltr">This isn't exactly a Myth issue, but I know that you lot are some of the smartest so I pose this question to you. I recently lost the OS drive in my backend box. I slapped in a new drive, and threw MythBuntu back on. I setup my MDADM array and it found it no problems. I setup my UID to be the same as what it was (1001) and my FE found it just fine. I put in some exports in my BE. They are as follows:<br>
<br>/storage *(rw,async)<br>/storage/mythvideo *(ro,async,no_root_squash,no_subtree_check)<br>/storage/pix *(ro,async,no_root_squash,no_subtree_check)<br>/storage/music *(ro,async,no_root_squash,no_subtree_check)<br>
/storage/cover *(ro,async,no_root_squash,no_subtree_check)<br><br><br>Here is my FE fstab:<br><br># /etc/fstab: static file system information.<br>#<br># <file system> <mount point> <type> <options> <dump> <pass><br>
proc /proc proc defaults 0 0<br># /dev/sda1<br>UUID=7c164040-1f13-4f3b-bb47-a57ae02bac46 / ext3 relatime,errors=remount-ro 0 1<br># /dev/sda5<br>UUID=4318fa0b-4009-4445-b731-d23921bfaed0 none swap sw 0 0<br>
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0<br>/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0<br>10.0.0.23:/storage/mythvideo /var/lib/mythtv/videos nfs defaults 0 0<br>
10.0.0.23:/storage/pix /var/lib/mythtv/pictures nfs defaults 0 0<br>10.0.0.23:/storage/music /var/lib/mythtv/music nfs defaults 0 0<br>10.0.0.23:/storage/cover /var/lib/mythtv/cover nfs defaults 0 0<br>
<br><br>When I'm in the FE and in the directory: /var/lib/mythtv/videos/Movies folder, the file sizes of the files (ISOs in particular) in that folder, don't match the file sizes in the directory on my backend. I don't understand why this is happening. When I'm watching these files, xine or mplayer cut out a few minutes into the movie cuz the NAV packets are in error. What am I doing wrong? What can I do to fix this? I'm not seeing any errors in the logs (dmesg or /var/log/messages). Any help would be VERY much appreciated. I am on the latest updates for MythBuntu on my FE and BE. I don't see any problems in HD recordings, or SD recordings. Just items that were on the BE before the crash. I've tried watching the files on the backend, and they're totally fine. So I know the BE is OK, but something is happening. Thanks!<br>
<br>Jim<br></div>
</blockquote></div><br></div></div>After a little more searching, I've discovered that this is a problem with NFS. I'm have an SMB share and it is showing the correct file sizes. I think it might have something to do with NFSv2, but I don't know how to stop the BE from accepting NFSv2 connections. I've tried putting in the nfsver=3 command into FSTAB, but it's not making a difference. Here is the output of nfsstat on the backend:<br>
<br>Server rpc stats:<br>calls badcalls badauth badclnt xdrcall<br>4271259 0 0 0 0<br><br>Server nfs v2:<br>null getattr setattr root lookup readlink<br>
65 0% 1229208 28% 0 0% 0 0% 63245 1% 0 0%<br>read wrcache write create remove rename<br>2977630 69% 0 0% 0 0% 5 0% 0 0% 0 0%<br>
link symlink mkdir rmdir readdir fsstat<br>0 0% 0 0% 0 0% 0 0% 746 0% 307 0%<br><br>Server nfs v3:<br>null getattr setattr lookup access readlink<br>
53 100% 0 0% 0 0% 0 0% 0 0% 0 0%<br>read write create mkdir symlink mknod<br>0 0% 0 0% 0 0% 0 0% 0 0% 0 0%<br>
remove rmdir rename link readdir readdirplus<br>0 0% 0 0% 0 0% 0 0% 0 0% 0 0%<br>fsstat fsinfo pathconf commit<br>0 0% 0 0% 0 0% 0 0%<br>
<br>Client rpc stats:<br>calls retrans authrefrsh<br>0 0 0<br><br>If I'm reading this right, it's saying that it's accepting NFSv2 connections. Any help would be appreciated. Thanks!<br>
<br>Jim<br></div>
</blockquote></div><br>Does anyone know how to force NFS3 or above on Ubuntu? I'm currently using CIFS to get my mythvideo folder on the frontend. Thanks!<br><br>Jim<br></div>