NFS Error "export: invalid format - value does not look like a valid absolute path"

ukzerosniper

New Member
May 18, 2012
14
0
1
Hi Guys,

I am new to ProxMox and just figuring it all out.

When I try to add a folder on our NAS I am getting the following error

[FONT=tahoma, arial, verdana, sans-serif]"export: invalid format - value does not look like a valid absolute path"[/FONT]

[FONT=tahoma, arial, verdana, sans-serif]

The NAS is configured in the following manner.

ip : 192.168.1.175
Share to use as ISO store :
[/FONT]\\192.168.1.175\Volume_1\Main Share\Software\Operating System\ProxMoxNFS

In ProxMox I added the store with the following details
ID : SataNas
Server : 192.168.1.175
Export : \Volume_1\Main Share\Software\Operating System\ProxMoxNFS
Content : Images
Nodes : All
Enable : Ticked
Max Backups : 1


Any help is gratefully received. Thanks in advance guys :D
 
Re: NFS Error "export: invalid format - value does not look like a valid absolute pat

Please stop to add 'Bump' messages - that is totally useless.

Try to use '/' instead of '\':

Export : /Volume_1/Main Share/Software/Operating System/ProxMoxNFS

Also, there is a 'space' in that path ('Operating System') - AFAIK you need to remove that.
 
Re: NFS Error "export: invalid format - value does not look like a valid absolute pat

Hi Dietmar,

It has now accepted the format, however, when I click any of the shares in ProxMox I get a message saying "Loading" which lasts for a few moments, then switches to "Communication Failure".

Any ideas?

Thanks
 
Last edited:
Re: NFS Error "export: invalid format - value does not look like a valid absolute pat

Hi Dietmar,

It has now accepted the format, however, when I click any of the shares in ProxMox I get a message saying "Loading" which lasts for a few moments, then switches to "Communication Failure".

Any ideas?

Thanks
Hi,
do you have the right permissions set for the pve-nodes?
On the CLI you can see the mounted device?
Do pve create a subdirectory-structure (depends on what you have selected to use the storage (template, VM-disks, backup)) like images,dump,template...?
Code:
mount
ls -lsa /path/of/mounted/nfs-share
Udo
 
Re: NFS Error "export: invalid format - value does not look like a valid absolute pat

Hi,

How can i tell if the permissions are correct on the pve-nodes?

How do I check if I can see the mounted device on the CLI?

The PVE has not created a sub directory structure.

What is this code for ?
Code:
mountls -lsa /path/of/mounted/nfs-share
 
Re: NFS Error "export: invalid format - value does not look like a valid absolute pat

Hi,

How can i tell if the permissions are correct on the pve-nodes?

How do I check if I can see the mounted device on the CLI?

The PVE has not created a sub directory structure.

What is this code for ?
Code:
mountls -lsa /path/of/mounted/nfs-share[/QUOTE]
Hi,
log in the console (or better for copy/paste via ssh) as root and type the following commands
[code]
mount
cat /etc/pve/storage.cfg
if you post the result, i can give further hints.

Udo
 
Re: NFS Error "export: invalid format - value does not look like a valid absolute pat

When I did mount I got
/dev/mapper/pve-root on / type ext3 (rw,errors=remount-ro)tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/mapper/pve-data on /var/lib/vz type ext3 (rw)
/dev/sda1 on /boot type ext3 (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/fuse on /etc/pve type fuse (rw,nosuid,nodev,default_permissions,allow_other)
none on /sys/kernel/config type configfs (rw)
beancounter on /proc/vz/beancounter type cgroup (rw,name=beancounter)
container on /proc/vz/container type cgroup (rw,name=container)
fairsched on /proc/vz/fairsched type cgroup (rw,name=fairsched)

When i did
cat /etc/pve/storage.cfg i got

dir: local path /var/lib/vz
content images,iso,vztmpl,rootdir
maxfiles 0


nfs: SATA_NAS_ISO
path /mnt/pve/SATA_NAS_ISO
server 192.168.1.175
export /Volume_1/Main Share/Software/Operating_System/ProxMoxNFS/ISO
options vers=3
content iso
maxfiles 1


nfs: SATA_NAS_IMAGES
path /mnt/pve/SATA_NAS_IMAGES
server 192.168.1.175
export /Volume_1/Main Share/Software/Operating_System/ProxMoxNFS/ISO
options vers=3
content images
maxfiles 1


nfs: SATA_NAS_TEMPLATES
path /mnt/pve/SATA_NAS_TEMPLATES
server 192.168.1.175
export /Volume_1/Main Share/Software/Operating_System/ProxMoxNFS/Templates
options vers=3
content vztmpl
maxfiles 1


nfs: SATA_NAS_Containers
path /mnt/pve/SATA_NAS_Containers
server 192.168.1.175
export /Volume_1/Main Share/Software/Operating_System/ProxMoxNFS/Containers
options vers=3
content rootdir
maxfiles 1




Hope that helps
 
Re: NFS Error "export: invalid format - value does not look like a valid absolute pat

When I did mount I got


When i did
cat /etc/pve/storage.cfg i got



Hope that helps
Hi,
two things:
First in your case you need only one share - pve do the rest for you with different subdirs (template/iso, dump, images...).
Second your export contains a space - if you can't disable the space, you must mascerade the space - try the whole export in ":
Code:
nfs: SATA_NAS
        path /mnt/pve/SATA_NAS
        server 192.168.1.175
        export "/Volume_1/Main Share/Software/Operating_System/ProxMoxNFS"
        options vers=3
        content vztmpl,rootdir,images,iso
        maxfiles 1
mount shows, that ther isn't mounted anything from the nas.

Udo
 
Re: NFS Error "export: invalid format - value does not look like a valid absolute pat

Hey, thanks for all the heads up.

I made your changes, I cant mascerade the space with "" as that produces an error.

I still get "Loading" for ages then "Communication Failure" when i try to click the content tab on the NFS :/

When I do mount now I get

/dev/mapper/pve-root on / type ext3 (rw,errors=remount-ro)tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/mapper/pve-data on /var/lib/vz type ext3 (rw)
/dev/sda1 on /boot type ext3 (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/fuse on /etc/pve type fuse (rw,nosuid,nodev,default_permissions,allow_other)
none on /sys/kernel/config type configfs (rw)
beancounter on /proc/vz/beancounter type cgroup (rw,name=beancounter)
container on /proc/vz/container type cgroup (rw,name=container)
fairsched on /proc/vz/fairsched type cgroup (rw,name=fairsched)

When I do
cat /etc/pve/storage.cfg I get

dir: local
path /var/lib/vz
content images,iso,vztmpl,rootdir
maxfiles 0


nfs: SATA_NAS
path /mnt/pve/SATA_NAS
server 192.168.1.175
export /Volume_1/Main_Share/Software/Operating_System/ProxMoxNFS
options vers=3
content images
maxfiles 1




Thanks for the quick replies
 
Re: NFS Error "export: invalid format - value does not look like a valid absolute pat

Hey, thanks for all the heads up.

I made your changes, I cant mascerade the space with "" as that produces an error.

I still get "Loading" for ages then "Communication Failure" when i try to click the content tab on the NFS :/

When I do mount now I get



When I do
cat /etc/pve/storage.cfg I get



Thanks for the quick replies
Hi,
what error do you get, if you mount the NAS on the console?
Code:
mount 192.168.1.175:/Volume_1/Main_Share/Software/Operating_System/ProxMoxNFS /mnt/pve/SATA_NAS
Udo
 
Re: NFS Error "export: invalid format - value does not look like a valid absolute pat

Hi Udo,

When i did "
mount 192.168.1.175:/Volume_1/Main_Share/Software/Operating_System/ProxMoxNFS /mnt/pve/SATA_NAS" the console jumped to a new line and waited for quite some time (around 3-4 mins), eventually it produces the following error
mount.nfs: Connection timed out

The command
showmount --all 192.168.1.175 Produces the following


clnt_create: RPC: Port mapper failure - RPC: Unable to receive



The command
showmount --exports 192.168.1.175 produces the following

clnt_create: RPC: Port mapper failure - RPC: Unable to receive



Thanks for the assistance so far, i really appreciate it.
 
Re: NFS Error "export: invalid format - value does not look like a valid absolute pat

...
The command
showmount --all 192.168.1.175 Produces the following

clnt_create: RPC: Port mapper failure - RPC: Unable to receive



The command
showmount --exports 192.168.1.175 produces the following

clnt_create: RPC: Port mapper failure - RPC: Unable to receive

...
Hi,
this shows that your NAS don't speak to your pve-host. Perhaps you must enable the pve-host for nfs-access on the NAS? BTW. you share the directory as nfs and not as smb/cifs?

Or do you have an firewall between pve-host and NAS?

I can't respond further this evening - it's late i must go sleep.

Udo
 
Re: NFS Error "export: invalid format - value does not look like a valid absolute pat

Hi Udo, Have a good sleep :)

How can i enable the pve-host for nfs-access? Every other system on my network can access the NAS without problem, windows, CentOS and MAC.

If I add it as a directory, I can use it on all Nodes, however, nothing is actually written to the nas, and the templates I download are only viewable on the node I download them on.

Help.. Lol

Thanks again for your time today Udo. Good Night.
 
Re: NFS Error "export: invalid format - value does not look like a valid absolute pat

Hi Udo, Have a good sleep :)

How can i enable the pve-host for nfs-access? Every other system on my network can access the NAS without problem, windows, CentOS and MAC.

If I add it as a directory, I can use it on all Nodes, however, nothing is actually written to the nas, and the templates I download are only viewable on the node I download them on.

Help.. Lol

Thanks again for your time today Udo. Good Night.
Hi,
the pve-host don't need to be enabled for nfs-access. But normaly you must define, which host (or networks) has access to the share.
What is the output of "mount" and "showmount --exports 192.168.1.175" on the CentOS-System if you have mounted an filesystem from the NAS?

Udo
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!