Solved

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

Posted on 2011-03-14
13
1,758 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
  • 6
  • 6
13 Comments
 
LVL 31

Expert Comment

by:DrUltima
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:DrUltima
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
 

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:DrUltima
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 31

Expert Comment

by:DrUltima
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:
DrUltima 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:DrUltima
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

How to Backup Ubuntu to Amazon S3

CloudBerry Backup offers automatic cloud backup and restoration for Linux. It has both GUI and command line interface (CLI) ensuring its flexibility in use. Find out more

Join & Write a Comment

Suggested Solutions

Hyper-convergence systems have taken the IT world by storm and have quickly started to change our point of view of how the data center should and could be architected. In this article, I’ll explain the benefits of employing a hyper-converged system …
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
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 …
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…

747 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

13 Experts available now in Live!

Get 1:1 Help Now