Thanks to the following for responding:
***********************************************************************
Rasana Atreya [atreya@library.ucsf.edu]
Edward C. Zimmermann [edz@bsn.com]
??? [bismark @ alta.Jpl.Nasa.Gov]
David M. Davisson [davisson@pfp.net]
Sanjay [sanjay@netcom.com]
Marina Daniels [ccd.tas.gov.au]
Glenn Satchell [glenn@uniq.com.au]
Marcos Assis Silva [assis @ npd.uel.br]
Leo Crombach [lcrombach@tropel.com]
Andrew V. Laden [andrew@sgc.com]
John Reynolds [reynolds@acetsw.amat.com]
Rudy Yu [ryu@anthem.com]
R. Sundaram [uhostmaster @ hcmc.geoquest.slb.com]
Comment: The international scope of this list is very cool!!
***********************************************************************
The original question(s):
***********************************************************************
I have an SS5 with an external Sun 2x2GB drive unit attached, and am
getting the following error:
WARNING: /iommu@0, 10000000/sbus@0, 10001000/espdma@5, 8400000/esp@5,
8800000/sd@3, 0 (sd3):
Error for Command: write Error Level: Retryable
Requested Block: 1027088 Error Block: 1027093
Vendor: SEAGATE Serial Number: DN541953
Sense Key: Media Error
ASC: 0x14 (recorded entity not found) ASCQ: 0x1, FRU: 0x0
df output:
/ (/dev/dsk/c0t3d0s0 ): 133804 blocks 107043 files
/proc (/proc ): 0 blocks 965 files
/dev/fd (fd ): 0 blocks 0 files
/var (/dev/dsk/c0t3d0s3 ): 200986 blocks 62241 files
/export (/dev/dsk/c0t1d0s2 ): 797118 blocks 244064 files
/disk1 (/dev/dsk/c0t0d0s2 ): 3178216 blocks 963373 files
/disk2 (/dev/dsk/c0t2d0s2 ): 3188162 blocks 963787 files
/tmp (swap ): 331848 blocks 11663 files
Questions:
----------
- Is sd3 the /var partition?
- Does this disk need to be replaced, or just low-level formatted again?
- What's the best way to perform a fix?
***********************************************************************
The responses:
***********************************************************************
Answers generally covered the following:
- Check the cables and termination
- Run fsck
- Re-format the drive
- Toss the drive and replace it
Thanks to Rasana Atreya for this nifty little script to map partitions:
#!/bin/sh
cd /dev/rdsk
/usr/bin/ls -l *s0 | tee /tmp/d1c |awk '{print "/usr/bin/ls -l "$11}' | \
sh | awk '{print "sd" substr($0,38,4)/8}' >/tmp/d1d
awk '{print substr($9,1,6)}' /tmp/d1c |paste - /tmp/d1d
rm /tmp/d1[cd]
***********************************************************************
The results:
***********************************************************************
This drive is one of the drives in the external enclosure, which
contains the '/' and '/var' partitions. Mail is running on the /var
partition - arghh :-( . Not having a boot CD-ROM handy (it's on
order, really!), I brought it down to single-user mode, killed mail,
sync'd a few times, crossed my fingers, and ran fsck (yes, the drive
was still mounted because I couldn't get it un-busy to unmount it).
fsck didn't help.
I've decided what I'd like to do is move this drive's entire contents
to another drive which is completely free and available and just make
that drive the new bootable drive. Watch this list for a new question!
Derek Schatz