View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Nov 18, 2009 1:07 am 
Offline
Joined: Thu Apr 06, 2006 8:36 pm
Posts: 35
Location: Clio, MI
I have had a Master backend/ frontend running for a long time, I have upgraded it to current release R6. Ive built a frontend only system that has the following hardware:

intel boxdg45fc mini-ITX, DVI - HDMI, 4 gig ram, 20 gig HDD, 2.83 GHZ dual core, Iguanna-IR tranciever.

isntalled and configured as a standalone for testing the cpu and onboard video for HD playback. Thumbs up on all but the sound on the HDMI....

Re installed as a frontend only.... here is the fun..... I cannot get nfs to work on this config. I have a windoz system connecting to samba and mapped drives to the MBE. I can watch TV over the network on the FE only system but cannot access the videos. I have tried AUTOFS, NFS and have checked the wiki, mythtv and arch, google gives me all the info on the r5 series.

I have NFS exported on the MBE/FE box :
Code:

[root@myth-box ~]# showmount myth-amd -e
Export list for myth-amd:
/myth 192.168.0.1/24



I have put various configs in the /ect/fstab all fail to mount the NFS share to the FE system on boot or manualy

Forgive me if this is covered some where but after several days of searching in circles and trying everything Ive found, Im giving in and asking, What are the magic lines to get the NFS share mounted to /myth on the FE only HDD.


Thanks...

_________________
MBE: GIGABYTE H77-DS3H, i3 CPU, 4GB ram, 1 x 16gb SSD , 2x3TB WD-RED, HVR-2250, Nvidia Video
FE only: Asus H81T/CSM Thin mini-ITX, Intel G3250 3.2Ghz, 4 GB DDR3, 320GB HDD
FE only: intel boxdg45fc mini-ITX, DVI - HDMI, 4GB, 20G HDD, 2.83 GHZ


Last edited by kc8vfa on Thu Nov 26, 2009 3:56 am, edited 1 time in total.


Top
 Profile  
 
PostPosted: Wed Nov 18, 2009 5:15 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
kc8vfa wrote:
Code:

[root@myth-box ~]# showmount myth-amd -e
Export list for myth-amd:
/myth 192.168.0.1/24


Are you sure the IP address you're allowing the export to is correct? If you just want to export to one machine it should look like this in /etc/exports (assuming IPv4):

Code:
/myth 192.168.0.1(<options here>)

If you want to export to your entire subnet, something like this would probably be in order:
Code:
/myth 192.168.0.0/24(<options here>)

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 18, 2009 11:52 pm 
Offline
Joined: Thu Apr 06, 2006 8:36 pm
Posts: 35
Location: Clio, MI
Thanks for catching my mistake with the incorrect subnet setting.....
Code:
 
/myth 192.168.0.0/24(<options here>)

is correct..... I was exporting to the router, not that it was listening.... hi hi.

Still no go on the FE mounting the NFS. Even after the corrected export (and reboot) ..... also have no joy with re-installing as FE only again just to make shure there are no other issues lurking in the background.

also some more that i forgot..... the fstab does have the entry:
Code:
#STARTSCRUB --------------anything in this block will be scrubbed
****::***:****:****:**** /myth    nfs
#ENDSCRUB


But it is not the mac address to the MBE .... Well not exactly.... the mac is in that # but there is a lot more info there....


will keep plugging away till i eather burn up the DVD drive installing or it works... LOL

_________________
MBE: GIGABYTE H77-DS3H, i3 CPU, 4GB ram, 1 x 16gb SSD , 2x3TB WD-RED, HVR-2250, Nvidia Video
FE only: Asus H81T/CSM Thin mini-ITX, Intel G3250 3.2Ghz, 4 GB DDR3, 320GB HDD
FE only: intel boxdg45fc mini-ITX, DVI - HDMI, 4GB, 20G HDD, 2.83 GHZ


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 19, 2009 12:14 am 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
For your reference, here's a line from my fstab on my workstation:
Code:
# Network Filesystems
192.168.1.2:/myth/md0   /myth/md0       nfs     defaults,_netdev,noatime,tcp,hard,intr,actimeo=0,wsize=65536,rsize=65536  0  0


Also be sure the following services are running on your FE:
    netfs
    nfslock

If they're listed in /var/service they should be running. You can check with this command:
Code:
$ sudo sv status <service_name>

If they are not running, start them with:
Code:
$ sudo sv start <service_name>

To make them start on boot:
Code:
$ sudo add_service.sh <service_name>

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 19, 2009 12:29 am 
Offline
Joined: Thu Apr 06, 2006 8:36 pm
Posts: 35
Location: Clio, MI
Thanks for the info.... that FSTAB entry was the final part to correct....

all the others fell into place with that entry.

I will make a wiki this weekend when I certify and compile all the steps (1 by 1) needed for a un-eventful install.

Thanks for all the help.

_________________
MBE: GIGABYTE H77-DS3H, i3 CPU, 4GB ram, 1 x 16gb SSD , 2x3TB WD-RED, HVR-2250, Nvidia Video
FE only: Asus H81T/CSM Thin mini-ITX, Intel G3250 3.2Ghz, 4 GB DDR3, 320GB HDD
FE only: intel boxdg45fc mini-ITX, DVI - HDMI, 4GB, 20G HDD, 2.83 GHZ


Top
 Profile  
 
PostPosted: Thu Nov 26, 2009 3:53 am 
Offline
Joined: Thu Apr 06, 2006 8:36 pm
Posts: 35
Location: Clio, MI
MBE (master backend/Frontend)

All commands entered as root, or sudo from within myth xterm. I do everything from ssh so root is easier for me as I keep a text file of all commands I run in another window.

do an install as master backend. Configure for your network and setup hardware, tuners storage options.

I have installed my MBE on an 80 gig drive and also have 2x320gig drives set as LVM.
I have found this to be a very good setup as it allows the system to be reinstalled/upgraded without risk to the most important part of the system, the /myth folder.

If you have no need for LVM then skip to: finaly to prep for frontends:

fist to enable LVM:
Code:
nano /etc/rc.conf

around line 59:
Code:
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no" 

change to USELVM="yes"
save and reboot.

Code:
nano /etc/fstab

look at the uuid=
    UUID=ee27b6b2-008a-4f30-9cb5-2c24f03c84db / auto defaults,noatime 0 1
    UUID=3f411de5-0346-4ddb-b125-c1111d004413 /myth auto defaults,noatime 0 1
    UUID=1221da69-ec57-4f05-a2c5-7af8a123e4af swap swap defaults 0 0
copy or make note of the uuid and the mount point, exit nano then:
Code:
ls /dev/disk/by-uuid/

    1221da69-ec57-4f05-a2c5-7af8a123e4af d8354caf-f45f-41ca-823f-d7c3fcbef76b
    3f411de5-0346-4ddb-b125-c1111d004413 ee27b6b2-008a-4f30-9cb5-2c24f03c84db
there is the LVM:
    d8354caf-f45f-41ca-823f-d7c3fcbef76b
add a line to fstab:
Code:
nano /etc/fstab

    UUID=d8354caf-f45f-41ca-823f-d7c3fcbef76b /lvm auto defaults,auto 0 2
save and exit to mount the changes to /etc/fstab:
Code:
mount -a


if you want you can replace the UUID for the /myth mount point with the UUID for the LVM. This then only needs the one export
and no symbolic links.

I have found that NFS (maybe the way I have it here) does not follow symbolic links in the exported folders. This makes setup a little more complicated.

for example:

/myth is on sda
/lvm is on /dev/vg/myth

and I have:

ln -s /lvm/video /myth/video

the exported NFS points /myth/video to /lvm/video but if the /lvm is not exported then /myth/video is empty (missing source)
So if your /myth or its contents are accrossed several disks all will need an export on the MBE and all will need mounted on the frontends that will connect to the MBE.

finaly to prep for frontends:

Code:
nano /etc/exports



    # See exports(5) for a description.
    # use exportfs -arv to reread

    /myth 192.168.0.0/24*(rw,async,subtree_check) #
    /lvm 192.168.0.0/24*(rw,async,subtree_check) #

save and exit
then
Code:
 /usr/sbin/exportfs -arv 

to export folders for the frontend systems to use.

Your MBE is complete, drink a Pepsi, relax.


FrontEnd only system:

do FE only install and configure for your hardware....

then to get NFS working:

as root:
Code:
nano /etc/fstab

Comment out the line that points to your HDD mounted /myth folders:
    #UUID=********-****-****-****-************ /myth auto defaults,noatime 0 1
Also remove line between:
Code:
#STARTSCRUB --------------anything in this block will be scrubbed
/myth       nfs
#ENDSCRUB

then Add line(s) for your MBE NFS exports one line per exported folder:
Code:
192.168.0.25:/myth /myth nfs auto,noatime,nolock,rsize=32768,wsize=32768 0 0
192.168.0.25:/lvm  /lvm  nfs auto,noatime,nolock,rsize=32768,wsize=32768 0 0

create directories in the root of the FE
Code:
mkdir /myth /lvm

Reboot and set your media settings (music,video,pictures) and point at the local mounts /myth

I put this all here to compile the steps required to install Master backend/frontend and frontend only systems from blank drives using R601.00 with minium issues. All this info was gathered from the forum here as well as several Wiki pages. Thanks to all that contrubited to the answers covered here.

_________________
MBE: GIGABYTE H77-DS3H, i3 CPU, 4GB ram, 1 x 16gb SSD , 2x3TB WD-RED, HVR-2250, Nvidia Video
FE only: Asus H81T/CSM Thin mini-ITX, Intel G3250 3.2Ghz, 4 GB DDR3, 320GB HDD
FE only: intel boxdg45fc mini-ITX, DVI - HDMI, 4GB, 20G HDD, 2.83 GHZ


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu