VMware Cloud Community
wil_becker
Contributor
Contributor

Add a nfs mount to fstab

I need to be able to add a NFS mount to my appliance for reporting tools. I don't need to be used for back up or storage.

I've added it to fstab but when attempting to mount if I receive a return of

mount.nfs: Operation not permitted

Any suggestions?

0 Kudos
3 Replies
virtualg_uk
Leadership
Leadership

When you say appliance, are you referring to the vCenter Server Appliance?

If so, what is the reason for wanting to do this?

Also, what user are you logging in as to perform the mount?



Graham | User Moderator | https://virtualg.uk
0 Kudos
wil_becker
Contributor
Contributor

Sorry, should of made that more clear. I'm using a DataProtect appliance to back up virtual machines. I need to add a NFS mount to the device so that a cron job can run certain tools from the mount nightly.

I've added the entry to /etc/fstab but upon mounting it (using mount -a) I get the error mentioned above. I am logging in with a user account I created on the appliance that has sudo perms, whether I run it as sudo mount -a or sudo to root and run it I receive the same error.

0 Kudos
virtualg_uk
Leadership
Leadership

The problem you face is that these appliances are supposed to really be "black boxes" so anything you try to do to them is likely to be unsupported (Unfortunately not true open-source freedom)

If you need to do this, could you deploy a linux VM of your choosing and tun the cronjob from there rather than from the VDP appliance?

Sorry I can not be any more help, if this was a VDP feature then I'm sure we could resolve


Graham | User Moderator | https://virtualg.uk
0 Kudos