Sign in with
Sign up | Sign in
Your question

Cannot Format "Partition Contain Open Files"

Last response: in Storage
Share
July 12, 2006 2:18:14 AM

Folks,

Once I installed LimeWare, then I stop in the middle of install due to Java downloads that took ages .. My fault is to go into hibernation just after this. So, the next time I can't boot due to an error like "hiberfil.sys is corrupt" then there was an option to "delete corrupted hiberfil.sys and boot normally" .. But unfortunately it still did not boot ...

Since I gave up fixing it using "R" the recovery console (note: the console can not detect my OS boot drive, WinXP) then my focus goes for data recovery. I have two partition on that drive, OS and data, and luckily KNOPPIX would able to recover all my data (after Hiren's boot cd and Digiwiz XP Live failed).

The big problem is that I still cannot format the hard drive. After several test (especially using Dell Diagnostic), it say "DST Short Test fail 1000-0146, IDE Status failed". Error code 0F00:0244, Msg: Block 38301616, 38301617, 38301618 Uncorrectable data error or media is write protected.
(All those Dell users on the net said that they must return the HD to Dell and have an exchange ... If the HD is still under warranty)

Using QTparted, these block belong to hiberfil.sys.

Zero fill (low level format) failed using Ranish, as it gives some error number (I forgot to note) but the reason is similar with Partition Magic report "Cannot format due to partition contain open files".

Any help how to format the drive? Thank you in advance.
July 12, 2006 2:51:26 AM

Quote:
Folks,

Once I installed LimeWare, then I stop in the middle of install due to Java downloads that took ages .. My fault is to go into hibernation just after this. So, the next time I can't boot due to an error like "hiberfil.sys is corrupt" then there was an option to "delete corrupted hiberfil.sys and boot normally" .. But unfortunately it still did not boot ...

Since I gave up fixing it using "R" the recovery console (note: the console can not detect my OS boot drive, WinXP) then my focus goes for data recovery. I have two partition on that drive, OS and data, and luckily KNOPPIX would able to recover all my data (after Hiren's boot cd and Digiwiz XP Live failed).

The big problem is that I still cannot format the hard drive. After several test (especially using Dell Diagnostic), it say "DST Short Test fail 1000-0146, IDE Status failed". Error code 0F00:0244, Msg: Block 38301616, 38301617, 38301618 Uncorrectable data error or media is write protected.
(All those Dell users on the net said that they must return the HD to Dell and have an exchange ... If the HD is still under warranty)

Using QTparted, these block belong to hiberfil.sys.

Zero fill (low level format) failed using Ranish, as it gives some error number (I forgot to note) but the reason is similar with Partition Magic report "Cannot format due to partition contain open files".

Any help how to format the drive? Thank you in advance.


Yea you will need to return that to Dell, if under warranty mind you, they should replace it no problem because it is also known as an Error Code 7. What happens is the diags scan 1000 sectors at beginning, 1000 at the end and 3000 in the middle, and if a certain amount of those sectors can't be read it will shoot you back that error.

The only thing they MAY want you to do (but I doubt it because of the DST Short Status test) is run a debug script which they will have you do manually.
July 12, 2006 4:04:34 AM

I purchase it on eBay last year (almost 1 year up to now), but I think it is provided with 3 month service warranty only .. And now I live in Singapore (my eBay seller is in US). So, it looks like there is no option for returning to Dell.

I believe the harddisk is not physically damaged, it just some "file protection" from NTFS appear. What do you mean by special script? Should I ask it from Dell or is there some program out there can do exactly the same?

Tq again.
Related resources
July 12, 2006 3:40:19 PM

I'm sure there is, I just don't know of it.

It's not really special, it's a manual way to write zero's the hard drive. If you call into Dell and ask for a debug script they should know what you are talking about.
July 12, 2006 4:11:15 PM

Well, I did a quick google search on:

DST Short Test fail 1000-0146

And found:

DST Code 1000-0146

Very possible that the HD is failing, according to the dell forum.
July 12, 2006 4:23:26 PM

Quote:
Well, I did a quick google search on:

DST Short Test fail 1000-0146

And found:

DST Code 1000-0146

Very possible that the HD is failing, according to the dell forum.[/q

Aye it is very possible but he said the blocks that it were retruning are the block the file is written on, so if Dell won't replace they will most likley have him run the debug script
July 12, 2006 4:43:12 PM

Here is a link to the page I have used many times on Dell website to help me clean up a hard drive.

Debug Script
July 12, 2006 4:50:16 PM

You have a defective HD: the error shows up because the drive controller recorded a large numbers of failing sectors and refuses to format in order to allow a succesfull data recovery.
Recover and backup all your dara and RMA the device.

This is because I don't like Seagate HDD: they don't do accurate surface tests at factory, it's more earnful for them to skip the tests and substitute failing units. This is for price reasons because home users want to spend no money for big drives, but it's a very bad practice for a company like that, also because they don't deeply test ANY drive, server class too!
July 12, 2006 4:51:16 PM

hey dud newbe here just sugesting it might work, open for criticism

try:
1) find an extra hard disk and install on the IDE 1. Attach the Dell Hard disk on IDE 2 then try to format using third party formating utilities i use Dban. In this way the formating utility might consider the ide 2 as an extended partition which will than be able to format

else

2) fetch an extra hard disk and temporarly replace it with dell hard disk. install a copy of xp, attach del hard disk on ide 2 and try to acess the dell hdd trough windows. if u able to acess then try to delete/format/repair the partitions

cheers
July 12, 2006 5:28:02 PM

using that Knoppix CD you have, verify that the disk is going bad with smartctl (read the man page "man smartctl" or goto the website).

If the disk report returns a bad report, you need to get another one.

If not, using that same Knoppix disk, simply do the following "dd if=/dev/zero of=/dev/hdX", where /dev/hdX matches whatever the disk in qustion is (find out with "fdisk -l"). This is going to take a while, but is the most brute-force method available, if the disk can be reformated this will do it.

I've used this method to recover disks that even vendor-provided "zeroing" utils wouldn't fix.
July 12, 2006 5:28:49 PM

Quote:
You have a defective HD: the error shows up because the drive controller recorded a large numbers of failing sectors and refuses to format in order to allow a succesfull data recovery.
Recover and backup all your dara and RMA the device.


If it's a Dell hard drive and he is out of warranty he won't be able to.
July 12, 2006 5:34:47 PM

You have run all of the utilites I know execpt SpinRite from grc. It's pretty good on repairing drives.
July 12, 2006 7:03:22 PM

Dell doesn't make any hdd, usually it mounts low-end Seagate or Maxtor devices and theese manufacturers offer a minumum 3 years warranty for all devices.
I would contact Dell for this problem immediately.
July 12, 2006 7:10:53 PM

Quote:
Dell doesn't make any hdd, usually it mounts low-end Seagate or Maxtor devices and theese manufacturers offer a minumum 3 years warranty for all devices.
I would contact Dell for this problem immediately.


That's correct, but the 3 year warranty doesn't apply to the end user.
July 12, 2006 7:13:45 PM

And OEM drives generally only have a warranty for 1 yr.

If seagate you can go to there home page and they will tell you if the warranty is valid aor not.
July 12, 2006 7:15:05 PM

Quote:
And OEM drives generally only have a warranty for 1 yr.

If seagate you can go to there home page and they will tell you if the warranty is valid aor not.


I may be mistaken here, but seagate and such may tell you to go through Dell

EDIT: as the warranty doesn't apply to the user
July 13, 2006 2:53:42 AM

Thank you all guys ...

I have called Dell singapore and indeed they cannot replace my HD due to out of warranty and even if I insist, they said I must ask Dell USA for a replacement. My drive is Hitachi (IBM), and there is DST.exe in Hiren's. Not yet tried it for LLF (zero fill), as my focus is for data recovery that time.

Quote:
using that Knoppix CD you have, verify that the disk is going bad with smartctl (read the man page "man smartctl" or goto the website).

If the disk report returns a bad report, you need to get another one.

If not, using that same Knoppix disk, simply do the following "dd if=/dev/zero of=/dev/hdX", where /dev/hdX matches whatever the disk in qustion is (find out with "fdisk -l"). This is going to take a while, but is the most brute-force method available, if the disk can be reformated this will do it.

I've used this method to recover disks that even vendor-provided "zeroing" utils wouldn't fix.


From this PC Guide, it is not advisable to LLF HD uses non-vendor LLF, especially uses BIOS, as new-modern HD has more complex structure blah..blah..blah.. Then, how safe is above knoppix zero fill to the drive?

Thank you again
July 13, 2006 1:38:30 PM

Well, if data recovery is the order of the day, I would still definately try to find out the status of the device with an actual SMART tool to read the SMART data/run some tests. Then, I would try some other recovery tools (but why were you trying to format if you still wanted to recover data? It's possible sure but there are other steps to try first like repairing the filesystem and the disk's partition table before doing a format)

The zero-fill using Knoppix isn't a true "low level format" in the same sense that they are refering to in the article you posted, rather it is akin to a traditional zeroing utility that is a bit more flexible about the actual contents of the disk (read: doesn't try to verify what's on the disk, which can hang up some of the vendor "zero-fill" disks).

I have never created a brick doing this method (I've been handed a brick that I verified that it would show up in BIOS/the OS but the SMART test revealed many critical problems including multiple head crashes, so I didn't even try the zeroing).
July 13, 2006 2:25:36 PM

Well, since the machine is out of warranty anyway, you might as well install a new hard drive, if this one is indeed unrecoverable.

Could also do some fun case mods, I'm sure there are ways to make the Dell a little cooler (looks or temps, your choice).
July 14, 2006 5:23:52 AM

Quote:
Well, if data recovery is the order of the day, I would still definately try to find out the status of the device with an actual SMART tool to read the SMART data/run some tests. Then, I would try some other recovery tools (but why were you trying to format if you still wanted to recover data? It's possible sure but there are other steps to try first like repairing the filesystem and the disk's partition table before doing a format)


I have run the SMART test using DELL Diagnostics, and it PASS. Also I have all my data backed-up now, so it is time to re-install the O/S. I guess, since some folks stated that usually this is hardware problem, then I will use the drive as external storage. Hopefully there is chance ..

Thank you again, and I will come back with the result ...
July 19, 2006 12:39:10 AM

OK ..

I have tried the zeroing using Knoppix, however it did not works :( .

The console is just hang and no activities in the disk (no red blinking led).

BTW. my external disk is definitely IDE (parallel ATA). but why knoppix name it (fdisk -l) by sdb (i put the harddisk as external drive)? SD is for scsi, right?

so i make it:
dd if=/dev/zero of=/dev/sdb2
(sdb2 is partition that contains corrupted xp partition)
July 19, 2006 12:40:26 AM

Did you try debugging?

EDIT:

So the hard drive diags pass from the one-time boot menu?

At the Dell Logo press F12 and you should see a choice for Hard drive diagnostics, choose that and see if it still passes.

There is also an option to run 32-bit diags on the drive itself but it is embedded in a FAT partition on the hard drive unless you wiped your drive clean. In which case you would need the Resource CD and boot from it as the diagnostics are on there too. Once booted to it you can choose Custom Test, and then run all tests for your hard drive, this usually lasts about 45 minutes to an hour and a half. IF ALL THOSE PASS, I would say debug the drive, which will manually write zeroes to it.
July 19, 2006 12:25:10 PM

Quote:
OK ..

I have tried the zeroing using Knoppix, however it did not works :( .

The console is just hang and no activities in the disk (no red blinking led).

BTW. my external disk is definitely IDE (parallel ATA). but why knoppix name it (fdisk -l) by sdb (i put the harddisk as external drive)? SD is for scsi, right?

so i make it:
dd if=/dev/zero of=/dev/sdb2
(sdb2 is partition that contains corrupted xp partition)


Two things: sd refers to SCSI yes, but in the Linux kernel USB storage devices are interfaced with the general SCSI driver. If you want to find out why, I could explain but it's not really important.

Second, I would not try to zero-fill a single partition, rather I would try to do the entire disk (/dev/sdb) to make sure to get rid of any bad partition table information. Also, make sure to do this with root permissions (sudo dd if=/dev/zero /dev/sdb).
July 19, 2006 12:50:30 PM

seems like bad blocks to me. the hibernation problem was just a coincidence that hiberfil.sys was written over badblocks. If i were you i'd buy a new disk
July 19, 2006 3:11:36 PM

I definately starting to agree here, but for just a little time and $0 cost we can see if there's any life left in the drive.
July 20, 2006 3:37:31 AM

Quote:
Also, make sure to do this with root permissions (sudo dd if=/dev/zero /dev/sdb).


I didn't sudo ;)  .. uhh, stupid me ...
OK, will try again ..

thank you for all your comments guys .. i'm near the end of hope to have this disk back in operation ..

i've purchased a new HD though, and has been able to recover all my data .. hurray .. tq knoppix
December 18, 2011 8:18:39 PM

gatot said:
Folks,

Once I installed LimeWare, then I stop in the middle of install due to Java downloads that took ages .. My fault is to go into hibernation just after this. So, the next time I can't boot due to an error like "hiberfil.sys is corrupt" then there was an option to "delete corrupted hiberfil.sys and boot normally" .. But unfortunately it still did not boot ...

Since I gave up fixing it using "R" the recovery console (note: the console can not detect my OS boot drive, WinXP) then my focus goes for data recovery. I have two partition on that drive, OS and data, and luckily KNOPPIX would able to recover all my data (after Hiren's boot cd and Digiwiz XP Live failed).

The big problem is that I still cannot format the hard drive. After several test (especially using Dell Diagnostic), it say "DST Short Test fail 1000-0146, IDE Status failed". Error code 0F00:0244, Msg: Block 38301616, 38301617, 38301618 Uncorrectable data error or media is write protected.
(All those Dell users on the net said that they must return the HD to Dell and have an exchange ... If the HD is still under warranty)

Using QTparted, these block belong to hiberfil.sys.

Zero fill (low level format) failed using Ranish, as it gives some error number (I forgot to note) but the reason is similar with Partition Magic report "Cannot format due to partition contain open files".

Any help how to format the drive? Thank you in advance.




Here is something that I found in the windows 7 Forums. It worked for me using WinXP:

"If the steps above do not work, try editing the registry directly. Select START (bottom left of your screen) and RUN to open the run dialog box. Type "regedit" (without quotes) into the dialog box that appears, and press enter.

Navigate to the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies. Change the value for the key "WriteProtect" to 0"

Like I said, it worked for me after 3 days of frustration. Good luck.
!