Question about Microsoft's Format command
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
Question about Microsoft's Format command
Goto page 1, 2  Next
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Storage System
Author Message
yukuan
Guest





Posted: Sat Jun 25, 2005 11:14 pm    Post subject: Question about Microsoft's Format command Reply with quote

Are a disk's bad sectors marked while formatting?
Back to top
Ron Reaugh
Guest





Posted: Sat Jun 25, 2005 11:24 pm    Post subject: Re: Question about Microsoft's Format command Reply with quote

"yukuan" <yukuan.jiang@gmail.com> wrote in message
news:1119723267.948141.224470@g49g2000cwa.googlegroups.com...
Quote:
Are a disk's bad sectors marked while formatting?

The simple answer is yes. But I suspect you need to ask a more precise
question. What do you have in mind when you say "bad sectors marked "?
Back to top
yukuan
Guest





Posted: Sat Jun 25, 2005 11:31 pm    Post subject: Re: Question about Microsoft's Format command Reply with quote

I means it recording which sector is bad in the FAT, while formatting
with fat16, fat32 etc.
Back to top
Ron Reaugh
Guest





Posted: Sat Jun 25, 2005 11:36 pm    Post subject: Re: Question about Microsoft's Format command Reply with quote

"yukuan" <yukuan.jiang@gmail.com> wrote in message
news:1119724277.788790.61400@g14g2000cwa.googlegroups.com...
Quote:
I means it recording which sector is bad in the FAT, while formatting
with fat16, fat32 etc.

In general on a modern HD there should be no bad sectors.
Back to top
yukuan
Guest





Posted: Sun Jun 26, 2005 12:02 am    Post subject: Re: Question about Microsoft's Format command Reply with quote

How about the virtual HD, flash pendrive?
Back to top
Maxim S. Shatskih
Guest





Posted: Sun Jun 26, 2005 12:16 am    Post subject: Re: Question about Microsoft's Format command Reply with quote

Yes. FORMAT is who creates the new empty FS volume, the bad blocks are
marked during this.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"yukuan" <yukuan.jiang@gmail.com> wrote in message
news:1119723267.948141.224470@g49g2000cwa.googlegroups.com...
Quote:
Are a disk's bad sectors marked while formatting?
Back to top
yukuan
Guest





Posted: Sun Jun 26, 2005 8:15 am    Post subject: Re: Question about Microsoft's Format command Reply with quote

Still,
during the lifetime after FORMAT, what's going on if the storage gets
new bad blocks?
Will these bad blocks be recorded?
Back to top
Ron Reaugh
Guest





Posted: Sun Jun 26, 2005 8:15 am    Post subject: Re: Question about Microsoft's Format command Reply with quote

"yukuan" <yukuan.jiang@gmail.com> wrote in message
news:1119764390.690762.268870@g43g2000cwa.googlegroups.com...
Quote:
THX all you for these response.
I still have some questions:
How does FORMAT decide that a block is bad?

Writes it and sees if it can be read.

Quote:
Does It use the procedure of write, read and compare.

Right but I don't think there's a compare.

Quote:
or just decide bad block via got a action-fail message from the
storage's controller?

That happens on a write fail and a read fail. The read fail is the usual
case.
Back to top
yukuan
Guest





Posted: Sun Jun 26, 2005 8:15 am    Post subject: Re: Question about Microsoft's Format command Reply with quote

THX all you for these response.
I still have some questions:
How does FORMAT decide that a block is bad?
Does It use the procedure of write, read and compare.
or just decide bad block via got a action-fail message from the
storage's controller?
Back to top
Ron Reaugh
Guest





Posted: Sun Jun 26, 2005 2:18 pm    Post subject: Re: Question about Microsoft's Format command Reply with quote

"yukuan" <yukuan.jiang@gmail.com> wrote in message
news:1119767127.694486.251990@g43g2000cwa.googlegroups.com...
Quote:
Still,
during the lifetime after FORMAT, what's going on if the storage gets
new bad blocks?

Mostly the drive detects a block going bad before it's completely
unreadable. The drive flaws(replaces it with a good one) the sector and you
never see a thing. Occasionally if the sector goes bad while it's holding
file data then the file will become unreadable and the sector show up as a
visible bad sector. When many visible bad sectors start showing then the
drive is likely about to die.

Quote:
Will these bad blocks be recorded?

"recorded"?
Back to top
yukuan
Guest





Posted: Mon Jun 27, 2005 7:38 am    Post subject: Re: Question about Microsoft's Format command Reply with quote

Ron Reaugh wrote:
Quote:
Mostly the drive detects a block going bad before it's completely
unreadable. The drive flaws(replaces it with a good one) the sector and you
never see a thing. Occasionally if the sector goes bad while it's holding
file data then the file will become unreadable and the sector show up as a
visible bad sector. When many visible bad sectors start showing then the
drive is likely about to die.

Are the visible bad sectors going to be marked into the FAT?

Quote:
Will these bad blocks be recorded?

"recorded"?

I meant the new visible bad blocks are marked/signed/redorded into the
FAT.

Thank you.
Back to top
Ron Reaugh
Guest





Posted: Mon Jun 27, 2005 7:43 am    Post subject: Re: Question about Microsoft's Format command Reply with quote

"yukuan" <yukuan.jiang@gmail.com> wrote in message
news:1119839887.413654.4400@g44g2000cwa.googlegroups.com...
Quote:
Ron Reaugh wrote:
Mostly the drive detects a block going bad before it's completely
unreadable. The drive flaws(replaces it with a good one) the sector and
you
never see a thing. Occasionally if the sector goes bad while it's
holding
file data then the file will become unreadable and the sector show up as
a
visible bad sector. When many visible bad sectors start showing then
the
drive is likely about to die.

Are the visible bad sectors going to be marked into the FAT?

Visible = = "marked into the FAT"
Back to top
Maxim S. Shatskih
Guest





Posted: Mon Jun 27, 2005 4:16 pm    Post subject: Re: Question about Microsoft's Format command Reply with quote

Quote:
I still have some questions:
How does FORMAT decide that a block is bad?
Does It use the procedure of write, read and compare.

No, it uses IOCTL_DISK_VERIFY.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com
Back to top
Ramesh Pun
Guest





Posted: Wed Jun 29, 2005 5:23 am    Post subject: Re: Question about Microsoft's Format command Reply with quote

That is a funny statement :-)

"Ron Reaugh" <ron-reaugh@worldnet.att.net> wrote in message
news:Fuhve.1025350$w62.420029@bgtnsc05-news.ops.worldnet.att.net...
Quote:

"yukuan" <yukuan.jiang@gmail.com> wrote in message
news:1119724277.788790.61400@g14g2000cwa.googlegroups.com...
I means it recording which sector is bad in the FAT, while formatting
with fat16, fat32 etc.

In general on a modern HD there should be no bad sectors.

Back to top
Ron Reaugh
Guest





Posted: Wed Jun 29, 2005 8:16 am    Post subject: Re: Question about Microsoft's Format command Reply with quote

"Ramesh Pun" <spamme@spamme.com> wrote in message
news:11c3qf14t25pg2a@corp.supernews.com...
Quote:
That is a funny statement :-)

A correct one however. I should have said no visible bad sectors. Every
drive has lots of bad sectors but the drive itself keeps these isolated and
out of the way and invisible.
Quote:

"Ron Reaugh" <ron-reaugh@worldnet.att.net> wrote in message
news:Fuhve.1025350$w62.420029@bgtnsc05-news.ops.worldnet.att.net...

"yukuan" <yukuan.jiang@gmail.com> wrote in message
news:1119724277.788790.61400@g14g2000cwa.googlegroups.com...
I means it recording which sector is bad in the FAT, while formatting
with fat16, fat32 etc.

In general on a modern HD there should be no bad sectors.



Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Storage System All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB