NFS storage problem

tito

New Member
Dec 15, 2009
23
0
1
Argentina
Hi,
I have a proxmox ve cluster 1.4, and i try to add a NFS storage (named nfs01) from the web administration page, and i get this error:

Error: mkdir /mnt/pve/nfs01/images: Read-only file system at /usr/share/perl5/PVE/Storage.pm line 2122

The thing is that from the console of the master node i see the nfs server mounted when i do df -h:

Filesystem Size Used Avail Use% Mounted on
172.16.0.80:/storage01/prueba 178G 187M 168G 1% /mnt/pve/nfs01

But it does not appear as a storage on the web console.

What can i try? Thanks!
 
By the way, line 2122 of /usr/share/perl5/PVE/Storage.pm says:

mkpath $imagedir if $scfg->{content}->{images} &&
 
running "mount" on the cluster master node:
172.16.0.80:/storage01/prueba on /mnt/pve/nfs01 type nfs (rw,addr=172.16.0.80)
 
sorry, my bad.
I thought i was exporting read/write, but I had a typo on the nfs server config file, and because of that it was exporting it as read-only.
Now every thing is working just fine, as expected.