From owner-freebsd-questions@FreeBSD.ORG Tue Feb 1 20:29:28 2011 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 D6324106566B for ; Tue, 1 Feb 2011 20:29:28 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 668FB8FC14 for ; Tue, 1 Feb 2011 20:29:28 +0000 (UTC) Received: by eyf6 with SMTP id 6so3583467eyf.13 for ; Tue, 01 Feb 2011 12:29:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=E1DMpAh/AYmwEmxx4mhLFGUfCaOVjrkIen8QbsMuM24=; b=LnnmGwRrNyA18RiKq2Ml2ryQmZW6PpX74jB9wiM4IZ5GLgkMkRcZTMMUqldGq5nJkW D/RtUlmBCYsfgg8LfPuIKizsIae2IPJn55kLgk3pFDFu1pjA0S4u1Kq4sZTJNSGexvzV ubr2pl5yLoiAFClyICtkJ3wVp3/WF3e7lbjAo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=jptJ02nK8vZ33Lz+AIw5lEk40YsrBrS4HS4CHxmd1xh4+oSoGpqvXl73buasw3xmrO Ob9rJ5Q2rgkfXN2y91s/lRskynp+XYhIpq0rkfXfXv2Srv2w3B+SEGUw9UTm0sJozc// hnY7eH+TCmqo0uJuTaPiIwoqoTiE/fqKyksr4= MIME-Version: 1.0 Received: by 10.223.85.204 with SMTP id p12mr7892906fal.146.1296592167256; Tue, 01 Feb 2011 12:29:27 -0800 (PST) Received: by 10.223.114.4 with HTTP; Tue, 1 Feb 2011 12:29:27 -0800 (PST) In-Reply-To: References: Date: Tue, 1 Feb 2011 14:29:27 -0600 Message-ID: From: Adam Vande More To: Bahman Kahinpour Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Make FreeBSD read the slice table and partition table again 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, 01 Feb 2011 20:29:28 -0000 On Tue, Feb 1, 2011 at 2:16 PM, Bahman Kahinpour wrote: > Hello > When I destroy the partition table with the following command: > # dd if=/dev/zero of=/dev/ad1 bs=1k count=10 > The entries /dev/ad1s1a, ... still exist in /dev. This means that the > kernel has not found out that the slices and partitions do not exist > anymore. > Um AFAIK, GEOM tastes the provider on closing so that command should have updated the device entries. And it works properly in VM here so I'm unsure the problem you are having. A "true > /dev/ad1" would also cause GEOM to retaste it. -- Adam Vande More