How to set up pNFS on CentOS

nfs4

I'm looking into different ways to create a petabyte storage array. One option that looked interesting is pNFS; however, I'm having trouble finding details on how to set it up.

How can I set up pNFS on CentOS 6.6 servers? How do I specify which servers act as metadata servers and which act as data servers?

Best Answer

You can't create a pNFS server using stock kernels for CentOS 6.x/7.x

The pNFS server support is added in 4.0 kernel and available for block layout type only (pNFS defineds BLOCK, OBJECT and FILE layouts types). CentOS 6.x clients support FILE layout type only (7.x supports all three types).

There are two open source user space NFS servers which you can use: nfs-ganesha or dCache.

If your servers and client can run up-to-date kernel (mainline kernel from elrepo.org), then you can try to use new block layout. This will involve iSCSI or FC setup in addition.

Related Topic