Skip to main content
Solved

Manually unmount NFS datastore


matheusgiovanini
Forum|alt.badge.img+5

Hello everyone!

I performed an Instant Restore, but most of the time, I need to manually unmount the NFS datastore. However, sometimes Veeam does not automatically remove these datastores after the jobs have finished running, so I have to remove them manually.

Is there anything I can do to fix this?

Best answer by regnor

📯And here we are with the latest release of VBR: 12.3.1139

  • Automatically disconnect vPower NFS datastores after Instant VM Recovery sessions are completed, reduce alarms or misleading capacity planning calculations caused by disconnected vPower NFS datastores. To configure, create the following registry value on the backup server:
    Key Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\
    Value Name: vPowerNFSUnmountDatastore
    Value Type: DWORD (32-bit) Value
    Value Data: 1

https://www.veeam.com/kb4696

View original
Did this topic help you find an answer to your question?

18 comments

coolsport00
Forum|alt.badge.img+20
  • Veeam Legend
  • 4133 comments
  • March 13, 2025

Unfortunately no. This behavior has been happening for several years (since IR has been around). Some will suggest to just leave the Datastore to make IR restores for the next restore go a lil quicker. Personally, I don’t like seeing “rogue” Datastores in my vSphere environment so, like you, I manually remove them.

Unless Veeam has come up with a process like Snapshot Hunter, to remove them, which I’m sure they haven’t, there’s no fix. You can ping Veeam support though to verify.

Best.


Tommy O'Shea
Forum|alt.badge.img+3
  • Experienced User
  • 80 comments
  • March 13, 2025

Not any way I’m aware of to have it perform a cleanup. Our team just moves the datastore into a folder called “_DONOTUSE”, and that way it’s a little more out of sight.


matheusgiovanini
Forum|alt.badge.img+5
coolsport00 wrote:

Unfortunately no. This behavior has been happening for several years (since IR has been around). Some will suggest to just leave the Datastore to make IR restores for the next restore go a lil quicker. Personally, I don’t like seeing “rogue” Datastores in my vSphere environment so, like you, I manually remove them.

Unless Veeam has come up with a process like Snapshot Hunter, to remove them, which I’m sure they haven’t, there’s no fix. You can ping Veeam support though to verify.

Best.

Yeah, I dont like too to see that datastoes. However, I’ll check at Veeam support to very. Thanks !!


matheusgiovanini
Forum|alt.badge.img+5
Tommy O'Shea wrote:

Not any way I’m aware of to have it perform a cleanup. Our team just moves the datastore into a folder called “_DONOTUSE”, and that way it’s a little more out of sight.

My fear is that someone might use the NFS datastore incorrectly. Here, I have many backups environments to manage, and this poses a significant risk.


Tommy O'Shea
Forum|alt.badge.img+3
  • Experienced User
  • 80 comments
  • March 13, 2025
matheusgiovanini wrote:
Tommy O'Shea wrote:

Not any way I’m aware of to have it perform a cleanup. Our team just moves the datastore into a folder called “_DONOTUSE”, and that way it’s a little more out of sight.

My fear is that someone might use the NFS datastore incorrectly. Here, I have many backups environments to manage, and this poses a significant risk.

Doesn’t the datastore become inaccessible after unpublishing the Instant Recovery? And if the DS is sitting in a folder called “Do Not Use”, I hope someone might think twice about using it, perhaps ask some questions.


matheusgiovanini
Forum|alt.badge.img+5

I have an NFS datastore running in my environment, with no active Instant Restore sessions, and I can create a VM there.
 


Renaming it might be useful—I’ll use that tip.


Tommy O'Shea
Forum|alt.badge.img+3
  • Experienced User
  • 80 comments
  • March 13, 2025
matheusgiovanini wrote:

I have an NFS datastore running in my environment, with no active Instant Restore sessions, and I can create a VM there.
 


Renaming it might be useful—I’ll use that tip.

 

That is interesting/concerning. When you create a VM, does it it consume disk space in your Instant Recovery Write Cache folder?

I could see why this could be a risk of someone inadvertently creating a VM there, and it going down when the mount server gets rebooted.


matheusgiovanini
Forum|alt.badge.img+5
Tommy O'Shea wrote:
matheusgiovanini wrote:

I have an NFS datastore running in my environment, with no active Instant Restore sessions, and I can create a VM there.
 


Renaming it might be useful—I’ll use that tip.

 

That is interesting/concerning. When you create a VM, does it it consume disk space in your Instant Recovery Write Cache folder?

I could see why this could be a risk of someone inadvertently creating a VM there, and it going down when the mount server gets rebooted.

Yes, this consumes space from both the mount server and the write cache folder.

This could cause a lot of problems, so I’d like to know if there’s anything I can do to prevent it.


regnor
Forum|alt.badge.img+14
  • Veeam MVP
  • 1352 comments
  • March 14, 2025

By design the Veeam vPower NFS datastore stays connected after an Instant Recovery. The reason for this has been that future restores will be faster as the connection is already existing. It will show as disconnected as soon as you restart your mount server.

Until now there is no solutions besides either ignoring the datastore or manually unmounting it. So there’s nothing Veeam Support can do about this. But there’s a change planned for a future release and as soon as it’s available I’ll update this topic.


Dynamic
Forum|alt.badge.img+9
  • Veeam Vanguard
  • 368 comments
  • March 14, 2025

Just an idea, you could change permissions within vSphere to this mount, that only your Veeam Service account can work with it, for other users/accounts use read/only. 

Also, there’s a script from Niels Engelen out there, where you can dismount it https://github.com/nielsengelen/veeam-powershell


coolsport00
Forum|alt.badge.img+20
  • Veeam Legend
  • 4133 comments
  • March 14, 2025

That would be a welcomed feature Max. Looking fwd to seeing that come to fruition!


Tommy O'Shea
Forum|alt.badge.img+3
  • Experienced User
  • 80 comments
  • March 14, 2025

Glad to see a new feature on the horizon for this. Even something as simple as a checkbox on the the repository settings like "Automatically unmount vPower NFS share when not in use" or something to that effect. 


matheusgiovanini
Forum|alt.badge.img+5
Dynamic wrote:

Just an idea, you could change permissions within vSphere to this mount, that only your Veeam Service account can work with it, for other users/accounts use read/only. 

Also, there’s a script from Niels Engelen out there, where you can dismount it https://github.com/nielsengelen/veeam-powershell

This feature would be really great! I appreciate the ideas and information. In the meantime, I'll keep removing it manually while applying all the suggestions.


regnor
Forum|alt.badge.img+14
  • Veeam MVP
  • 1352 comments
  • Answer
  • March 19, 2025

📯And here we are with the latest release of VBR: 12.3.1139

  • Automatically disconnect vPower NFS datastores after Instant VM Recovery sessions are completed, reduce alarms or misleading capacity planning calculations caused by disconnected vPower NFS datastores. To configure, create the following registry value on the backup server:
    Key Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\
    Value Name: vPowerNFSUnmountDatastore
    Value Type: DWORD (32-bit) Value
    Value Data: 1

https://www.veeam.com/kb4696


Tommy O'Shea
Forum|alt.badge.img+3
  • Experienced User
  • 80 comments
  • March 19, 2025

That’s awesome! Is that feature addition due to this thread? If so that is some great turnaround time.


matheusgiovanini
Forum|alt.badge.img+5
regnor wrote:

📯And here we are with the latest release of VBR: 12.3.1139

  • Automatically disconnect vPower NFS datastores after Instant VM Recovery sessions are completed, reduce alarms or misleading capacity planning calculations caused by disconnected vPower NFS datastores. To configure, create the following registry value on the backup server:
    Key Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\
    Value Name: vPowerNFSUnmountDatastore
    Value Type: DWORD (32-bit) Value
    Value Data: 1

https://www.veeam.com/kb4696

Really happy to know that! I'll upgrade my environment today and won't be afraid of performing an NFS restore anymore.😁 

 

 


matheusgiovanini
Forum|alt.badge.img+5
Tommy O'Shea wrote:

That’s awesome! Is that feature addition due to this thread? If so that is some great turnaround time.

If it was because of this post, it just reinforces how important the community is. I'm happy to be a part of it.

Thanks, everyone!


regnor
Forum|alt.badge.img+14
  • Veeam MVP
  • 1352 comments
  • March 20, 2025

@Tommy O'Shea ​@matheusgiovanini It was a coincidence and this topic came up at the right time 😉 I just didn’t know the exact timing of the release.


Comment