Array Performance and Data Protection
1752777 Members
6431 Online
108789 Solutions
New Discussion

How to use snapshot clone with Hyper-V?

 
SOLVED
Go to solution
macnsy120
New Member

How to use snapshot clone with Hyper-V?

Hello Nimble Community,

We have a cluster of Hyper-V working with two servers on 2012 R2 and a Nimble Storage CS300.

When we make a clone of a snapshot and we connect the new clone volume on the cluster with ISCSI Initiator, it’s impossible to put it online in Disk Management.

The volume appears “Reserved” and when we try to put it online we obtain this message box:

screenshot.png

Any idea ?

Thanks,

Rudy

9 REPLIES 9
mblumberg16
Respected Contributor

Re: How to use snapshot clone with Hyper-V?

Hi Rudy,

When mapping a shared clone to the same node, you will see a read only value in diskpart, you will need to clear that.

We have a great KBA you can find in this link KB-000047 which details the steps needed.

Thanks,

Moshe.

macnsy120
New Member

Re: How to use snapshot clone with Hyper-V?

Hi Moshe,

Thank you for your reply.

I try diskpart command and when I try to get the details on the disk, there is no volume:

listdisk.png

Thanks,

Rudy

mblumberg16
Respected Contributor

Re: How to use snapshot clone with Hyper-V?

I'm sorry Rudy, my French is not very good, can you either translate it?

If you look at the clone on the nimble array is it still connected to the host?

Also, did you try to connect it to a host outside the cluster?

Also do you get the same result when you do list volume in diskpart?

Thanks,

Moshe.

macnsy120
New Member

Re: How to use snapshot clone with Hyper-V?

I try to translate in English the result of diskpart commands:

DISKPART > select disk 22

The disk 22 is now selected

DISKPART > detail disk

Nimble Server Multi-Path Disk Device

Disk ID: {5A........................}

Type: iSCSI

Path: 0

Target: 7

ID LUN: 0

Location path: UNAVAILABLE

Current read-only status: Yes

Read-only: Yes

Startup disk: No

Disk of files of exchanges: No

Hibernate files disk: No

Crash dump file disk: No

Clustered disk: Yes

There is no volumes.


Yes, the clone is connected to the host:

artemis.png

I added a host outside cluster in Initiator group access on the CS300 and when I try to connect the iSCSI volume on it, an error occured.

Thanks,

Rudy

chris24
Respected Contributor

Re: How to use snapshot clone with Hyper-V?

Hello,

It says it's reserved because it's read only and a cluster disk, these have to read NO.

Current read-only status: Yes

Clustered disk: Yes

DISKPART> select disk X   

Disk 0 is now the selected disk.

DISKPART> attributes disk clear readonly

DISKPART> uniqueid disk id=x (where x is the unique GPT GUID)

Generating a Unique Disk ID at  http://www.guidgenerator.com/

You can now present it back to the cluster.

More information can be found here KB-000341

Many thanks,

Chris

macnsy120
New Member

Re: How to use snapshot clone with Hyper-V?

Hi Chris,

I try your diskpart commands but it's not possible to clear readonly :

ro.png

Thanks,

Rudy

chris24
Respected Contributor
Solution

Re: How to use snapshot clone with Hyper-V?

You have to do this operation from a machine not connected to the cluster. A standalone machine.

I just saw your comment: "I added a host outside cluster in Initiator group access on the CS300 and when I try to connect the iSCSI volume on it, an error occured."

Make sure it's only connected to that host not others. Also make sure the iqn you added for that host is correct in the initiator group and you have the discovery IP address of the array.

If you have further issues, I would suggest reading the KB article I linked which details the steps. Alternatively, please don't hesiatate to reach out to support, we do have French speakers also

Many thanks,

Chris

macnsy120
New Member

Re: How to use snapshot clone with Hyper-V?

Success!

I was able to present the clone to a host outside the cluster by modifying the network configurations of the CS300.

Our Hyperv cluster is connected to the array via a dedicated network and the host outsite the cluster was on another network that at the bay level was configured for management.

So I have modified the network settings of the CS300 to activate the ISCSI on the eth ports connected to the host outside the cluster.

From there, I was able to connect the cloned volume to iSCSI and change the settings with diskpart and I was able to present the cloned volume to the hyperv cluster.


Thanks everybody for your valued support,

Rudy

abarve110
HPE Pro

Re: How to use snapshot clone with Hyper-V?

Getting the storage of Hyper-V VMs cloned and attached to the cluster will be a single PowerShell command with Nimble Windows Toolkit 4.0 (currently in beta).

Please check this blog for more information:

The “Power” of PowerShell cmdlets in Nimble Windows Toolkit 4.0

Thanks,

Anagha