VMware Cloud Community
wpforum
Contributor
Contributor

Linux mount command in ESXi

Hello

Today i tried to mount a nfs under ssh. When i wanted to use the Linux mount command, it told me:

-sh: mount: not found
Is there an alternative to this command in ESXi?
Tags (3)
0 Kudos
1 Reply
nielse
Expert
Expert

You can mount NFS shares using the interface in the datastore section. Here you can add storage and select NFS. Mounting via cli can be done with the esxcli command: esxcli storage nfs add --host=<IP> --share=<SHARENAME-REMOTE> --volume-name=<SHARENAME-LOCAL>

@nielsengelen - http://foonet.be - VCP4/5
0 Kudos