From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 15:27:34 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 09BB3CA2; Tue, 18 Dec 2012 15:27:34 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id BD9D98FC0A; Tue, 18 Dec 2012 15:27:33 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa01.fnfis.com (8.14.5/8.14.5) with ESMTP id qBIFRQtC013349 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 18 Dec 2012 09:27:26 -0600 Received: from [10.0.0.102] (10.14.152.61) by smtp.fisglobal.com (10.132.206.15) with Microsoft SMTP Server (TLS) id 14.2.309.2; Tue, 18 Dec 2012 09:27:23 -0600 Subject: Re: FreeBSD as VMWare guest / disk resizing MIME-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="iso-8859-1" From: Devin Teske In-Reply-To: Date: Tue, 18 Dec 2012 07:27:24 -0800 Content-Transfer-Encoding: quoted-printable Message-ID: <2C81BCF0-1B29-41BD-B03D-35A35A01617A@fisglobal.com> References: <3EB59092-BFE2-4C5F-85A2-E225FBC3F5D9@fisglobal.com> To: Luke Bakken X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2012-12-18_05:2012-12-18,2012-12-18,1970-01-01 signatures=0 Cc: Devin Teske , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 15:27:34 -0000 On Dec 18, 2012, at 6:35 AM, Luke Bakken wrote: >> You'll of course need to boot from another medium to do this. >>=20 >=20 > That's my main question - can a larger disk be detected *without* a > reboot. On FreeBSD instances running within VMWare I have been able to > add new disks without a reboot but, as I described below, have not > found a way to get the operating system to detect a larger *existing* > disk without a reboot. VMWare allows you to resize a disk on the fly. > Obviously I'm only interested in the "grow the disk" scenario :-) >=20 > I'm beginning to think a reboot is necessary, which is surprising! Live resize (without reboot even) is something being worked on for the futu= re 10.x series. --=20 Devin >=20 >> On Dec 17, 2012, at 4:15 PM, Luke Bakken wrote: >>=20 >> Hello everyone - >>=20 >> 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: >>=20 >> [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 >>=20 >> 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: >>=20 >> echo 1 > /sys/class/scsi_device/0:0:0:0/device/rescan >>=20 >> 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. >>=20 >> Thanks so much in advance, >> Luke >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.= org" >>=20 >>=20 >> _____________ >> The information contained in this message is proprietary and/or >> confidential. If you are not the intended recipient, please: (i) delete = the >> message and all copies; (ii) do not disclose, distribute or use the mess= age >> in any manner; and (iii) notify the sender immediately. In addition, ple= ase >> be aware that any message addressed to our domain is subject to archiving >> and review by persons other than the intended recipient. Thank you. _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.