mount.nfs: an incorrect mount option was specified

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mount.nfs: an incorrect mount option was specified

Jump to solution
16,710 Views
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

Labels (1)
1 Solution
12,308 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

4 Replies
12,308 Views
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 Kudos
12,308 Views
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 Kudos
12,309 Views
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!
-----------------------------------------------------------------------------------------------------------------------

12,307 Views
fulinux
Contributor IV

Dear Victor,

     Thank you for you reply!

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

fulinux.

0 Kudos