Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1889
  • Last Modified:

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

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
phishbone4
Asked:
phishbone4
  • 6
  • 6
1 Solution
 
Justin OwensITIL Problem ManagerCommented:
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
 
phishbone4Author Commented:
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
 
Justin OwensITIL Problem ManagerCommented:
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
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
phishbone4Author Commented:
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
 
Justin OwensITIL Problem ManagerCommented:
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
 
phishbone4Author Commented:
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
 
Justin OwensITIL Problem ManagerCommented:
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
 
phishbone4Author Commented:
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
 
Justin OwensITIL Problem ManagerCommented:
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
 
phishbone4Author Commented:
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
 
Justin OwensITIL Problem ManagerCommented:
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
 
phishbone4Author Commented:
I plain to do the chkdsk /r tonight. Any last minute advice?
0
 
singh_virCommented:
i have a similar issue . please advice if you were successful with this ?

thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

  • 6
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now