From owner-freebsd-questions@FreeBSD.ORG Wed Apr 11 17:01:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3670016A406 for ; Wed, 11 Apr 2007 17:01:10 +0000 (UTC) (envelope-from dmehler26@woh.rr.com) Received: from ms-smtp-03.ohiordc.rr.com (ms-smtp-03.ohiordc.rr.com [65.24.5.137]) by mx1.freebsd.org (Postfix) with ESMTP id 0542213C4C2 for ; Wed, 11 Apr 2007 17:01:09 +0000 (UTC) (envelope-from dmehler26@woh.rr.com) Received: from satellite (cpe-71-64-129-15.woh.res.rr.com [71.64.129.15]) by ms-smtp-03.ohiordc.rr.com (8.13.6/8.13.6) with SMTP id l3BH17PX002316 for ; Wed, 11 Apr 2007 13:01:08 -0400 (EDT) Message-ID: <000701c77c5b$131d3d60$0200a8c0@satellite> From: "Dave" To: Date: Wed, 11 Apr 2007 13:01:39 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: replacing failing drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dave List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2007 17:01:10 -0000 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.