Solved

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

Posted on 2011-03-14
13
1,780 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: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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
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 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…

786 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