mount.nfs: an incorrect mount option was specified

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

mount.nfs: an incorrect mount option was specified

ソリューションへジャンプ
19,888件の閲覧回数
fulinux
Contributor IV

hi,

BSP4.1.15_2.x.x has some problem like this:
root@imx6qsabresd:~# mount -t nfs -o nolock 192.168.1.20:/mnt/nfs /tmp

mount.nfs: an incorrect mount option was specified

it works well at BSP4.1.15_1.0.0,  let you know.

thanks

ラベル(1)
1 解決策
15,485件の閲覧回数
b36401
NXP Employee
NXP Employee

Also please try to add "-t nfs4 -o vers=4" options.
Possibly there is some disagreement between NFS protocol versions.

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

4 返答(返信)
15,485件の閲覧回数
b36401
NXP Employee
NXP Employee

Please try to remove "-o nolock" option. Possibly it is not supported with the ulility.

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
15,485件の閲覧回数
fulinux
Contributor IV

Hi Victor,

   Thank you for your reply.

   i have tried to remove "-o nolock" option, but it still has problem like this:

root@imx6qsabresd:~# mount -t nfs 192.168.1.20:/mnt/nfs /tmp                             
mount.nfs: an incorrect mount option was specified

thanks,

fulinux.

0 件の賞賛
返信
15,486件の閲覧回数
b36401
NXP Employee
NXP Employee

Also please try to add "-t nfs4 -o vers=4" options.
Possibly there is some disagreement between NFS protocol versions.

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

15,484件の閲覧回数
fulinux
Contributor IV

Dear Victor,

     Thank you for you reply!

      I did it as you said, it succeeded!!! thank you very much!

fulinux.

0 件の賞賛
返信