Discussions specific to the VMware vSphere hypervisor
Post Reply
rday
Lurker
Posts: 2
Liked: never
Joined: Apr 01, 2020 5:42 am
Contact:

Virtual Appliance Transport mode disables automount

Post by rday »

We have a small environment:
- single ESXi server with 6 VMs, all storage is local hard drives on the ESXi server.
- one of the VMs is the Veeam server, configured as Backup Proxy and Backup Repository, and everything else Veeam.
- primary repository is on some slower local mounted disks, mounted on the Veeam server as E: drive
- second repository is (rotating) USB HDD, directly connected to the ESXi, with USB passthrough to the Veeam server VM, and mounted on Veeam server as F: drive.
- Backup job backs up all the VMs, including C: Drive of Veeam server, to the primary repository, and a Backup copy job then copies the backup to the USB

This setup has worked quite well, with a daily swap of the USBs without anyone having to login to the servers.

However, I recently upgraded from Veeam B&R 9u4 to Veeam B&R 10 (no other changes) and since then the USB drives have not been automounting. I spent several days trying to find out what was happening. Eventually I found out that the Backup job was, somehow, disabling automount (diskpart > automount) everytime it ran.
I found one line in the Veeam B&R user guide under Backup Proxy > Transport Modes > Virtual Appliance > Limitations for the Virtual Appliance mode
[For Microsoft Windows proxy] Before running a data protection task, Veeam Backup & Replication disables the volume automount feature.
For Veeam B&R 9u4, this is not mentioned.
There is no hint anywhere that this is a change between V10 and previous versions.

So I have changed the Backup Proxy Transport Mode setting from "Automatic Selection" to "Direct storage access" which seems to have stopped the backup jobs disabling automount.

My questions:
- is this the best way to cope with this dubious new "feature"?
- Is Direct storage access the best Transport mode for us?
- why did Veeam do this? And especially why did they not mention it in the release notes, as it is a significant change from previous versions.

Thanks

Andreas Neufert
VP, Product Management
Posts: 4368
Liked: 816 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: Virtual Appliance Transport mode disables automount

Post by Andreas Neufert »

There are 2 settings influencing how Windows enable and mount volumes.
SAN
https://docs.microsoft.com/de-de/window ... mmands/san
and Automount
https://docs.microsoft.com/en-us/previo ... v%3Dws.11)

SAN handles if the volumes goes "online" automatically in the Windows diskmanager.
Automount (if enabled) takes any "online" volume and mount any partition as drive letter in windows. On the same process it writes a signature to the disk/volume.

We disable both to avoid that windows overwrite any data at backup when we mount the VM disks for backup. All Veeam versions disable this for the Proxy configurations independantly from the transport protocol that you use.

In your environment you need to make sure that the SAN policy bring only USB volumes online automatically so that enabled automount can mount those volumes.

rday
Lurker
Posts: 2
Liked: never
Joined: Apr 01, 2020 5:42 am
Contact:

Re: Virtual Appliance Transport mode disables automount

Post by rday »

Hi Andeas,

Thank you for this information.

For your information, the SAN Policy was already "Offline Shared" as you suggest, and the USB HDDs in question have all previously been mounted and the disk signature written. This issue is occurring on a subsequent mount of the USB HDDs.

If "All Veeam versions disable this for the Proxy configurations independantly from the transport protocol that you use":
- why did Veeam B&R PRIOR to v10 not disable Automount?
- why does changing the Transport mode for Backup Proxies in Veeam B&R 10 to anything other than Virtual Appliance mode, stop Veeam from disabling Automount?

So, what is the Veeam recommended way of allowing USB HDDs that are part of a Rotating Backup Repository to 'automount' on Windows servers that are also Backup Proxies?
And why did Veeam not advise of this change for Virtual Appliance Transport mode for Veeam B&R 10?

Thanks
Rick

Andreas Neufert
VP, Product Management
Posts: 4368
Liked: 816 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: Virtual Appliance Transport mode disables automount

Post by Andreas Neufert »

I is no a change in the Virtual Appliance mode. Whenever you install a proxy server or the Backup server itself which has a Proxy role installed we protect the processing by changing the way that windows mounts or enabled disks. This depends on Windows Version and Veeam version and is done to protect you from having issues because of it. In your case you need to leave the SAN policy as is and enable automount.

Why this affected you is, that we likely enforce the setting again if you do major version updates.

BrentO
Lurker
Posts: 1
Liked: never
Joined: Apr 20, 2020 4:02 pm
Contact:

Re: Virtual Appliance Transport mode disables automount

Post by BrentO »

I've also been running this way for YEARS with several small business customers. I've spent the better half of a week trying to figure this out too and I agree with the OP that you can enable automount but it gets disable again.

Why even have the "backed by rotating drives" setting if this is going to be the way it is handled going forward?

These are small customers backing up 3-5 VMs. Hard to have 2 VMs dedicated for backup when they only have 3 servers for production.

Andreas Neufert
VP, Product Management
Posts: 4368
Liked: 816 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: Virtual Appliance Transport mode disables automount

Post by Andreas Neufert »

Is there any support case with logs that I can escalate ?

Gostev
SVP, Product Management
Posts: 26503
Liked: 4150 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Virtual Appliance Transport mode disables automount

Post by Gostev »

Actually, it's a known change in v10... I'm well aware of it. This was done to avoid data loss with hot add transport mode due to some Windows bug/peculiarity with its automount logic. This was thoroughly investigated last year including with Microsoft R&D (took many months), and unfortunately what is implemented in v10 is the only possible workaround.

However, for such small environments as mentioned above (just a few VMs), it should not be a problem to switch to the network transport mode?

Paolo Lenzini
Lurker
Posts: 1
Liked: 2 times
Joined: Jun 16, 2020 6:14 am
Full Name: Paolo Lenzini
Contact:

Re: Virtual Appliance Transport mode disables automount

Post by Paolo Lenzini » 2 people like this post

My situation is also similar to the one mentioned above. With version 9.5 everything was fine, while 10, every time it backs up, disables automount. I solved it with a workaround: I created a batch file that re-enables automount and I scheduled it, in this way when I change the disk automount is active, then when it does the backup it is deactivated again. The content of the batch file is: "diskpart / s Automount.txt" and that of the Automount.txt file is: "automount enable"

jeri
Lurker
Posts: 2
Liked: never
Joined: Jul 29, 2020 10:12 pm
Contact:

Re: Virtual Appliance Transport mode disables automount

Post by jeri »

Gostev wrote:
Apr 24, 2020 9:35 pm
Actually, it's a known change in v10... I'm well aware of it. This was done to avoid data loss with hot add transport mode due to some Windows bug/peculiarity with its automount logic. This was thoroughly investigated last year including with Microsoft R&D (took many months), and unfortunately what is implemented in v10 is the only possible workaround.

However, for such small environments as mentioned above (just a few VMs), it should not be a problem to switch to the network transport mode?
is the "problem" fixed in Version 10a RTM (build 10.0.1.4854) on July 21, 2020 ?

Gostev
SVP, Product Management
Posts: 26503
Liked: 4150 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Virtual Appliance Transport mode disables automount

Post by Gostev »

This change was purposely made to prevent a data loss scenario with hot add transport mode on Windows-based backup proxy servers. In other words, it's not a bug/problem waiting to be fixed.

jeri
Lurker
Posts: 2
Liked: never
Joined: Jul 29, 2020 10:12 pm
Contact:

Re: Virtual Appliance Transport mode disables automount

Post by jeri »

okay thanks gostev.

But I solved the Problem :-)
with this tool: https://www.uwe-sieber.de/usbdlm.html

Gostev
SVP, Product Management
Posts: 26503
Liked: 4150 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Virtual Appliance Transport mode disables automount

Post by Gostev »

Excellent tool, thanks for sharing!

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 31 guests