Solved

the file or directory is corrupted and unreadable on certain directories on my SAN

Posted on 2011-03-14
13
1,792 Views
Last Modified: 2014-03-18
I have an equalogic PS 100 SAN setup as share drive to one of my windows 2003 servers. Recently I came across about 10 directories that say the file or directory is corrupted and unreadable. I cannot delete or remove. Is checkdsk my only option? I have 800GB of data so I cant have the server down for that long. I just want to delete these directories.
0
Comment
Question by:phishbone4
[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
  • 6
  • 6
13 Comments
 
LVL 31

Expert Comment

by:Justin Owens
ID: 35131809
How log are the complete path names under the corrupt directories?  Paths too long can cause this type of corruption.  One option may be to truncate them starting at the root folder and moving out (rename "Long Department Name Shared Folder" to "A", for example).

DrUltima
0
 

Author Comment

by:phishbone4
ID: 35132185
This is the path:

S:\Data\US\studies

The directories naming convention is ECO01

I don't think the long naming convention is the problem.

I have tons of other similar directories in this studies directory with no problem.
0
 
LVL 31

Expert Comment

by:Justin Owens
ID: 35132274
From the Windows side of things, you don't have that many options.  You can run chkdsk in read only mode to see if it finds any faults...  This does not require a dismount, but it will slow performance....

http://technet.microsoft.com/en-us/library/cc755829%28WS.10%29.aspx

DrUltima
0
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 

Author Comment

by:phishbone4
ID: 35139362
ok I am running the read only scan now but what if I have errors. This data is on a SAN with 800GB of data. This data is critical for my company so I cannot have this done for to long. Is there something I can use to remove these directories without down time?
0
 
LVL 31

Expert Comment

by:Justin Owens
ID: 35139460
Is the data on one large LUN, or is it divided up into multiple volumes?  Remember, chkdsk just needs sole access to the volume, not the entire SAN (unless it is just one big volume).  Bottom line is that if your management will not allow you to schedule a downtime to perform the error, you have two choices:

Live with it and just don't have access to that data and potential future corruption is one choice.  If you go this route, then you need to get specific management buy-off indicating your job is safe when it blows up because they won't let you do what needs to be done.

The other option is to just do it anyway, and have an "accidental" reboot.  Once that happens, you could cause catastrophic data loss if you stop the chkdsk, so your only choice it to just let it finish and apologize for the downtime.

Neither option is optimal.  You really need to get management to approve the downtime needed to fix the problem.

DrUltima
0
 

Author Comment

by:phishbone4
ID: 35139637
Just finished the chkdsk read only scan and it could not proceed in read only due to errors it found. Is there a way I can move the folders to another location?
0
 
LVL 31

Expert Comment

by:Justin Owens
ID: 35139774
You can try.  It will probably fail. I wish I could offer more encouragement than that.  What I would do in your shoes is push for a scheduled downtime as quickly as I can.
0
 

Author Comment

by:phishbone4
ID: 35157740
What is the difference with the following:

chkdsk /r
chkdsk /f

Can either be ran while the server is online?
If I disable the shares to this SAN volume I would think either one would work since no files would be locked.
also, I dont see how a chkdsk would work on a reboot since ISCI needs to initiate to mount the SAN volume.
0
 
LVL 31

Accepted Solution

by:
Justin Owens earned 250 total points
ID: 35157794
http://technet.microsoft.com/en-us/library/cc938973.aspx

/f - This switch causes chkdsk to fix the errors on the drive by marking them as non-writable.  It does not attempt to recover the data that is in the corrupt sector.

/r - This switch implies a /f (it will search for and try to fix corrupt sectors).  Additionally it will try to recover the data from the corrupt area.

Both switches require the volume to be locked, so no other access to the data is possible.  It will most certainly bring that volume offline for access.

DrUltima
0
 

Author Comment

by:phishbone4
ID: 35181577
I have no problem with the drive being off-line as long as the server stays up. I would think since it is not the system drive it would not have to reboot if no one was accessing the drive.
0
 
LVL 31

Expert Comment

by:Justin Owens
ID: 35182470
If no process have locked the volume, it will try to force a dismount to run the check.  If the dismount fails, it will ask if you want to do it on next reboot.
0
 

Author Comment

by:phishbone4
ID: 35217365
I plain to do the chkdsk /r tonight. Any last minute advice?
0
 

Expert Comment

by:singh_vir
ID: 39938852
i have a similar issue . please advice if you were successful with this ?

thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchange 2007 to 2016 Storage Sizing. 5 65
Create link to folder for use with apache. 7 79
Scanning using HP Officejet 4650 6 64
Recover options for a failed domain. 4 53
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
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…

749 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