From owner-freebsd-current@FreeBSD.ORG Mon May 3 07:56:10 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 7F14A16A4CE for ; Mon, 3 May 2004 07:56:10 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFD8D43D58 for ; Mon, 3 May 2004 07:56:09 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from freebsd.org (junior-wifi.samsco.home [192.168.0.11]) by pooker.samsco.org (8.12.10/8.12.10) with ESMTP id i43F08u6012575; Mon, 3 May 2004 09:00:08 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <40965D76.5060101@freebsd.org> Date: Mon, 03 May 2004 08:55:50 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040304 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Don Bowman References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org 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: Mon, 03 May 2004 14:56:10 -0000 Don Bowman wrote: > 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: space on the specified device.> > > AAC0> > > I'll look at this today and see what I can come up with. It's been a while since I played with the aaccli. Scott