Re: Questions on pNFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[trimmed mailing lists on the Cc]

On 2010-12-30 04:48, Zhangyu wrote:
> Hi,
> 
> I have successfully installed the pNFS and it works well.

Great!

> However, I am interested in the parallel access control mechanism of pNFS.
> I tried to edit the same file on two different clients,
> I found there wasn't any byte-range lock as specified in the ietf-nfsv4-draft protocol.

Correct.

> How is the parallel access control implemented? Which source code file does it located in? 
> 

There is none by definition.
The pNFS feature is orthogonal to synchronization primitives so
different clients that need to serialize their access should use locking
to do that.

Some servers may implement synchronization at the pnfs layout level,
but the linux server has no such feature.

> Additionally, I found that when writing a file to the DS, network flow is higher both
> on MDS and DS. Does it mean that the data is delivered through MDS?
> I think the data should be written directly to DS, is it right?

True.  If your setup is configured correctly there should be no
I/O directed at the MDS.
Can you capture a network trace to the MDS and to the DS to see what exactly
is sent on the line?

Benny

> 
> Thanks & Regards,
> Yu Zhang 
> 
> 2010-12-30 
> 
> 
> 
> Zhangyu 
> 
> 
> 
> 发件人: Benny Halevy 
> 发送时间: 2010-12-26  16:27:55 
> 收件人: wolf0805 
> 抄送: NFS list 
> 主题: Re: Errors on pNFS 
>  
> [Adding the linux-nfs mailing list to the Cc
> please keep the folks on the list posted as they are interested
> in the issues you encounter as well as the solutions]
> On 2010-12-22 15:26, wolf0805 wrote:
>> Hi Benny,
>>
>> I have installed pNFS kernel and pnfs-nfs-utils on three machines(client,mds,ds).
>> But when I tried to load the layoutdriver, it gives error : "Fatal - module nfslayoutdriver not found."
> Sorry, the layout driver was renamed to nfs_layout_nfsv41_files.
> I've updated http://wiki.linux-nfs.org/wiki/index.php/Configuring_pNFS/spnfsd
> to reflect that.
> Benny
>> I am using Fedora 14 with the uname -a saying "Linux localhost.localdomain 
>> 2.6.36-1.pnfs_all_2010_11_03.fc15.i686.PAE #1 SMP Tue Nov 9 18:32:20 UTC 2010 i686 i686 i386 GNU/Linux".
>> It seems the kernel is pnfs enabled, but where is the problem?
>>
>> The ds ip-addr is XX.YY.ZZ.AA, mds's is XX.YY.ZZ.BB, and client's is XX.YY.ZZ.CC. 
>>
>> The /etc/exports on ds looks as: /export/spnfs *(rw,sync,fsid=0,insecure,no_subtree_check,pnfs,no_root_squash)
>>
>> The /etc/exports on mds : /export *(rw,sync,fsid=0,insecure,no_subtree_check,pnfs,no_root_!
>>  squash)
>>
>> /etc/fstab on mds:  XX.YY.ZZ.AA:/       /spnfs/XX.YY.ZZ.A   nfs4    minorversion=1        0 0
>>
>> Then I mounted MDS from client using : mount -t nfs4 -o minorversion=1 XX.YY.ZZ.BB:/ /mnt
>>
>> I found that only mds and client are mounted, it seems ds is left alone. Is there any mistakes in these configure files? 
>>
>> I hope these helps.
>>
>> Best regards,
>>
>> Yu Zhang
>>
>>
>>
> .
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux