From owner-freebsd-current@FreeBSD.ORG Sun May 2 13:10:29 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 2532316A4CE; Sun, 2 May 2004 13:10:29 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90F9343D3F; Sun, 2 May 2004 13:10:28 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Sun, 2 May 2004 16:10:27 -0400 Message-ID: From: Don Bowman To: 'Scott Long' , Don Bowman Date: Sun, 2 May 2004 16:10:16 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" cc: "'current@freebsd.org'" Subject: RE: 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: Sun, 02 May 2004 20:10:29 -0000 From: Scott Long [mailto:scottl@freebsd.org] > Don Bowman wrote: > > > 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'. > > > > aaccli will let you increase the size of the container. > If you are using Windows, then there is magic that will > resize the partition table and the NTFS and/or FAT > filesystems. I can't remember if the magic is in the > driver, aaccli, or firmware, but it definitely only > applies to FAT and NTFS _filesystems_. Growing the > container is done in the firmware and is independent > of the filesystems, MBR/slice table, etc. The 'container extend volume' command doesn't exist in aaccli, the manual indicates its only for windows. There is 'container reconfigure', i suppose that might be the right command? However, when i try it, i get an error that there is not enough space on the specified device, as below. AAC0> container list Executing: container list Num Total Oth Stripe Scsi Partition Label Type Size Ctr Size Usage C:ID:L Offset:Size ----- ------ ------ --- ------ ------- ------ ------------- 0 Volume 410GB Open 0:00:0 64.0KB: 136GB /dev/aacd0 v 0:02:0 64.0KB: 136GB 0:03:0 64.0KB: 136GB AAC0> disk list Executing: disk list C:ID:L Device Type Blocks Bytes/Block Usage Shared Rate ------ -------------- --------- ----------- ---------------- ------ ---- 0:00:0 Disk 286749610 512 Initialized NO 320 0:02:0 Disk 286749610 512 Initialized NO 320 0:03:0 Disk 286749610 512 Initialized NO 320 0:04:0 Disk 286749610 512 Initialized NO 320 AAC0> container reconfigure 0 4 Executing: container reconfigure 0 (ID=4) Command Error: AAC0>