2012-11-05 14:54:56

by Giovanni

[permalink] [raw]
Subject: PNFS Kernel - CONFIG_SPNFS not found

Hi,
I'm trying to compile the kernel in order to enable pnfs feature present in NFS
4.1 following this guide http://linux-
nfs.org/wiki/index.php/Configuring_pNFS/spnfsd
I downloaded the git repository for the kernel from git://git.linux-
nfs.org/projects/bhalevy/linux-pnfs.git
I didn't found where I can enable the kernel options CONFIG_SPNFS and
CONFIG_SPNFS_LAYOUTSEGMENT. I have found all the other options required by PNFS.
I didn't found this two string also in the source code:

[root@rh62ds1 linux-pnfs]# find .|xargs grep CONFIG_SPNFS
[root@rh62ds1 linux-pnfs]#

I have tried using the latest commit and also with the commit id
cbd09e0fb2b160a06a44aad1c21786b99401823f as reported in the wiki guide but the
result is the same.
If I don't select this two feature, later I obtain a error when I try to execute
the process spnfsd exit with error because it doesn't found the file
/proc/fs/spnfs/ctl

Can you help me?

Giovanni Sciortino



2012-11-15 18:26:45

by Myklebust, Trond

[permalink] [raw]
Subject: Re: PNFS Kernel - CONFIG_SPNFS not found

T24gVGh1LCAyMDEyLTExLTE1IGF0IDE4OjE2ICswMjAwLCBCZW5ueSBIYWxldnkgd3JvdGU6DQo+
IEdpb3Zhbm5pLA0KPiBTb3JyeSBidXQgc3VwcG9ydCBmb3Igc3BuZnMgd2FzIGRyb3BwZWQgYmFj
ayBpbiBwbmZzLWFsbC0zLjINCj4gU2VlIGh0dHA6Ly93d3cuc3Bpbmljcy5uZXQvbGlzdHMvbGlu
dXgtbmZzL21zZzI1OTE3Lmh0bWwNCj4gDQo+IEJlbm55DQoNClRpbWUgdG8gdXBkYXRlIHRoZSBz
cG5mcyBlbnRyeSBpbiB0aGUgd2lraT8NCg0KVHJvbmQNCg0KPiBPbiAyMDEyLTExLTA1IDE2OjQ5
LCBHaW92YW5uaSB3cm90ZToNCj4gPiBIaSwNCj4gPiBJJ20gdHJ5aW5nIHRvIGNvbXBpbGUgdGhl
IGtlcm5lbCBpbiBvcmRlciB0byBlbmFibGUgcG5mcyB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NFS not found

Giovanni,
Sorry but support for spnfs was dropped back in pnfs-all-3.2
See http://www.spinics.net/lists/linux-nfs/msg25917.html

Benny

On 2012-11-05 16:49, Giovanni wrote:
> Hi,
> I'm trying to compile the kernel in order to enable pnfs feature present in NFS
> 4.1 following this guide http://linux-
> nfs.org/wiki/index.php/Configuring_pNFS/spnfsd
> I downloaded the git repository for the kernel from git://git.linux-
> nfs.org/projects/bhalevy/linux-pnfs.git
> I didn't found where I can enable the kernel options CONFIG_SPNFS and
> CONFIG_SPNFS_LAYOUTSEGMENT. I have found all the other options required by PNFS.
> I didn't found this two string also in the source code:
>
> [root@rh62ds1 linux-pnfs]# find .|xargs grep CONFIG_SPNFS
> [root@rh62ds1 linux-pnfs]#
>
> I have tried using the latest commit and also with the commit id
> cbd09e0fb2b160a06a44aad1c21786b99401823f as reported in the wiki guide but the
> result is the same.
> If I don't select this two feature, later I obtain a error when I try to execute
> the process spnfsd exit with error because it doesn't found the file
> /proc/fs/spnfs/ctl
>
> Can you help me?
>
> Giovanni Sciortino
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>