

To do this, you first need to mount the VHD into Windows using the Mount-VHD command in Windows. You can also mount virtual hard disk files (VHD) into WSL using wsl -mount. WSL from the Microsoft Store introduces a new argument to directly mount a VHD: wsl -mount -vhd Once you have identified the partitions you want to mount, run this command on each partition: wsl -mount -partition -type This will output the detected filesystem type (under the TYPE="" format). If you don't know the type of filesystem of a disk or partition, you can use this command: blkid For example, /dev/sdb3, is the partition number 3 of disk sdb.Įxample output: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT Inside Linux, a block device is identified as /dev/. This will display the available block devices and their partitions. Once attached, the partition can be listed by running the following command inside WSL 2: lsblk (In the case of our example, the is \\.\PHYSICALDRIVE*. This will make the disk available in WSL 2. List and select the partitions to mount in WSL 2 - Once the disk is identified, run: wsl -mount -bare The disks paths are listed after 'DeviceID', usually in the \\.\PHYSICALDRIVE* format. If you have a disk that you aren't sure what file format it is in, or what partitions it has, you can follow the steps below to mount it. Mount the disk - Using PowerShell, you can mount the disk using the Disk path discovered above, run: wsl -mount Usually under the \\.\PHYSICALDRIVE* format. The disks paths are available under the 'DeviceID' columns. Identify the disk - To list the available disks in Windows, run: GET-CimInstance -query "SELECT * from Win32_DiskDrive" In this simplest case, if you have a disk that doesn't have any partitions, you can mount it directly using the wsl -mount command. You can join the Windows Insiders Program to get the latest preview builds. You will need to be on Windows 11 Build 22000 or later to access this feature. You can't mount the Windows installation disk. wsl -mount always attaches the entire disk even if only a partition is requested. The WSL 2 mount command does not support mounting a disk (or partitions that belong to the disk) that is currently in use. hr = 0x80070490, Element not found.Administrator access is required to attach a disk to WSL 2. "Volume Shadow Copy Service error: Unexpected error calling routine IOCTL_DISK_SET_SNAPSHOT_INFO(\\.\PHYSICALDRIVE1) fails with winerror 1168. In the Application section of the Event Viewer in the problematic virtual machine, you can see the following below error message reported by Windows guest operating system Note : This issue will occur mostly on the windows 2008 R2 server VM environment.

The backup will fail in VembuBDR client with the error message "Failed to create snapshot for, error -3960 (cannot quiesce virtual machine)"Ĭloning a Windows 2008 R2 virtual machine will fail.We cannot create a quiesced snapshot of the virtual machine.The snapshot operation will fail to complete.Please check the same and fix the backup failure issue as mentioned above. The things that confirms the "Cannot take a quiesced snapshot " issue are mentioned below. Please refer the VMware kb article for further details on disabling the VSS applications quiescing with either the VMware vSphere Client or with VMware Tools. You can disable VSS applications quiescing with either the VMware vSphere Client or with VMware Tools.

To work around this issue, disable VSS quiesced application-based snapshots and revert to file system quiesced snapshots. As per VMware Knowledge base article Currently, there is no resolution for this issue. It affects ESXi/ESX 4.1 and later versions. This is a known issue with VSS application snapshots which is not caused by VembuBDR client instance or the VMware software.
