You should first run a read only of analyze to surface analysis under format,
then repair and defect the save, but first backup your data. Your better off
breaking down and buy a new drive!
Defect management is a short term fix, not a solution for warn out media. your
drive might not support this option anyway! Used to do this on old SCSI drives
a long time ago, sound like a Star Wars triligy!
you can use fdisk to move the Solaris2 partition away from the bad erea ,
verify with a analyze rewrite , but at least 10 times wth diff patterns to
destroy or recycle if you reuse in a non critacal situation that you control
the analyze rewrite 10 times is your option.
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0d0 <DEFAULT cyl 11119 alt 2 hd 255 sec 63>
/[EMAIL PROTECTED],0/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL
PROTECTED],0
Specify disk (enter its number): 0
selecting c0d0
Controller working list found
[disk formatted, defect list found]
Warning: Current Disk has mounted partitions.
/dev/dsk/c0d0s0 is currently mounted on /.alt.c0d0s0. Please see umount(1M).
/dev/dsk/c0d0s1 is currently used by swap. Please see swap(1M).
/dev/dsk/c0d0s3 is currently mounted on /. Please see umount(1M).
/dev/dsk/c0d0s4 is currently mounted on /export. Please see umount(1M).
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
show - translate a disk address
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> repair
Enter absolute block number of defect: defect
`defect' is not an integer.
Enter absolute block number of defect: 2
This block doesn't appear to be bad. Repair it anyway? n
format> defeect
`defeect' is not expected.
format> defect
DEFECT MENU:
restore - set working list = current list
original - extract manufacturer's list from disk
extract - extract working list from disk
add - add defects to working list
delete - delete a defect from working list
print - display working list
dump - dump working list to file
load - load working list from file
commit - set current list = working list
create - recreates maufacturer's defect list on disk
!<cmd> - execute <cmd>, then return
quit
defect> original
Controller does not support extracting manufacturer's defect list.
defect>
defect> create
Controller does not support creating manufacturer's defect list.
defect>
format> defect
DEFECT MENU:
restore - set working list = current list
original - extract manufacturer's list from disk
extract - extract working list from disk
add - add defects to working list
delete - delete a defect from working list
print - display working list
dump - dump working list to file
load - load working list from file
commit - set current list = working list
create - recreates maufacturer's defect list on disk
!<cmd> - execute <cmd>, then return
quit
defect> print
total of 0 defects.
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]