From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 01:21:00 2012 Return-Path: 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 3061CD1D for ; Tue, 18 Dec 2012 01:21:00 +0000 (UTC) (envelope-from luke@bowbak.org) Received: from mail-ee0-f43.google.com (mail-ee0-f43.google.com [74.125.83.43]) by mx1.freebsd.org (Postfix) with ESMTP id B5AE68FC1A for ; Tue, 18 Dec 2012 01:20:59 +0000 (UTC) Received: by mail-ee0-f43.google.com with SMTP id e49so20203eek.2 for ; Mon, 17 Dec 2012 17:20:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=jbn5rfKjR8wXkvvyPnZcaxfJs8HZiFnIuDHtaLoYcDI=; b=h/7oiKuOmRkSoxNlFoLQZxfDDoToFv0c5TsjlObWr+C+g6LSEPdxwkqpLJGtC1AJAA C0Fqg4MJRYfc3gjMR8MeR2Aa0Rd9ZPHjBKDP/TGoOnqnK8LddYJn3FLvqnx63IKjrW/q AEAtDRm0T5YzCPeNZBOi8S0eTx7G/ZEI7eLxCAduHCyW/AgPHZcd+pDnm6YDVnTfiw2s TDP3ZuhdMyUDeEZjmfaTKeMRmdFdzOPHU8F3KPAPgtmEjm4s+sfSuMrnaZTOo0fuNC9m SwP8jk1+cHngeWWLiRIftevJNX7lM4tLmstfI/KeRdTA2YvuY5exGV4Cqeij/hqtR6Gn vTyA== MIME-Version: 1.0 Received: by 10.14.225.72 with SMTP id y48mr278900eep.46.1355789738485; Mon, 17 Dec 2012 16:15:38 -0800 (PST) Received: by 10.14.118.80 with HTTP; Mon, 17 Dec 2012 16:15:38 -0800 (PST) X-Originating-IP: [67.168.115.71] Date: Mon, 17 Dec 2012 16:15:38 -0800 Message-ID: Subject: FreeBSD as VMWare guest / disk resizing From: Luke Bakken To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQm1mGzOfGwGsp7NpIeR5mLtJfQPHKzopt43d633+ThI8QaEGdim8LEzoJPRsShk/f/IVbVF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 01:21:00 -0000 Hello everyone - I'm looking for a way to get FreeBSD 8 / 9 to detect that an already existing disk has grown. I have FreeBSD running as a guest within vSphere ESX 5. Here is the output of camcontrol showing how the disks are detected within the OS: [root@QA1HWFBSD83201 ~]# camcontrol inquiry da0 pass0: Fixed Direct Access SCSI-2 device pass0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Command Queueing Enabled In the VM settings I can increase the disk size but I can't seem to find the right command within FreeBSD to force it to detect the new, larger size without a reboot. 'camcontrol rescan all' works great to detect a new drive but doesn't detect a larger disk. Within a Linux distribution like Debian, the following command will detect the larger drive: echo 1 > /sys/class/scsi_device/0:0:0:0/device/rescan I apologize if this has been answered in the archives or online but I just haven't been able to get a definitive answer if this is possible, and how. Thanks so much in advance, Luke