Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[Question] NFS Installation guide
Thank you for your donation

Pages (2): 1 2 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
[Question] NFS Installation guide
3rd Mar, 2014, 07:55 PM
Post: #1
Rubman Offline
Registered
Posts: 23
Joined: Jul 2013
Reputation: 0
[Question] NFS Installation guide
Is there a proper guide available or would someone be willing to write a proper guide to installing Xbian to NFS.

Is it possible to do it via the Xbian config that you acces via Putty an just putting a different path instead of SDA1 for USB?
Find all posts by this user
Quote this message in a reply
4th Mar, 2014, 03:15 AM
Post: #2
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: [Question] NFS Installation guide
I'm not an expert, and have never tried, but I believe what you said is the correct path.
1/ Use xbian-config to create the structure (Follow the described description) Warning it will erase everything!!
2/ Change cmdline.txt to the new /.

That's all I believe.

If you're unsure - wait a bit someone will have a better idea.

If you do try and get it working - maybe you could write up the details for other users to use.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
4th Mar, 2014, 05:47 PM
Post: #3
Rubman Offline
Registered
Posts: 23
Joined: Jul 2013
Reputation: 0
RE: [Question] NFS Installation guide
I tried using the Xbian config, but it won't accept my Synology as a correct path.
Don't know if I can maybe put it on a USB, and then transfering those files to the NAS and change the cmdline. But doubt USB can be properly read to transfer files once finished.
Find all posts by this user
Quote this message in a reply
5th Mar, 2014, 02:09 AM
Post: #4
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: [Question] NFS Installation guide
Are you sure your NAS has insecure set?

You could try looking at this as well http://forum.xbian.org/thread-1531-post-17118.html#pid17118

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
5th Mar, 2014, 09:16 PM
Post: #5
Rubman Offline
Registered
Posts: 23
Joined: Jul 2013
Reputation: 0
RE: [Question] NFS Installation guide
it now says this when i Putty/SSH into my Syno NAS

/volume1/XBian *(rw,async,no_wdelay,no_root_squash,insecure,anonuid=0,anongid=0)

from what I gather at the other post insecure shouldn't be there or something

Pretty new to Linux and learning as I go. Can now vi and stuff and know the very basics of doing things but that;s about it.
Find all posts by this user
Quote this message in a reply
16th Mar, 2014, 10:18 AM
Post: #6
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: [Question] NFS Installation guide
xbian-config has undocumented experimental support also for nfs as part of xbianclone tool.

syntax of the destination should be:

Code:
nfs:server.nameorip:/path/to/exported/root

the destination is mounted (if exists) and tested if can keep ownership of regular user and id=0. this is required for nfs root and assumes server option on the export "no_root_squash".

storing id=0 also requires that no "insecure" option is used. but this is fine as rootfs is always mounted at system level.
after this test the installation is copied to NFS dir. also, /boot partition (cmdline.txt) should be updated - so when finish, just reboot should work and boot straight to NFS.

specific feedback would be welcome as other destinations than .img or partition is under testing / unofficial but should be documented and working with V1 release.

thanks in advance.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
17th Mar, 2014, 08:41 PM
Post: #7
Rubman Offline
Registered
Posts: 23
Joined: Jul 2013
Reputation: 0
RE: [Question] NFS Installation guide
Wow that is a nice clean explanation.

So if I read it correctly when I SSL into Xbian-Config and start the copy Xbian tool I should enter this:
Code:
nfs:server.my-ip:/volume1/Xbian (this is a shared folder I created on my Synology server)
Instead of:
Code:
/dev/sda1
into the field when cloning the Xbian copy to a USB/NFS device
Find all posts by this user
Quote this message in a reply
17th Mar, 2014, 09:14 PM
Post: #8
belese Offline
Moderator
******
Posts: 650
Joined: Jan 2013
Reputation: 38
RE: [Question] NFS Installation guide
Yes but on command line. Will try to add in xbmc for next version.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
17th Mar, 2014, 09:33 PM
Post: #9
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: [Question] NFS Installation guide
@belese @Rubman

yes, rubman's question didn't specify xbian-config being XBMC or CLI, I always assume CLI version, Belese XBMC.

so:

my statement is valid currently for CLI version and was understood by Rubman correct. XBMC part of xbian-config needs to be of course check / adapted if needed.
(but Rubman connects via "SSL" (assumed SSH) so he was asking about the CLI probably)

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
18th Mar, 2014, 02:19 AM
Post: #10
Rubman Offline
Registered
Posts: 23
Joined: Jul 2013
Reputation: 0
RE: [Question] NFS Installation guide
Yes SSL is SSH and I want to achieve a USB copy from NFS so that XBIAN starts from a NFS source instead of USB (which seems to corrupt over time)

I Still get a Wrong destination Block device error when entering the following in Xbian copier destination
Code:
nfs:server.192.168.1.103:/Volume1/XBian

I tried several deviations such as / before nfs and after XBian, capital letters or not but nothing seems to work.

The installation of Xbian is fresh.
Find all posts by this user
Quote this message in a reply
18th Mar, 2014, 02:27 AM
Post: #11
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: [Question] NFS Installation guide
@Rubman

small misunderstanding.

"server.192.168.1.103" should be "192.168.1.103

as the format is

[typeofdest]:[dest_target_link]

so for you

nfs:192.168.1.103:/Volume1/XBian

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
18th Mar, 2014, 08:55 PM
Post: #12
Rubman Offline
Registered
Posts: 23
Joined: Jul 2013
Reputation: 0
RE: [Question] NFS Installation guide
When entering
nfs:192.168.1.103:/volume1/XBian

I still get Wrong destination block device error.

I tried SSH into my synlogy to see if /etc/exports where correct and it gives me this
/volume1/XBian *(rw,async,no_wdelay,root_squash,insecure,anonuid=0,anongid=0)

I don't see any problems with these settings, but maybe it should say no_root_squash or something? Because al my other shares say no_root_squash. These are the ones I have for Raspbmc and all my video and music files shared via XBMC.
Changing it doesn't seem to work by the way
Find all posts by this user
Quote this message in a reply
18th Mar, 2014, 09:18 PM
Post: #13
Smultie Offline
Moderator
******
Posts: 322
Joined: Feb 2013
Reputation: 16
RE: [Question] NFS Installation guide
(18th Mar, 2014 08:55 PM)Rubman Wrote:  When entering
nfs:192.168.1.103:/volume1/XBian

I still get Wrong destination block device error.

I tried SSH into my synlogy to see if /etc/exports where correct and it gives me this
/volume1/XBian *(rw,async,no_wdelay,root_squash,insecure,anonuid=0,anongid=0)

I don't see any problems with these settings, but maybe it should say no_root_squash or something? Because al my other shares say no_root_squash. These are the ones I have for Raspbmc and all my video and music files shared via XBMC.
Changing it doesn't seem to work by the way

Not sure if you're running a Synology NAS, but since DSM 5.0 there's apparantly an extra requirement to make an accessible NFS-share, set squash to "Map all users to admin".

Not sure if this relates to your problem, but it might be worth trying.
Find all posts by this user
Quote this message in a reply
18th Mar, 2014, 09:58 PM
Post: #14
Rubman Offline
Registered
Posts: 23
Joined: Jul 2013
Reputation: 0
RE: [Question] NFS Installation guide
Yes I am running a Synology (DS109) and no DSM 5 Available for that so I'm running 4.2.

What should it say in the etc/exports line then?

/volume1/XBian *(rw,async,no_wdelay,root_squash_Map_all_users_to_admin,insecure,anonuid=0,anongid=0)

or something different?
Find all posts by this user
Quote this message in a reply
18th Mar, 2014, 10:13 PM
Post: #15
Smultie Offline
Moderator
******
Posts: 322
Joined: Feb 2013
Reputation: 16
RE: [Question] NFS Installation guide
(18th Mar, 2014 09:58 PM)Rubman Wrote:  Yes I am running a Synology (DS109) and no DSM 5 Available for that so I'm running 4.2.

What should it say in the etc/exports line then?

/volume1/XBian *(rw,async,no_wdelay,root_squash_Map_all_users_to_admin,insecure,anonuid=0,anongid=0)

or something different?

I believe it's only needed for DSM5.
Also it's a setting you need to change in the GUI, I have no idea what (and if) it changes in /etc/exports.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 09:00 PM Powered By MyBB, © 2002-2025 MyBB Group.