Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 100 19:20:48 -0800
From:      Rahul Dhesi <dhesi@rahul.net>
To:        Mike Squires <mikes@sir-alan.chem.indiana.edu>
Subject:   Re: disk repair on SunOS 
Message-ID:  <20000228032049.3C6D199E06@waltz.rahul.net>
In-Reply-To: Message from Mike Squires <mikes@sir-alan.chem.indiana.edu>  of Sat, 26 Feb 2000 21:04:22 -0500 (EST) 

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks.

I hope you will cc freebsd-stable@freebsd.org so others may
benefit from your comments.

Rahul

> Date:  Sat, 26 Feb 2000 21:04:22 -0500 (EST) 
> From:  Mike Squires <mikes@sir-alan.chem.indiana.edu>
> To:    Rahul Dhesi <dhesi@rahul.net>
> Message-Id: <200002270204.VAA46836@sir-alan.chem.indiana.edu>
> Subject: Re: disk repair on SunOS

> > - Could FreeBSD do it too?
> > 
> 
> bad144(?) does something similar but if I remember correctly the partition
> has to be set up with bad144 in mind.
> 
> I have source to a FBSD 1.x version which scans a disk for bad blocks and
> then maps them to the backup blocks; necessary with an old ESDI disk.
> 
> This adds an "s" option for scanning.
> 
> With a SCSI disk it should be able to write a program which accesses the
> disk controller and causes it to use one of its spare blocks for the bad
> block.  I suspect that there might be such utilities that ran under some
> other OS (like the old Adaptec SCSICNTL or the newer EZ-SCSI)
> which might do this.
> 
> You can also use a bit copy program to
> (1) back up the disk to a file (2) low level format (3) restore
> the disk (much more tedious).
>  
> I've done this in our environment to replace a disk in a RAID 0 stripe set
> by using Ghost (Norton) to create an image of a disk (running under MS-DOS
> with network drivers) on a server, then replace the drive, low level format,
> and then copy the image back. I assume dd would also work, but I didn't
> have time to experiment.
> 
> Mike Squires

----- End of forwarded message from Rahul Dhesi -----


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000228032049.3C6D199E06>