[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

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

Posted on 2011-03-14
13
Medium Priority
?
1,851 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

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 1000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

650 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