From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 23:26:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86DD3106566B for ; Tue, 23 Nov 2010 23:26:31 +0000 (UTC) (envelope-from cronfy@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 16CD68FC0A for ; Tue, 23 Nov 2010 23:26:30 +0000 (UTC) Received: by bwz2 with SMTP id 2so7878233bwz.13 for ; Tue, 23 Nov 2010 15:26:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=3H7MqcBL2vdVXqSawkRZl+qY3tx1QWfI5J6pwjRuIL0=; b=qqtIf1lNiUKtCm5c2WdpS9et84vsrScwyZDc3Ph+vGXq9NjiDghmUCbbmiov224yxX qK3XsavniRnucJPDDjwGFRvvwW/nkJyDrvbbR/AmIdHlPqAoEuk7DBH6dK4zbFoX6xxu c9Qix3dQqYaHJz1lbCIW6Ly1Ul9YU5vbKXc+A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=Yzdcoad7lnVOdNYEj73OD3SwSVOL4NXzqVB/jAm2oe3QfvIJugs7tQ/CwuIgfdQPfD NXHzFlRUkatkdCyjRKaa2bE4jqJL3lCkXjH3nYEuIzHkDWl0+CYqLWpe0xg/yb1MmLEK MMQDgmA0+LatOvzhBGdI1Px8jVIL1oAhzwlV8= Received: by 10.204.73.75 with SMTP id p11mr7761654bkj.46.1290554789862; Tue, 23 Nov 2010 15:26:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.73.135 with HTTP; Tue, 23 Nov 2010 15:25:59 -0800 (PST) From: cronfy Date: Wed, 24 Nov 2010 02:25:59 +0300 Message-ID: To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Rescan hard drives X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2010 23:26:31 -0000 Hello, I am using Adaptec 3405 with FreeBSD 7.3. After hot-swapping some hard drives and deleting/creating RAID1 mirror I stuck with situation when I can not work with newly created device. It is aacd1. Previously it was 1000G drive without RAID. Now it is 300G RAID1 mirror. But `geom disk list` reports: Geom name: aacd1 Providers: 1. Name: aacd1 Mediasize: 999642103808 (931G) Sectorsize: 512 Mode: r0w0e0 Geom name: aacd1 Providers: 1. Name: aacd1 Mediasize: 299563483136 (279G) Sectorsize: 512 Mode: r0w0e0 fwsectors: 63 fwheads: 255 If I delete this RAID1 with arcconf, geom disk list still reports about 931G drive at aacd1, though it was swapped out from server. `dmesg | tail` says kernel detected new drive: aacd1: on aac0 aacd1: 285686MB (585084928 sectors) But fdisk, bsdlabel, dd and others do not work with aacd1 because of error message: 'Device not configured'. Also there is old partition table of previous disk seen in `ls /dev/aacd1*`, tough new disk was not partitioned. Is there a way to reread connected drives information in FreeBSD? I tried: # atacontrol list ATA channel 2: Master: no device present Slave: no device present ATA channel 3: Master: no device present Slave: no device present ATA channel 4: Master: no device present Slave: no device present ATA channel 5: Master: no device present Slave: no device present And # camcontrol devlist camcontrol: couldn't open /dev/xpt0: No such file or directory They do not work :( Would be appreciated for any hint. -- // cronfy