The disk on controller 1, target 4
The command after you have replaced the disk physically (just for RAID):
metareplace -f -e d0 c1t4d0s0
then run
while true; do
metastat | grep {I think it's "progress", can remember without looking at
the output of just the "metastat" command}
sleep 30
done
Use <cnrl> + "c" to break the command and get back to a prompt.
Regards
Christo Pretorius
Global Betting Exchange
4th Floor
IFSC House
Customs House Quay
Dublin 1
Ireland
Mobile: +353 (0)86 174 4161
Office: +353 (0)1 611 7685
-----Original Message-----
From: Fernando Machado Junior [mailto:[EMAIL PROTECTED]
Sent: 18 February 2005 15:20
To: Solaris-Users mailing list
Subject: Re: [Solaris-Users] disk issue
dmesg spits out:
eb 18 11:14:18 unknown scsi: [ID 107833 kern.warning] WARNING:
/[EMAIL PROTECTED],600000/SUNW,[EMAIL PROTECTED]/[EMAIL PROTECTED],0/[EMAIL
PROTECTED],0 (ssd1):
Feb 18 11:14:18 unknown Error for Command: read(10)
Error
Level: Retryable
Feb 18 11:14:18 unknown scsi: [ID 107833 kern.notice] Requested Block:
13632394 Error Block: 13632408
Feb 18 11:14:18 unknown scsi: [ID 107833 kern.notice] Vendor: SEAGATE
Serial Number: 0234K28ZCA
Feb 18 11:14:18 unknown scsi: [ID 107833 kern.notice] Sense Key: Media
Error
Feb 18 11:14:18 unknown scsi: [ID 107833 kern.notice] ASC: 0x11
(unrecovered
read error), ASCQ: 0x0, FRU: 0xe4
Feb 18 11:14:20 unknown scsi: [ID 243001 kern.warning] WARNING:
/[EMAIL PROTECTED],600000/SUNW,[EMAIL PROTECTED]/[EMAIL PROTECTED],0 (fcp0):
Feb 18 11:14:20 unknown FCP: WWN 0x21000004cfb4b9bb reset
successfully
Feb 18 11:14:20 unknown scsi: [ID 107833 kern.warning] WARNING:
/[EMAIL PROTECTED],600000/SUNW,[EMAIL PROTECTED]/[EMAIL PROTECTED],0/[EMAIL
PROTECTED],0 (ssd1):
Feb 18 11:14:20 unknown Error for Command: read(10)
Error
Level: Retryable
Feb 18 11:14:20 unknown scsi: [ID 107833 kern.notice] Requested Block:
13632394 Error Block: 13632408
Feb 18 11:14:20 unknown scsi: [ID 107833 kern.notice] Vendor: SEAGATE
Serial Number: 0234K28ZCA
Feb 18 11:14:20 unknown scsi: [ID 107833 kern.notice] Sense Key: Media
Error
Feb 18 11:14:20 unknown scsi: [ID 107833 kern.notice] ASC: 0x11
(unrecovered
read error), ASCQ: 0x0, FRU: 0xe4
Feb 18 11:14:21 unknown scsi: [ID 243001 kern.warning] WARNING:
/[EMAIL PROTECTED],600000/SUNW,[EMAIL PROTECTED]/[EMAIL PROTECTED],0/[EMAIL
PROTECTED],0 (ssd1):
Feb 18 11:14:21 unknown SCSI transport failed: reason 'reset':
retrying
command
Feb 18 11:14:23 unknown scsi: [ID 107833 kern.warning] WARNING:
/[EMAIL PROTECTED],600000/SUNW,[EMAIL PROTECTED]/[EMAIL PROTECTED],0/[EMAIL
PROTECTED],0 (ssd1):
Feb 18 11:14:23 unknown Error for Command: read(10)
Error
Level: Retryable
Feb 18 11:14:23 unknown scsi: [ID 107833 kern.notice] Requested Block:
13632394 Error Block: 13632408
Feb 18 11:14:23 unknown scsi: [ID 107833 kern.notice] Vendor: SEAGATE
Serial Number: 0234K28ZCA
Feb 18 11:14:23 unknown scsi: [ID 107833 kern.notice] Sense Key: Media
Error
Feb 18 11:14:23 unknown scsi: [ID 107833 kern.notice] ASC: 0x11
(unrecovered
read error), ASCQ: 0x0, FRU: 0xe4
also metastat spits:
# metastat
d0: RAID
State: Needs Maintenance
Invoke: metareplace -f d0 c1t4d0s0 <new device>
Interlace: 32 blocks
Size: 573264960 blocks
Original device:
Size: 573273728 blocks
Device Start Block Dbase State Hot Spare
c1t1d0s0 330 No Okay
c1t2d0s0 330 No Last Erred
c1t3d0s0 330 No Okay
c1t4d0s0 330 No Maintenance
c1t5d0s0 330 No Okay
any other questions about the system??
Thanks in advance
Quoting Mike Hall <[EMAIL PROTECTED]>:
> You'll need to provide more information. What is your RAID set up,
> both hardware (attached storage, internal disks) and configuration
> (volume manager, disk suite, OS version, 1+0, 5, etc)? If you can
> copy and paste the errors, that would also be helpful.
>
>
>
> On 2/18/05 8:03 AM, "Fernando Machado Junior" <[EMAIL PROTECTED]>
> wrote:
>
> > Hi folks!
> >
> > I'm having some problems with a harddisk in my raid. i can get
> > through
> dmesg
> > which block is bad, but i don't know which disk this blocks refers
> > to. how
> can
> > i get this info?
> >
> > thanks
> >
> > regards!
> >
> > /J. Fernando L. Machado Jr.
> > /Universidade Federal do Rio Grande do Sul
> > /Departamento de Inform�tica
> > /Lab 212/230
> >
> > ----------------------------------------------------------------
> > This message was sent using IMP, the Internet Messaging Program.
> > _______________________________________________
> > Solaris-Users mailing list
> > [email protected]
> > http://www.filibeto.org/mailman/listinfo/solaris-users
>
> --
> Mike
> [EMAIL PROTECTED]
>
>
>
> _______________________________________________
> Solaris-Users mailing list
> [email protected]
> http://www.filibeto.org/mailman/listinfo/solaris-users
>
/J. Fernando L. Machado Jr.
/Universidade Federal do Rio Grande do Sul
/Departamento de Inform�tica
/Lab 212/230
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users