[rescue] help reformatting a disk needed

Arthur Wouk awouk at ra.nilenet.com
Thu Mar 27 23:22:35 CST 2003


scott newell suggested:

:Date: Thu, 27 Mar 2003 12:32:26 -0600
:From: Scott Newell <newell at cei.net>
:
:>how do i reformat this drive to 512 size blocks?
:
:I'd consider using sformat:
:
:ftp://ftp.berlios.de/pub/sformat
:


i got it. it knows that there is something at target 1 on the scsi
chain. but any attempt to do anything throws me out because there is
no lun (logical unit number). probe-scsi sees the drive and its
description. i have moved the drive to another sparc2 which had a
compiler on it to get sformat compiled and installed. here is what
happens. the minute i try to get to the drive, i am thrown out of
sformat.

here is what i am dealing with.

:Target 1 
:  Unit 1   Disk     IBM     DCHS04F  CLAR04 SG5368019364RAMDG53C    DG1180236670409RI9628500022293G2856     488628    26H8782     484530    

sasha>> sformat 1
sformat SCSI format/analysis/repair utilities
Release 3.4, Copyright J. Schilling

sformat: Target or lun missing or bad
scsibus0:
c0t0d0	0,0,0	  0) 'SEAGATE ' 'ST32550N        ' '3705' Disk
	0,1,0	  1) *
c0t2d0	0,2,0	  2) 'COMPAQ  ' 'ST32550N        ' '6317' Disk
c0t3d0	0,3,0	  3) 'IBM     ' 'DCAS-32160      ' 'S65A' Disk
c0t4d0	0,4,0	  4) 'CONNER  ' 'CFP1080S        ' '3939' Disk
	0,5,0	  5) *
	0,6,0	  6) *
	0,7,0	  7) *
Select target -1 (0 - 4)/<cr>: 1
scsibus0 target 1:
	0,1,0	  0) *
	0,1,1	  1) *
	0,1,2	  2) *
	0,1,3	  3) *
	0,1,4	  4) *
	0,1,5	  5) *
	0,1,6	  6) *
	0,1,7	  7) *
sformat: No lun found.
sasha>> 

so sformat is not seeing the drive the way probe-scsi does. how do i
force it to see it?


More information about the rescue mailing list