Solved

OpenFiler lost drivers, important work missing!

Posted on 2010-09-04
8
2,793 Views
Last Modified: 2012-06-27
Hello all,

I have been using OpenFiler fine for the last couple of years, I have 4 1TB drives in a software RAID 5 setup as an ISCSI target which I connect to from a Windows Server 2008 box.

This morning when logging in, the drive was no accessable from windows explorer. I removed the target from the ISCSI initiater and readded. The drive then appears in disk management, when i try to online it windows gives me an error message asking if I want to format the disk as it is blank. The drive file system appears as "RAW".

Openfiler is still up and reports no problems with any of the disks, all the SMART stuff checks out as well... Is there anything I can do to reverse this situation. I am pretty desperate as it holds a lot of work from the last few weeks which has not been backed up, I would be extremely grateful for any help anyone could offer.

Thanks,
Jamie
0
Comment
Question by:purejamie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 47

Expert Comment

by:David
ID: 33604606
You removed and re-added?  EXACTLY how did you do this.  Step-by-step.  You may have destroyed the partitioning and/or filesystem headers.  This is recoverable, mostly, but it will be a long painful process that will also require the use of 3 TB worth of scratch disks, and most likely more than a week of your time.
0
 

Author Comment

by:purejamie
ID: 33604617
Hi there, thanks for the response.

I may not have chosen my words well in the OP, when I couldn't see the disks any longer :

* Went into ISCI initiator in windows
* On the target tab, disconnected from the target by selecting the target and pressing the disconnect button
* On the discovery tab, removed the target portal  by selecting the target address and selecting remove
* Then did a quick connect on the IP address of the target again

Hope this helps,
Jamie.

0
 
LVL 14

Expert Comment

by:theras2000
ID: 33604620
I've used other SAN/RAID devices, but not iSCSI and not an OpenFiler, so I'm not exactly sure what you mean by the Initiator and target.  I'm assuming you didn't delete the config of the drives on the RAID interface, but you just stopped the volume from displaying itself to Windows.

It's a shame when you have all the fancy RAID and such, which can protect from a physical disk failure, but not from a data error like this.  Sounds like the file tables just got a small corruption somewhere.
Spinrite http://www.grc.com/spinrite.htm is a well-regarded HDD repair/maintenance utility which you can burn to CD or USB stick.  You'd need to shutdown the OpenFiler and pull out all 4 drives.  Run Spinrite on all of them (via attaching them to other computers directly), then put them all back in and turn it back on.  I'd suggest running Spinrite on level 2 to start with.
I know the website is a little cheezy, but the guy is a genius and has been an expert in HDDs, security and programming for decades.  He has a great security podcast too, on the popular TWiT network.
0
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 
LVL 47

Expert Comment

by:David
ID: 33604698
Running spinrite is and always will be a major mistake for a software-based or hardware-based RAID controller.  Doing so almost guarantees data destruction.   The reason, is that when it recovers a block of data, then no feedback is possible to the controller.   Controllers maintain tables of known bad blocks and use the XOR parity to extrapolate the data.   It has no idea whether or not the controller was doing something special?   What if block #X on 2 disks are bad, but one or both are recovered?  Think about the data corruption scenarios.

0
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 33604921
Ok, I understand probably what's happened here, I've seen iscsi targets drop off Windows servers boxes. I hope you did initialise the disk when added back.

I would use iCard Disaster Recovery to check the raw disk or if you can chkdsk and see if it reports it as ntfs disk.
0
 

Author Closing Comment

by:purejamie
ID: 33605014
hanccocka,

The old ones are the best! A chkdsk actually fixed the problem, found NTFS straight out then fixed a load of index entries, works a treat!

Thanks a million, much appreciated.

Jamie.
0
 
LVL 121
ID: 33605055
Yep, people forget about chkdsk!

Make sure you get a backup of the lun, and try and establish why it went offline, lost, and got corrupted.

All the best

0
 

Author Comment

by:purejamie
ID: 33605058
oh yes - backup kicked off, I'll take a hunt through the logs tomorrow.

Thanks again.
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

728 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