Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381131 - net-fs/nfs-utils - Permit configuration of rpc.pipefs mount point
Summary: net-fs/nfs-utils - Permit configuration of rpc.pipefs mount point
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Network Filesystems
URL: http://docs.homelinux.org/doku.php?id...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-30 08:34 UTC by lgringo
Modified: 2012-05-17 05:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Config file for the rpc.pipefs (conf.d_rpc.pipefs,109 bytes, text/plain)
2011-08-30 08:45 UTC, lgringo
Details
New init script (init.d_rpc.pipefs,897 bytes, text/plain)
2011-08-30 08:45 UTC, lgringo
Details
Add a new parameter to the nfs conf file (nfs.confd.pipefs.patch,294 bytes, patch)
2011-09-01 13:18 UTC, lgringo
Details | Diff
Use parameter from conf.d/nfs instead of a separate file (rpc.pipefs.initd.pipefs.patch,212 bytes, patch)
2011-09-01 13:19 UTC, lgringo
Details | Diff
idmapd shoud be started with the new rpc_pipes mount point (rpc.idmapd.initd.pipefs.patch,1.51 KB, text/plain)
2011-09-01 13:20 UTC, lgringo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lgringo 2011-08-30 08:34:55 UTC
Hi !

When you want to create a high availibity (HA) NFS server (v4) using DRBD and Corosync, tutorial (see http://docs.homelinux.org/doku.php?id=create_high-available_nfs_server_with_pacemaker#installing_nfs) suggest to mount pipefs outside /var/lib/nfs.

/var/lib/nfs will be duplicated by DRBD (in fact, /var/lib/nfs will be linked to as duplicated folder) and pipefs should not.



Reproducible: Always
Comment 1 lgringo 2011-08-30 08:45:01 UTC
Created attachment 285057 [details]
Config file for the rpc.pipefs
Comment 2 lgringo 2011-08-30 08:45:40 UTC
Created attachment 285059 [details]
New init script
Comment 3 lgringo 2011-09-01 13:16:57 UTC
Hello,

Just found that if I actually move the folder, rpc.idmapd does not start.

I moved the conf into /etc/conf.d/nfs (seems logical) and modify rpc.idmapd init script.

Patch are against nfs-utils 1.2.3-r1
Comment 4 lgringo 2011-09-01 13:18:17 UTC
Created attachment 285239 [details, diff]
Add a new parameter to the nfs conf file
Comment 5 lgringo 2011-09-01 13:19:32 UTC
Created attachment 285241 [details, diff]
Use parameter from conf.d/nfs instead of a separate file
Comment 6 lgringo 2011-09-01 13:20:08 UTC
Created attachment 285243 [details]
idmapd shoud be started with the new rpc_pipes mount point
Comment 7 SpanKY gentoo-dev 2011-09-06 22:06:50 UTC
Comment on attachment 285239 [details, diff]
Add a new parameter to the nfs conf file

only post unified diffs.  i cant understand any of these files.