Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
58 user(s) are online (32 user(s) are browsing Forums)

Members: 0
Guests: 58

more...

Headlines

Forum Index


Board index » All Posts (olsen)




Re: HD Formatting Problem
Just popping in
Just popping in


@Atheist

Quote:

Atheist wrote:

Quote:
olsen wrote:

Quote:
PIO0 is 3.3 Megs a second max, that's how I got the ~188 hrs and 35 minutes that it should have taken to finish. I used the highest speed it could do to divide by, as my AmigaOne is not doing anything else.


So you have the slowest disk access method possible, on a really large disk, for which each block is rewritten seven times over, and each write operation results in a disk access which does not go through the write cache. Ouch. There really should be a "Cancel" button and a progress display in the partitioning tool.

Hehe.

Yes, unfortunately there isn't. But, I could see if they did not have a progress bar on say the first 2 passes, but did on the subsequent ones, making sense.

I'm not sure if canceling would be safe to do? Half formatted and the rest not? Could that work out? I don't know.


A little story on hardware history may be in order here. I'm quietly assuming you are not aware of what "formatting" a hard disk drive means today, so please forgive me if I'm repeating common knowledge.

Let's say the year is 1987: you've got a blank floppy disk and a hard disk controller attached to a brand new 20 MByte hard disk drive which you brought home from the shop. You want to make both usable for your Amiga. What you need to do for that is format them.

The floppy disk needs to be formatted because since it came out of the factory, nobody stored any information on it. The hard disk drive needs to be low-level formatted using the hard disk partitioning tool, because since the day the hard disk drive came out of the factory nobody stored any information on it either.

In both cases you are really low-level formatting a magnetic storage medium. And in both cases the low-level formatting process did something to the respective storage medium which helped the respective disk controllers to access the data. It organized the storage medium, breaking it down into tracks, blocks and sectors, which is something the disk controller hardware can't do all by itself. It needs the low-level formatting to (so to speak) draw chalk lines around the individual storage units.

So, low-level formatting helps the hardware make sense of the storage medium. The next following step would be to help the software, typically a file system which needs to know where partitions begin and end, make sense of the storage medium. This is what the Amiga "HDToolbox" and "Format" commands will do.

Please keep in mind that these two steps (low-level formatting is needed by the disk controller, partitioning and formatting is needed by the file system) always used to be necessary in around 1985/1987 for magnetic storage media.

Times change: flash forward to 2007, some twenty odd years later. While formatting floppy disks still works almost exactly like it did in 1987 (the technology is so old/robust that it doesn't change with the times) something happened to how hard disk drives work. For a start, we now have much larger hard disks than we used to have, and they are much cheaper, too.

What made these cheaper, much larger hard disks possible was (among other things) a change in how data is recorded on the storage medium. You no longer have to give the hard disk controller hardware hints as to how the disk is structured. The manufacturer takes care of that before the disk is even shipped to you. Consequently, you can only partition the hard disk and format the partitions, a low-level format is no longer possible or even necessary.

Quote:

Quote:
olsen wrote:
Quote:

Well, it's still not finished as the hard drive light is still flickering. I know I shouldn't turn it off while it's read/writing. Any ideas as to what to do next?

Hopefully, it's just not done yet??


Since you were trying to low-level format the drive anyway, what's the harm of rebooting the machine? It's not as you'd lose any data.

Incidentally, the "blanking" option was intended to make the data on the drive unrecoverable before you sell it or throw it away. It's not particularly useful in any other situation.

Well, I thought it was necessary to get the Amiga OS file system on there.


No, it's not necessary. What the partitioning software does is limited to writing the partitioning scheme to the disk, which puts a certain structure on the disk. This process merely changes what's stored on the disk, and no previously existing disk structure will prevent the process from succeeding. This is not like it used to be in 1987 for floppy disks formatted on an IBM system which had to be reformatted on the Amiga to be useful. Today's hard disks are always in low-level formatted state.

Quote:

Here's the deal, say it's already formatted from the manufacturer, I figured it would be formatted to accept the most common operating system in the world, that being windos fat32 or ntfs. So it would have to be reformatted for AOS FFS or whatever other file system one wants to use.


Right idea, but merely putting a new partitioning scheme on the disk and then formatting each partition with the "Quick" option will do the job. There is no need to erase the information previously stored on the disk first.

Quote:

I'm afraid of 1. Disrupting the progress done so far, and 2. Since the light is flickering, of the read/write head crashing if I cut the power and being destroyed and/or damaging the hard disk surface.


In 1987 cutting the power while your hard disk's read/write head was still accessing the medium could result in mechanical damage. Today's hard drive mechanics are safer, and you need physical force (like throwing or dropping a drive) to cause damage. You should be safe by merely rebooting the machine.

Once the machine restarts, pick up where you left off: set up a partitioning scheme, write it to disk, then format the individual partitions. Don't use the blanking/wiping process.

Go to top


Re: HD Formatting Problem
Just popping in
Just popping in


@Atheist

Quote:

Atheist wrote:
[..]
Instead, I went for the "7-pass full disk blanking" option.

Well, after I picked it, it says "Secure disk blanking..." in the grey rectangle below it, and the hard drive light is flickering.

There's a grey box below that which has the word "Ready" in it. Have no clue what that means.

There's no 'cancel' for obvious reasons, but, there's no progress bar either. That's okay, as this is trying to eliminate everything BUT, maybe, after pass 3, it should have a progress bar appear, and the option NOT to continue after the next pass?


There really ought to be a progress bar and an option to cancel the operation because, well, it will take a long time to complete. Seven write passes are made for each block, and since each write access has to change the data on the disk no write cache is going to speed up the process.

Quote:

I could lose upto $400 over this (I wasn't expecting this to last this long).


This is primarily going to cost you time. I don't know how exactly into how much money this translates, though...

Quote:

The low level formatting startred Mar. 22, ~4:30p.m.-5:00 P.m.
It's now Mar. 31, 9:40 p.m.
That's 9 days and 4 hours 40 minutes.


Well, that's a bit long :-/

Quote:

Now, I anticipated it to be finished at ~Mar. 30, 1:35 p.m.
At that point it was about 188 hrs and 30 minutes of formatting.

There are 625,142,448 cylinders * 512 bytes = 320,072,933,376 bytes
320,072,933,376 bytes * 7 passes = 2,240,510,533,632 bytes

I'm in PIO0 (that's zero. I don't know how to change it. I know it's done in UBoot, but that's harder to use than shell, and you should see how often I have to retype lines in shell trying to get it to do what I want, because I just can't get to grips with passing parameters to it properly. It's not easy to use at all.)

PIO0 is 3.3 Megs a second max, that's how I got the ~188 hrs and 35 minutes that it should have taken to finish. I used the highest speed it could do to divide by, as my AmigaOne is not doing anything else.


So you have the slowest disk access method possible, on a really large disk, for which each block is rewritten seven times over, and each write operation results in a disk access which does not go through the write cache. Ouch. There really should be a "Cancel" button and a progress display in the partitioning tool.

Quote:

Well, it's still not finished as the hard drive light is still flickering. I know I shouldn't turn it off while it's read/writing. Any ideas as to what to do next?

Hopefully, it's just not done yet??


Since you were trying to low-level format the drive anyway, what's the harm of rebooting the machine? It's not as you'd lose any data.

Incidentally, the "blanking" option was intended to make the data on the drive unrecoverable before you sell it or throw it away. It's not particularly useful in any other situation.

Go to top



TopTop
« 1 (2)




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project