Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2007 13:01:39 -0400
From:      "Dave" <dmehler26@woh.rr.com>
To:        <freebsd-questions@freebsd.org>
Subject:   replacing failing drive
Message-ID:  <000701c77c5b$131d3d60$0200a8c0@satellite>

next in thread | raw e-mail | index | archive | help
Hello,
    I've got a drive that i'm uncertain if it's failing. It is making an 
occational clicking noise, which is getting more frequent. I installed 
smartmontools and tried to start them, output below:

#smartctl -a /dev/ad0
smartctl version 5.37 [i386-portbld-freebsd6.1] Copyright (C) 2002-6 Bruce 
Allen
Home page is http://smartmontools.sourceforge.net/

Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)

A mandatory SMART command failed: exiting. To continue, add one or more '-T 
permissive' options.
#/usr/local/etc/rc.d/smartd start
Starting smartd.
(pass0:vpo0:0:5:0): INQUIRY. CDB: 12 0 0 0 24 0
(pass0:vpo0:0:5:0): CAM Status: Command timeout
(pass0:vpo0:0:5:0): INQUIRY. CDB: 12 0 0 0 40 0
(pass0:vpo0:0:5:0): CAM Status: Command timeout
(pass0:vpo0:0:5:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 
0 ec 0
(pass0:vpo0:0:5:0): CAM Status: Command timeout
(pass0:vpo0:0:5:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 
0 a1 0
(pass0:vpo0:0:5:0): CAM Status: Command timeout

Does this mean this drive is failing? I've got another identical drive that 
i run smartd on and it doesn't have any issues picking up it's smart id or 
in running tests on it. This is on a 6.2 box. If this drive is failing i'd 
like to drop in another one with minimum downtime. Could someone check my 
procedure:

1. Install new drive as slave
2. Use sysinstall to partition the new drive (i only use a single partition)
3. Use sysinstall to create bsd labels and give them the same values as the 
master drive
4. Use sysinstall to install the boot manager on slave drive
5. Use dump/restore to copy all data on to the slave drive.
6. Power down the box, remove old master drive, set new drive to master, and 
reboot

Thanks.
Dave.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701c77c5b$131d3d60$0200a8c0>