Solved

SAN Data recovery, VMWARE

Posted on 2012-04-09
6
409 Views
Last Modified: 2013-02-19
Long story short I have a HP MAS1000 that connects via fiber channel to 3 ESX servers.  A power outage hit, and some of the LUNS or Units did not come back online, so my esx shows missing vms.  

When I search the Datastore, I can not look into the luns I am trying to get to.  I called HP and they told me to run the command Accept unit on the MAS1000.  The luns now show good from the san but ESX, can't read the partition table and although I could map it as a new datastore,  I get a warning that says all data can be lost.....(scared)

My issue, are there any tools out there that would allow me to mount those LUNS, to try some sort of data recovery, and is there a good way to back up a LUN that cant be mounted in vmware, I have an extra server with a fiberchannel card, I can install anything on it that would help me out.

Thanks in advance
0
Comment
Question by:Preston55
  • 3
  • 2
6 Comments
 
LVL 42

Expert Comment

by:paulsolov
ID: 37826002
Most of the time the data is corrupt and is unrecoverable.  See if you can clone the LUN first and try any mounting on the cloned LUN.
0
 

Author Comment

by:Preston55
ID: 37826117
One of my problems, is I just don't have the space on the HP MaS1000 to clone it, I do have QNAP which can do NFS and ISCSI mounts, etc...  although I am not sure what to use  VMware DD or even windows to copy from the one store to the other.  Again, I can't actually mount the LUN in ESX, it sees it, but takes to me, the your data will be destroyed warning.
0
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 37826561
what output do you get with esxcfg-volume -l

do you get something like this when run

~ # esxcfg-volume -l
VMFS3 UUID/label: 4cc89503-f054d0d4-2865-00221958e471/nas3-vmfs
Can mount: Yes
Can resignature: No (the volume is being actively used)
Extent name: naa.600140588e9bab7d2b7ed4b53dadc1de:1     range: 0 - 1048319 (MB)

and then you can try

esxcfg-volume -m 4cc89503-f054d0d4-2865-00221958e471

or

esxcfg-volume -m nas3-vmfs

to mount the datastores using friendly datastore name or UUID


if you can connect to another Windows system with fibre card, (and be careful not to format the disks, when you re-scan), you could try and run VMFS Recovery

http://www.diskinternals.com/vmfs-recovery/

to recover the VMDK virtual disk files.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:Preston55
ID: 37827750
Have you used VMFS recovery does it seem to work,

I put an esxi5 box up for testing on this, when I run esxcfg-volume -l it doesn't give me anything

I did a "su -"  went to /usr/sbin, I can help the command esxcfg-volume --? and get a read out but when I do the -l it doesn't list anything.
0
 
LVL 119
ID: 37828325
Yes, VMFS recovery does work.

esxcfg-volume -l should show VMFS datastores.
0
 

Author Comment

by:Preston55
ID: 37828659
Should I install windows to the physical box or do you think I can run a fiberchannel connection through a Win7 VM
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now