beta2
|
15th Oct, 2013, 07:24 AM
Post: #487
|
|||
|
|||
RE: beta2
(15th Oct, 2013 06:35 AM)Dizzy Wrote: setting GSSD and IDMAPD as yes by default harms NFSv3 compatibility? thanks for reporting back. I'm just fixing for combo nfs and nfsvers=4 in mount options. will you be ok to test on request by removing "yes" from nfs-common, leaving nfs as fstype in fstab but adding nfsvers=4 to mount options to fstab? GSSD and IDMAPD will not affect NFS2/3 in any way. on one side it is still NFS, but working own way. you don't need even rpcbind for it, no mountd daemon to provide locking etc (so NFS roots are benefiting from this). they are designed to coexist without issues and also work independently if needed. just /etc/exports file definition can be tricky a bit as there is no direct flag in to specify which is which so if you don't specify in client neither one can run into troubles like yours was. so it is possible to provide the same directory for NFS2/3 as export with different paths as for NFS4. this are two lines from exports file which will allow this (the folder under /expornfs are just bound from original locations, not physically mounted there): Code: /exportnfs 192.168.1.0/24(rw,insecure,no_subtree_check,crossmnt,fsid=0) this will allow NFS4 browsing and filesystem crossing and server browsing with accessing just the server like media:/ or my_ip:/ . this is NFS4 root where you will see all the export provided by NFS server. this wasn't possible with NFS2/3. you had to mount specifically /media or /xbmc. so you had to know the exports before. for NFS2/3 previous rules apply so export is to be called media:/exportnfs/media media:/exportnfs/xbmc. so no browsing there. with the fsid=0 you specifies so called NFS4 root. this is the dir where NFS4 will start if don't specify what you mounts and will allow browsing, referencing, even cross mounting. and by using media:/xbmc or media:/exportnfs/xbmc as source definition for mount command the nfs client/server negotiates the right protocol - NFS4 for the names which are at root relative to fsid=0 (so like :/media) and NFS2/3 for the full names like /exportnfs/xbmc. unfortunately this theory around is not clearly described in empty /etc/exports file nor on most wikis/howtos I have seen. but can provide significant saving in complexity of autofs definitions, disk less setups and others. as when you want to add additional export, you just creates new dir under fsid=0, binds the location to it and you are done. you don't to change clients. so your setup would change like: 1) only one mount to take care of in /etc/fstab in RPI (10.0.0.1://home_export) 2) only one record in /etc/exports ((in case of pure NFS4)): "/home_export 192.168.1.0/24(rw,no_subtree_check,crossmnt,fsid=0)" 3) then to add / remove Movies / Series / Music would mean - creating dir /home_export/Movies - bonding original /home/_Movies to it (mount -o bind /home/_Movies /home_export/_Movies 4) that's IT ! no change on chlient, no change on server in /etc/exports, no need to run "exportfs -a". I know, for three fs this is no difference. But for large systems previous NFS2/3 definitions / workflows have been nightmare to administer. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
RE: beta2 - Uncle_Tubbie - 9th Sep, 2013, 04:12 AM
RE: beta2 - anonimo200 - 10th Sep, 2013, 10:03 AM
RE: beta2 - anonimo200 - 10th Sep, 2013, 05:39 PM
RE: beta2 - anonimo200 - 10th Sep, 2013, 06:21 PM
RE: beta2 - anonimo200 - 11th Sep, 2013, 03:04 AM
RE: beta2 - anonimo200 - 11th Sep, 2013, 04:18 AM
RE: beta2 - anonimo200 - 11th Sep, 2013, 06:57 AM
RE: beta2 - anonimo200 - 11th Sep, 2013, 07:59 AM
RE: beta2 - anonimo200 - 11th Sep, 2013, 09:00 AM
RE: beta2 - anonimo200 - 12th Sep, 2013, 12:15 AM
RE: beta2 - wind-rider - 30th Sep, 2013, 08:48 AM
RE: beta2 - blackvenom - 28th Sep, 2013, 04:38 AM
RE: beta2 - blackvenom - 28th Sep, 2013, 05:46 AM
RE: beta2 - blackvenom - 28th Sep, 2013, 05:00 PM
Re: RE: beta2 - f1vefour - 28th Sep, 2013, 05:15 PM
RE: beta2 - blackvenom - 28th Sep, 2013, 05:52 PM
RE: beta2 - wind-rider - 28th Sep, 2013, 11:04 PM
RE: beta2 - wind-rider - 29th Sep, 2013, 03:07 AM
Re: RE: beta2 - f1vefour - 29th Sep, 2013, 12:15 AM
Re: RE: beta2 - f1vefour - 29th Sep, 2013, 01:03 AM
RE: beta2 - blackvenom - 29th Sep, 2013, 07:08 AM
RE: beta2 - wind-rider - 1st Oct, 2013, 07:04 AM
RE: beta2 - wind-rider - 1st Oct, 2013, 07:38 AM
RE: beta2 - wind-rider - 1st Oct, 2013, 07:33 AM
RE: beta2 - wind-rider - 2nd Oct, 2013, 06:33 AM
Re: RE: beta2 - f1vefour - 1st Oct, 2013, 12:21 PM
Re: beta2 - rikardo1979 - 3rd Oct, 2013, 09:23 PM
Re: RE: beta2 - rikardo1979 - 3rd Oct, 2013, 09:44 PM
Re: RE: beta2 - f1vefour - 3rd Oct, 2013, 10:35 PM
RE: beta2 - rikardo1979 - 3rd Oct, 2013, 11:49 PM
Re: RE: beta2 - f1vefour - 4th Oct, 2013, 02:15 AM
Re: RE: beta2 - f1vefour - 4th Oct, 2013, 04:09 AM
Re: RE: beta2 - f1vefour - 5th Oct, 2013, 12:21 AM
RE: beta2 - rikardo1979 - 6th Oct, 2013, 05:33 AM
Re: RE: beta2 - f1vefour - 6th Oct, 2013, 02:46 AM
RE: beta2 - rikardo1979 - 6th Oct, 2013, 05:27 AM
Re: RE: beta2 - f1vefour - 11th Oct, 2013, 01:04 PM
RE: beta2 - mk01 - 15th Oct, 2013 07:24 AM
RE: beta2 - lordgandhi - 20th Oct, 2013, 06:34 AM
RE: beta2 - lordgandhi - 20th Oct, 2013, 07:29 PM
RE: beta2 - lordgandhi - 1st Nov, 2013, 10:13 PM
boot loop on "starting xbmc" - Darkguy - 19th Oct, 2013, 10:55 PM
boot loop reproducable :( - Darkguy - 20th Oct, 2013, 01:51 AM
RE: beta2 - rikardo1979 - 20th Oct, 2013, 03:24 AM
Re: RE: beta2 - Smultie - 20th Oct, 2013, 03:37 AM
Re: RE: beta2 - f1vefour - 25th Oct, 2013, 10:13 AM
RE: beta2 - thedude459 - 28th Oct, 2013, 12:08 AM
RE: beta2 - adepssimius - 29th Oct, 2013, 10:07 AM
RE: beta2 - rikardo1979 - 29th Oct, 2013, 10:26 AM
RE: beta2 - thedude459 - 30th Oct, 2013, 11:33 PM
RE: beta2 - lordgandhi - 2nd Nov, 2013, 03:02 AM
RE: beta2 - lordgandhi - 2nd Nov, 2013, 03:40 AM
RE: beta2 - rikardo1979 - 2nd Nov, 2013, 12:48 AM
Re: RE: beta2 - f1vefour - 3rd Nov, 2013, 09:08 AM
RE: beta2 - rikardo1979 - 6th Nov, 2013, 09:34 PM
RE: beta2 - adepssimius - 7th Nov, 2013, 05:00 AM
Re: RE: beta2 - f1vefour - 9th Nov, 2013, 01:02 PM
RE: beta2 - raspberry_pd - 10th Nov, 2013, 10:03 PM
RE: beta2 - theimmortal - 13th Nov, 2013, 10:19 AM
Re: RE: beta2 - f1vefour - 10th Nov, 2013, 11:51 PM
Re: RE: beta2 - f1vefour - 11th Nov, 2013, 12:42 AM
Re: RE: beta2 - f1vefour - 15th Nov, 2013, 10:34 PM
RE: beta2 - rikardo1979 - 15th Nov, 2013, 10:36 PM
Re: RE: beta2 - f1vefour - 15th Nov, 2013, 10:44 PM
Re: RE: beta2 - f1vefour - 16th Nov, 2013, 03:56 AM
Re: RE: beta2 - f1vefour - 16th Nov, 2013, 04:08 AM
RE: beta2 - Uncle_Tubbie - 16th Nov, 2013, 04:24 AM
RE: beta2 - Horrorzilla - 16th Nov, 2013, 12:20 PM
Re: RE: beta2 - f1vefour - 19th Nov, 2013, 11:56 PM
Re: RE: beta2 - f1vefour - 27th Dec, 2013, 04:19 PM
RE: Beta 2 Users only [Help needed] - Horrorzilla - 12th Nov, 2013, 06:35 AM
RE: Beta 2 Users only [Help needed] - rikardo1979 - 12th Nov, 2013, 06:42 AM
RE: Beta 2 Users only [Help needed] - Horrorzilla - 12th Nov, 2013, 09:16 AM
RE: Beta 2 Users only [Help needed] - f1vefour - 12th Nov, 2013, 11:15 AM
RE: Beta 2 Users only [Help needed] - Horrorzilla - 12th Nov, 2013, 11:45 AM
RE: Beta 2 Users only [Help needed] - mzs - 12th Nov, 2013, 01:53 PM
|