Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

newfs and bad blocks

Status
Not open for further replies.

hcrump

Technical User
May 4, 2005
2
US
Does anyone know if running newfs on a partition will mark bad blocks, so they don't get used again?

I get the errors below occasionally and I just run newfs on the partition, restore that specific data and keep going. I can't really reformat the drive as I'm running things remotely.

just wondering...

Netra X1, Solaris 8

Apr 16 22:15:42 myserver Uncorrectable data Error: Block 2303030
Apr 16 22:15:42 myserver uata: [ID 606412 kern.warning] WARNING: timeout:
reset bus chno = 0 targ = 0
Apr 16 22:15:43 myserver dada: [ID 107833 kern.warning] WARNING: /pci@1f,0
/ide@d/dad@0,0 (dad0):
 
The format command will mark bad blocks... But, if you are seeing new block errors on your hard drive, it is time to replace your hard drive. This type of problem has a tendency of growing.
 
Thanks bfitzmai.

I'm in a situation where the box is on the other side of the world and I can't perform a format. I can of course have a new drive sent out, but I was looking for a quick method of getting around this.
 
Can you run analyze and perform a read test?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top