When you are trying to mount a LUN (by using Connect Disk) in SnapDrive, you may get an error saying:
This generally occurs when you have created a LUN using the NetApp System Manager
first, and then tried to connect to it in SnapDrive
.
The reason for this error message is that when SnapDrive is connecting to a disk, it expects to see a formatted partition being connected – and when this doesn’t occur, it doesn’t know what to do and times out.
Clean Up The Mess
As the LUN mapping has failed half way through, you need to remove the igroups that have been added to the LUN, otherwise you will receive a The specified LUN /vol/xxx is already mapped to at least one initiator
error.
- Connect to the filer using telnet
- Run the following command:
You will get a message back saying the igroup has been unmapped from the LUN.
Connect The LUN Again
Open SnapDrive and start connecting to your LUN again, as the process starts to occur you will see the following status messages appearing:
- At this point, open up Computer Management and then in the left navigation pane select Disk Management
- You will notice a new, unformatted drive appear. If you don’t see it keep refreshing until it appears
- You will need to be quick (you only have 120 seconds until time out remember), so initialize the disk
- After the disk has initialized, right click on the empty drive space and choose
Format
and follow the prompts to format the disk and specify the drive letter you choose when connecting to the LUN using SnapDrive
SnapDrive should now discover the disk and map it correctly. To prevent this occurring in the future, create your LUN’s using the SnapDrive interface instead of NetApp System Manager, as SnapDrive will format the LUN on creation.