Restore failed - unable mount NFS share

Backup agent for Linux servers and workstations on-premises or in the public cloud

Restore failed - unable mount NFS share

Veeam Logoby Jango76 » Wed Oct 12, 2016 9:55 am

I try to restore backup of real PC to virtual PC. Backup created with Veeam v.1.0.0.678.BETA2, saved on NFS share. When I booted virtual PC from Veeam recovery media, to restore volume backup, get next error:
Image

If I switch to shell, NFS mount still not working, but when I reboot to installed in virtual machine OS (Debian 8 x64, same as real PC), NFS share mounts without errors.
Jango76
Novice
 
Posts: 9
Liked: 2 times
Joined: Mon Oct 10, 2016 11:21 am
Full Name: Dmitriy

Re: Restore failed - unable mount NFS share

Veeam Logoby PTide » Wed Oct 12, 2016 10:52 am

Hi,

Which command did you use in shell? Was it mount -t nfs or mount.nfs4? Also is the shared folder already mounted in some other system? If so then could you try to unmount it please and try mounting it from Recovery Media again? What's the NFS server that you use, what distro is inside and what is the version of NFS that is used to export?

Thanks
PTide
Veeam Software
 
Posts: 3022
Liked: 247 times
Joined: Tue May 19, 2015 1:46 pm

Re: Restore failed - unable mount NFS share

Veeam Logoby Jango76 » Thu Oct 13, 2016 1:54 pm

Image
Shared folder doesn`t mounted in other system, we using QNAP NAS TS-469 Pro as NFS server.
Jango76
Novice
 
Posts: 9
Liked: 2 times
Joined: Mon Oct 10, 2016 11:21 am
Full Name: Dmitriy

Re: Restore failed - unable mount NFS share

Veeam Logoby vmniels » Thu Oct 13, 2016 2:28 pm

Mounting it is case sensitive. Is the folder you shared called "Public"?
VCP-DCV
Veeam Certified Engineer
http://foonet.be
vmniels
Veeam Software
 
Posts: 1517
Liked: 328 times
Joined: Mon Jul 15, 2013 11:09 am
Full Name: Niels Engelen

Re: Restore failed - unable mount NFS share

Veeam Logoby PTide » Thu Oct 13, 2016 4:32 pm

Also I'm curious if there is a direct connection to NAS or there is a switch inbetween? Please try to run mount from the command line using the verbose mode:
Code: Select all
mount 192.168.10.50:/Public /media/nfs -v

and post the output.

Thank you.
PTide
Veeam Software
 
Posts: 3022
Liked: 247 times
Joined: Tue May 19, 2015 1:46 pm

Re: Restore failed - unable mount NFS share

Veeam Logoby Jango76 » Mon Oct 17, 2016 2:08 pm

vmniels wrote:Mounting it is case sensitive. Is the folder you shared called "Public"?


Image
Jango76
Novice
 
Posts: 9
Liked: 2 times
Joined: Mon Oct 10, 2016 11:21 am
Full Name: Dmitriy

Re: Restore failed - unable mount NFS share

Veeam Logoby Jango76 » Mon Oct 17, 2016 2:11 pm 1 person likes this post

PTide wrote:Also I'm curious if there is a direct connection to NAS or there is a switch inbetween? Please try to run mount from the command line using the verbose mode:
Code: Select all
mount 192.168.10.50:/Public /media/nfs -v

and post the output.

Thank you.


Image

And mount in booted installed in VM OS Debian 8:
Image
Jango76
Novice
 
Posts: 9
Liked: 2 times
Joined: Mon Oct 10, 2016 11:21 am
Full Name: Dmitriy

Re: Restore failed - unable mount NFS share

Veeam Logoby PTide » Mon Oct 17, 2016 2:52 pm

Ok, it seems that your QNAP does not support NFS v4 and recovery media NFS client does not even try to connect using v3 for some reason. Please try to force v3 usage:

Code: Select all
mount 192.168.10.50:/Public /media/nfs -v


Also please tell me what firmware version does your QNAP have?

Thank you
PTide
Veeam Software
 
Posts: 3022
Liked: 247 times
Joined: Tue May 19, 2015 1:46 pm

Re: Restore failed - unable mount NFS share

Veeam Logoby Jango76 » Wed Oct 19, 2016 9:48 am

PTide wrote:Ok, it seems that your QNAP does not support NFS v4 and recovery media NFS client does not even try to connect using v3 for some reason. Please try to force v3 usage:

Code: Select all
mount 192.168.10.50:/Public /media/nfs -v


Also please tell me what firmware version does your QNAP have?

Thank you



Image

Firmware is QTS v4.2.2
Jango76
Novice
 
Posts: 9
Liked: 2 times
Joined: Mon Oct 10, 2016 11:21 am
Full Name: Dmitriy

Re: Restore failed - unable mount NFS share

Veeam Logoby PTide » Wed Oct 19, 2016 10:01 am

I'm sorry, it's my bad - the command supposed to be
Code: Select all
mount -o vers=4 192.168.10.50:/Public /media/nfs -v


Anyway we've already confirmed that recovery media does not work well with NFSv3. If you want to test the recovery procedure then please either place the backup onto usb drive or use some other type of a shared folder (CIFS or NFSv4).

Thank you.
PTide
Veeam Software
 
Posts: 3022
Liked: 247 times
Joined: Tue May 19, 2015 1:46 pm

[MERGED] Can't mount shared folder for restore

Veeam Logoby mwburn » Tue Nov 29, 2016 11:04 pm

When I boot from the iso, I'm unable to mount the shared folder. The connection attempt fails with an error that "-o nolock" needs to be used (or rpc.statd needs to be started).

I can go into command line mode and try mounting manually using the -o option (plus several options), but haven't had any success. If I explicitly set the nfs version to 4, I get an invalid protocol error.

The shared folder we're trying to mount is on an EMC Isilon system.
mwburn
Novice
 
Posts: 5
Liked: 1 time
Joined: Tue Nov 29, 2016 10:46 pm

Re: [MERGED] Can't mount shared folder for restore

Veeam Logoby mwburn » Wed Nov 30, 2016 3:51 pm

mwburn wrote:When I boot from the iso, I'm unable to mount the shared folder. The connection attempt fails with an error that "-o nolock" needs to be used (or rpc.statd needs to be started).

I can go into command line mode and try mounting manually using the -o option (plus several options), but haven't had any success. If I explicitly set the nfs version to 4, I get an invalid protocol error.

The shared folder we're trying to mount is on an EMC Isilon system.


So since this got merged into this thread, and I've already tried everything here, does that mean there's no solution?
mwburn
Novice
 
Posts: 5
Liked: 1 time
Joined: Tue Nov 29, 2016 10:46 pm

Re: Restore failed - unable mount NFS share

Veeam Logoby vmniels » Wed Nov 30, 2016 3:52 pm

Can you manually mount it without any issues on another server?
VCP-DCV
Veeam Certified Engineer
http://foonet.be
vmniels
Veeam Software
 
Posts: 1517
Liked: 328 times
Joined: Mon Jul 15, 2013 11:09 am
Full Name: Niels Engelen

Re: Restore failed - unable mount NFS share

Veeam Logoby mwburn » Wed Nov 30, 2016 3:58 pm

vmniels wrote:Can you manually mount it without any issues on another server?



Yes. I can mount the same shared folder on CentOS.

When I go into command line mode and try and mount (using -o nolock,vers=4), I get a "Protocol not supported" error.
mwburn
Novice
 
Posts: 5
Liked: 1 time
Joined: Tue Nov 29, 2016 10:46 pm

Re: Restore failed - unable mount NFS share

Veeam Logoby PTide » Wed Nov 30, 2016 4:27 pm

This is a known bug and is already fixed for GA. Possible workarounds has been already mentioned in my previous post, and there is no way to fix it in the current recovery iso without rebuilding the iso.

Thank you
PTide
Veeam Software
 
Posts: 3022
Liked: 247 times
Joined: Tue May 19, 2015 1:46 pm

Next

Return to Veeam Agent for Linux



Who is online

Users browsing this forum: No registered users and 4 guests