Unsolved
This post is more than 5 years old
9 Posts
0
4215
March 9th, 2010 17:00
How to remove unreadable disks in Windows after removing LUN?
Hi,
I'm predominantly a Unix guy so forgive me if this is actually fairly simple.
Issue: I've just removed a LUN (Clariion CX3-40) from a Win2K3 VM but now have four disks showing as unreadable in diskpart.
What I did (if I remember correctly):
Deleted the partition in Device Manager on Win2K3 VM
Removed the LUN from the Storage Group in Navisphere
Ran "powermt check reconfig dev=all" and answered "a"
Ran "powermt display dev=all" and saw no LUNs
Diskpart then showed the internal disk but also 4 x unreadable disks. There are two HBAs, each with a path to both SPs.
I have tried the following in diskpart:
rescan
selecting a disk and then trying delete
I've also rebooted.
Any ideas?



dynamox
9 Legend
•
20.4K Posts
0
March 9th, 2010 18:00
can you check Storage group and see if there is a LUN with host id 0 ?
JWoodUGL
9 Posts
0
March 10th, 2010 17:00
Thanks for the tip but had to quickly move the server (VMWare Proxy) to another storage group and after that everything came good.
Would have liked the time to trouble shoot but it wasn't to be.
As for your question, there were no more LUNs in the storage group, in fact, I'd even removed the host.
bernd3
42 Posts
1
March 10th, 2010 23:00
does "Win2K3 VM" mean a Win2k3 server as virtual machine on an esx host?
If yes you have to go into the configuration dialog for the vm and manually remove the disk mapping, otherwise esx keeps the virtual mapping alive no matter what the state of the real lun is
JWoodUGL
9 Posts
0
March 11th, 2010 13:00
Thanks Bernd. I realise now that my initial post was wrong (I'll see if I can go back and edit). The server is not actually a VM but a physical server. Its a VMWare Proxy Server.
Sorry for the confusion.
JWoodUGL
9 Posts
0
August 2nd, 2010 15:00
Had this issue again and raised a ticket with EMC. Turns out that you can clear these by going into Disk Management, right click on a disk, select properties and at bottom is a drop down. There are only two options and one of them has something like disable or delete the device. Choose that and it disappears.
kelleg
4 Operator
•
4.5K Posts
0
August 4th, 2010 14:00
What do you do when you remove a LUN from a UNIX box? Don't you have to unmount it first before you remove it from the Storage Gorup?
In Windows I believe this is the same step - in Disk Management you take away the drive letter - I've been told that unmounts the disk, then you can remove the LUN from the Storage Group.
glen
AranH1
2.2K Posts
1
August 4th, 2010 15:00
Jason,
The process I usually follow when removing a LUN from a Windows host that will remain SAN attached is below:
1. Delete partition (diskpart or Disk Managment)
This step cleanly dismounts and deletes the file system within Windows
2. Remove LUN from Storage Group
At this point the LUN will show up in PowerPath with all paths failed
3. Clean up PowerPath
a. On Windows hosts run "powermt check force dev=all"
This will delete all the dead paths
b. Then run "powermt save" to save the configuration change
Hope that helps,
Aran
JWoodUGL
9 Posts
0
August 4th, 2010 16:00
Hi Aran,
That is pretty much what I did but still had those left. I've got another server that had similar issues but I could get it back to a "good" status when I reattached the same LUN.
I'll try those steps again and see how it goes. If not, at least I now know how to get rid of those unreadable disks.