[mythtv-users] Issues with shared NFS media store

Jose Bernardo Bandos Rodrigues jose.bandos at gmail.com
Tue Jan 8 23:27:00 UTC 2008


On Dec 1, 2007 4:29 AM, Michael T. Dean <mtdean at thirdcontact.com> wrote:
>
> But Myth checks both, though, so one needs to run the 2 df's within
> about 5 seconds of each other and verify that the space used--also--is
> within the 16kiB (2048kiB for trunk) being used by Myth.
>

I appear to have been bitten by some kind of related bug. For
historical reasons (meaning I am using volumes I had available) I am
exporting two FS from the master, and one for the slave. The relevant
df -k with a couple seconds difference:
Slave (exports /home/myth):
/dev/hda7            159871976  43142748 110232544  29% /home
master:/media/www
                      14452800  10917664   2800992  80% /media/www
master:/oe/myth
                      61931296  52402016   6383360  90% /oe/myth

Master (exports /oe/myth and /var/www):
/dev/sdb1             14452776  10917640   2800968  80% /media/www
/dev/sda11            61931268  52402012   6383332  90% /oe
slave:/home/myth
                     159872000  43142752 110232544  29% /media/slave

The problem does not seem to be the "wsize=32768,rsize=32768"
parameters in fstab. Without them:
Slave:
/dev/hda7            159871976  43142748 110232544  29% /home
master:/media/www
                      14452800  10917664   2800992  80% /media/www
master:/oe/myth
                      61931296  52402016   6383360  90% /oe/myth

Master:
/dev/sdb1             14452776  10917640   2800968  80% /media/www
/dev/sda11            61931268  52402012   6383332  90% /oe
slave:/home/myth
                     159872000  43142752 110232544  29% /media/slave

And so I have in myth 6 "drives", when I really only have 3:
    *  MythTV Drive #1:
          o Directory: master:/media/slave
          o Total Space: 156,125 MB
          o Space Used: 48,476 MB
          o Space Free: 107,648 MB
    * MythTV Drive #2:
          o Directory: master:/media/www
          o Total Space: 14,114 MB
          o Space Used: 11,378 MB
          o Space Free: 2,735 MB
    * MythTV Drive #3:
          o Directory: master:/oe/myth
          o Total Space: 60,479 MB
          o Space Used: 54,246 MB
          o Space Free: 6,233 MB
    * MythTV Drive #4:
          o Directory: slave:/home/myth
          o Total Space: 156,124 MB
          o Space Used: 48,476 MB
          o Space Free: 107,648 MB
    * MythTV Drive #5:
          o Directory: slave:/media/www
          o Total Space: 14,114 MB
          o Space Used: 11,378 MB
          o Space Free: 2,735 MB
    * MythTV Drive #6:
          o Directory: slave:/oe/myth
          o Total Space: 60,479 MB
          o Space Used: 54,246 MB
          o Space Free: 6,233 MB
    * Total Disk Space:
          o Total Space: 461,437 MB
          o Space Used: 228,201 MB
          o Space Free: 233,236 MB

I am using trunk, mythbuntu's weekly builds under kubuntu gutsy.
I had just given up on samba as it would sometimes not mount the
filesystems, but nfs is proving much harder to tackle...

Ah, my /etc/exports contents are:
slave:
/home/myth
master(rw,async,no_subtree_check,all_squash,anonuid=xxx,anongid=yyy)
/home/myth-live
master(rw,async,no_subtree_check,all_squash,anonuid=xxx,anongid=yyy)

master:
/oe/myth
slave(rw,fsid=1,async,no_subtree_check,all_squash,anonuid=xxx,anongid=yyy)
/media/www
slave(rw,fsid=2,async,no_subtree_check,all_squash,anonuid=xxx,anongid=yyy)

Any ideas, anyone?


More information about the mythtv-users mailing list