LinHES Forums http://forums.linhes.org/ |
|
Adding a FE only to a MBE/FE existing setup - Solved! http://forums.linhes.org/viewtopic.php?f=22&t=20535 |
Page 1 of 1 |
Author: | kc8vfa [ Wed Nov 18, 2009 1:07 am ] |
Post subject: | Adding a FE only to a MBE/FE existing setup - Solved! |
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... |
Author: | mihanson [ Wed Nov 18, 2009 5:15 pm ] |
Post subject: | Re: Adding a FE only to a MBE/FE existing setup how to? |
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>)
|
Author: | kc8vfa [ Wed Nov 18, 2009 11:52 pm ] |
Post subject: | |
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 |
Author: | mihanson [ Thu Nov 19, 2009 12:14 am ] |
Post subject: | |
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:
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>
|
Author: | kc8vfa [ Thu Nov 19, 2009 12:29 am ] |
Post subject: | |
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. |
Author: | kc8vfa [ Thu Nov 26, 2009 3:53 am ] |
Post subject: | Adding a FE only to a MBE/FE existing setup how to Complete! |
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=3f411de5-0346-4ddb-b125-c1111d004413 /myth auto defaults,noatime 0 1 UUID=1221da69-ec57-4f05-a2c5-7af8a123e4af swap swap defaults 0 0 Code: ls /dev/disk/by-uuid/
3f411de5-0346-4ddb-b125-c1111d004413 ee27b6b2-008a-4f30-9cb5-2c24f03c84db
Code: nano /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
# 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:
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. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |