From owner-freebsd-current@FreeBSD.ORG Tue Apr 27 18:10:55 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2F1B16A4CE for ; Tue, 27 Apr 2004 18:10:54 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E48043D1F for ; Tue, 27 Apr 2004 18:10:54 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Tue, 27 Apr 2004 21:10:53 -0400 Message-ID: From: Don Bowman To: "'current@freebsd.org'" Date: Tue, 27 Apr 2004 21:10:49 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: question about growfs, aac raid, enlarging by adding disks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 01:10:55 -0000 this is perhaps a naive question, but i couldn't find the answer. if i have e.g. a 3-disk raid5 using aac, and i add another disk, can i increase the size of the logical disk using the aac bios (or ideally aacli), and then use growfs to increase the size of the filesystem? Can this be done if i obey some restrictions, e.g. resize the last filesystem on the partition? I would like to boot from the array, have swap on it, and have a large partition that uses the remainder of the space. I'm assuming i would lay it out so that it goes root first, then swap, then the large filesystem. The adaptec raid bios seems to indicate i can grow by adding a drive, but only under windows. The manual for it has no mention of this. The datasheet also indicates i can increase size 'on the fly'. Does vinum enter into this? ccd? Since the raid is done in hardware i wouldn't think so. It would appear that i might be able to add a disk, convince the raid to increase in size somehow, rerun fdisk to increase the size of my partition, rerun bsdlabel to increase the size of my slice, and then run growfs. this is all on 5.2. Anybody else ever done this? --don