From owner-freebsd-proliant@FreeBSD.ORG Wed Apr 30 23:24:55 2008 Return-Path: Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42174106566C for ; Wed, 30 Apr 2008 23:24:55 +0000 (UTC) (envelope-from todorov@paladin.bulgarpress.com) Received: from paladin.bulgarpress.com (paladin.bulgarpress.com [195.24.42.3]) by mx1.freebsd.org (Postfix) with ESMTP id E260F8FC13 for ; Wed, 30 Apr 2008 23:24:54 +0000 (UTC) (envelope-from todorov@paladin.bulgarpress.com) Received: from localhost (localhost [127.0.0.1]) by paladin.bulgarpress.com (Postfix) with ESMTP id 03B866133 for ; Thu, 1 May 2008 02:24:54 +0300 (EEST) X-Virus-Scanned: amavisd-new at paladin.bulgarpress.com Received: from paladin.bulgarpress.com ([195.24.42.3]) by localhost (paladin.bulgarpress.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Tl-viTzcVYG5 for ; Thu, 1 May 2008 02:24:41 +0300 (EEST) Received: from [192.168.1.2] (87-126-27-77.btc-net.bg [87.126.27.77]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by paladin.bulgarpress.com (Postfix) with ESMTPSA id B458B6104 for ; Thu, 1 May 2008 02:24:41 +0300 (EEST) Message-ID: <4818FFB8.90900@paladin.bulgarpress.com> Date: Thu, 01 May 2008 02:24:40 +0300 From: Todorov Organization: Powerforge Net User-Agent: Thunderbird 2.0.0.12 (X11/20080313) MIME-Version: 1.0 To: freebsd-proliant@freebsd.org References: <480FC4FB.5020709@paladin.bulgarpress.com> In-Reply-To: <480FC4FB.5020709@paladin.bulgarpress.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Subject: HP DL385G1 Smart Array 6i AMD64 FBSD 6.3 X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2008 23:24:55 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I want to migrate my RAID1 (2 disks) (automatically assigned as RAID1 bacause I have two disks inserted in RAID 1+0 Logical drive), add two more disks and get actual RAID 1+0 drive of four disks. I was reading the ACU specs of HP and I see this can be done online. I can have downtime - the question is if I can do it w/o dump and restore of the filesystem? I fully realize that the size will be doubled of /dev/da0 device, currently 136GB will become 272GB. Can I make a spare partition of it, will the whole procedure happen w/o any dump/restore? Thanks. _ ______________________________________________ freebsd-proliant@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-proliant To unsubscribe, send any mail to "freebsd-proliant-unsubscribe@freebsd.org" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgY/7gACgkQibJkIG65HMf+7ACeJ8Xy0lLNnsbK59xDThIrzfV2 Gb0An1gNcicpvg4SHs0DlaVcU+E1in4Z =gRxA -----END PGP SIGNATURE----- From owner-freebsd-proliant@FreeBSD.ORG Fri May 2 05:09:53 2008 Return-Path: Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98D15106567E for ; Fri, 2 May 2008 05:09:53 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (unknown [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 42A068FC1C for ; Fri, 2 May 2008 05:09:53 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [202.108.54.204]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 1AAC428448 for ; Fri, 2 May 2008 13:09:52 +0800 (CST) Received: from localhost (tarsier.geekcn.org [202.108.54.204]) by tarsier.geekcn.org (Postfix) with ESMTP id D4E5AEC3F55; Fri, 2 May 2008 13:09:51 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([202.108.54.204]) by localhost (mail.geekcn.org [202.108.54.204]) (amavisd-new, port 10024) with ESMTP id s464BeEDRBau; Fri, 2 May 2008 13:09:46 +0800 (CST) Received: from charlie.delphij.net (71.5.7.139.ptr.us.xo.net [71.5.7.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id 8E433EB0930; Fri, 2 May 2008 13:09:43 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=JsNuPScfBCkXcx5xjTa9vThtPHN8cJwrRd9APb8KUSn9kHIlm85vLxVcxzZsnGtWW v+l1tJ3bINWt7gPTRlnFg== Message-ID: <481AA213.1090103@delphij.net> Date: Thu, 01 May 2008 22:09:39 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.12 (X11/20080422) MIME-Version: 1.0 To: Todorov References: <480FC4FB.5020709@paladin.bulgarpress.com> <4818FFB8.90900@paladin.bulgarpress.com> In-Reply-To: <4818FFB8.90900@paladin.bulgarpress.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-proliant@freebsd.org Subject: Re: HP DL385G1 Smart Array 6i AMD64 FBSD 6.3 X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2008 05:09:53 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Todorov wrote: | Hi all, | | I want to migrate my RAID1 (2 disks) (automatically assigned as RAID1 | bacause I have two disks inserted in RAID 1+0 Logical drive), add two | more disks and get actual RAID 1+0 drive of four disks. | | I was reading the ACU specs of HP and I see this can be done online. I | can have downtime - the question is if I can do it w/o dump and restore | of the filesystem? | | I fully realize that the size will be doubled of /dev/da0 device, | currently 136GB will become 272GB. Can I make a spare partition of it, | will the whole procedure happen w/o any dump/restore? I think you should at least take a backup before resizing anything regardless if there is any mechanism that allows you to do it without a full restore. With regards to the resizing, for UFS there is a program called 'growfs' but I think there are few users who used it, so potentially it could use more time if you decided to use it :( Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgaohIACgkQi+vbBBjt66C59gCeLpXiiSBDsWAHVFYnDuTIlJL0 qcgAoLHecEJYpS0W6VkXLwwteDG58UjB =FKXm -----END PGP SIGNATURE----- From owner-freebsd-proliant@FreeBSD.ORG Fri May 2 07:46:47 2008 Return-Path: Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C57F106567D for ; Fri, 2 May 2008 07:46:47 +0000 (UTC) (envelope-from rainer@ultra-secure.de) Received: from bsd.ultra-secure.de (bsd.ultra-secure.de [62.146.20.26]) by mx1.freebsd.org (Postfix) with ESMTP id D8E5C8FC27 for ; Fri, 2 May 2008 07:46:46 +0000 (UTC) (envelope-from rainer@ultra-secure.de) Received: (qmail 11066 invoked by uid 89); 2 May 2008 07:46:45 -0000 Received: by simscan 1.1.0 ppid: 11045, pid: 11047, t: 3.2949s scanners: attach: 1.1.0 clamav: 0.88.7/m:44/d:4673 spam: 3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on bsd.ultra-secure.de X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.7 Received: from unknown (HELO ?212.71.117.70?) (rainer@ultra-secure.de@212.71.117.70) by bsd.ultra-secure.de with (DHE-RSA-AES256-SHA encrypted) SMTP; 2 May 2008 07:46:41 -0000 Message-ID: <481AC6E1.6070109@ultra-secure.de> Date: Fri, 02 May 2008 09:46:41 +0200 From: Rainer Duffner User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: d@delphij.net References: <480FC4FB.5020709@paladin.bulgarpress.com> <4818FFB8.90900@paladin.bulgarpress.com> <481AA213.1090103@delphij.net> In-Reply-To: <481AA213.1090103@delphij.net> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-proliant@freebsd.org Subject: Re: HP DL385G1 Smart Array 6i AMD64 FBSD 6.3 X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2008 07:46:47 -0000 Xin LI schrieb: > Todorov wrote: > | Hi all, > | > | I want to migrate my RAID1 (2 disks) (automatically assigned as RAID1 > | bacause I have two disks inserted in RAID 1+0 Logical drive), add two > | more disks and get actual RAID 1+0 drive of four disks. > | > | I was reading the ACU specs of HP and I see this can be done online. I > | can have downtime - the question is if I can do it w/o dump and restore > | of the filesystem? > | > | I fully realize that the size will be doubled of /dev/da0 device, > | currently 136GB will become 272GB. Can I make a spare partition of it, > | will the whole procedure happen w/o any dump/restore? > > I think you should at least take a backup before resizing anything That, and I think you will end up with a 2nd DOS-partition that comprises the "added" free space. Regards, Rainer From owner-freebsd-proliant@FreeBSD.ORG Fri May 2 10:56:24 2008 Return-Path: Delivered-To: proliant@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E968E1065677 for ; Fri, 2 May 2008 10:56:24 +0000 (UTC) (envelope-from ffffs@gmail.com) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id D98488FC14 for ; Fri, 2 May 2008 10:56:24 +0000 (UTC) (envelope-from ffffs@gmail.com) Received: (qmail 11220 invoked from network); 2 May 2008 10:28:22 -0000 Received: from dsl254-068-198.nyc1.dsl.speakeasy.net (HELO c51470660.cable.wanadoo.nl) ([216.254.68.198]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 2 May 2008 10:28:21 -0000 From: "Abbey National" To: proliant@FreeBSD.ORG Content-Transfer-Encoding: quoted-printable Message-ID: Date: Fri, 2 May 2008 10:56:24 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Your account has been updated X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2008 10:56:25 -0000 Account Update Notification Dear Customer, You have successfully changed your phone number online. In order to confirm or cancel the changes you have made, please click on t= he link below [1]Click here ** This is an automated message, please do not respond ** 2008 Abbey. All Rights Reserved. References 1. 3D"http://chronicpain4life.com/" From owner-freebsd-proliant@FreeBSD.ORG Fri May 2 17:01:37 2008 Return-Path: Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC2581065672 for ; Fri, 2 May 2008 17:01:37 +0000 (UTC) (envelope-from ulf@alameda.net) Received: from mail.alameda.net (mail.alameda.net [194.55.105.10]) by mx1.freebsd.org (Postfix) with ESMTP id B66568FC23 for ; Fri, 2 May 2008 17:01:37 +0000 (UTC) (envelope-from ulf@alameda.net) Received: by mail.alameda.net (Postfix, from userid 1000) id 8F14B33C64; Fri, 2 May 2008 10:01:31 -0700 (PDT) Date: Fri, 2 May 2008 10:01:31 -0700 From: Ulf Zimmermann To: Rainer Duffner Message-ID: <20080502170130.GU26105@evil.alameda.net> References: <480FC4FB.5020709@paladin.bulgarpress.com> <4818FFB8.90900@paladin.bulgarpress.com> <481AA213.1090103@delphij.net> <481AC6E1.6070109@ultra-secure.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <481AC6E1.6070109@ultra-secure.de> User-Agent: Mutt/1.4.2.2i Organization: Alameda Networks, Inc. X-Operating-System: FreeBSD 5.3-STABLE X-ANI-MailScanner-Information: Please contact the ISP for more information X-ANI-MailScanner: Found to be clean X-ANI-MailScanner-From: ulf@alameda.net Cc: freebsd-proliant@freebsd.org, d@delphij.net Subject: Re: HP DL385G1 Smart Array 6i AMD64 FBSD 6.3 X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ulf@Alameda.net List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2008 17:01:37 -0000 On Fri, May 02, 2008 at 09:46:41AM +0200, Rainer Duffner wrote: > Xin LI schrieb: > >Todorov wrote: > >| Hi all, > >| > >| I want to migrate my RAID1 (2 disks) (automatically assigned as RAID1 > >| bacause I have two disks inserted in RAID 1+0 Logical drive), add two > >| more disks and get actual RAID 1+0 drive of four disks. > >| > >| I was reading the ACU specs of HP and I see this can be done online. I > >| can have downtime - the question is if I can do it w/o dump and restore > >| of the filesystem? > >| > >| I fully realize that the size will be doubled of /dev/da0 device, > >| currently 136GB will become 272GB. Can I make a spare partition of it, > >| will the whole procedure happen w/o any dump/restore? > > > >I think you should at least take a backup before resizing anything > > > That, and I think you will end up with a 2nd DOS-partition that > comprises the "added" free space. Backup, yes do it. But here is how to do it: hpacucli ctrl slot=0 ld 1 add drives=allunassigned This should add the additional drives to your first logical drive and expand it. Whenever I do this, I reboot now so FreeBSD sees the new larger physical disk. In most cases now you have to update the partition table, either by addition another slice or changing the size of your FreeBSD slice. If the file system you want to grow is the last one in disklabel, you can use disklabel to change the size of it, also the total line (c:) needs to grow. And then finally you can use growfs on the file system. -- Regards, Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 You can find my resume at: http://www.Alameda.net/~ulf/resume.html From owner-freebsd-proliant@FreeBSD.ORG Sat May 3 14:36:13 2008 Return-Path: Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAB861065670 for ; Sat, 3 May 2008 14:36:13 +0000 (UTC) (envelope-from jc+VS=9912048b@irbs.com) Received: from turtle-out.mxes.net (turtle-out.mxes.net [216.86.168.191]) by mx1.freebsd.org (Postfix) with ESMTP id 91FA58FC1B for ; Sat, 3 May 2008 14:36:13 +0000 (UTC) (envelope-from jc+VS=9912048b@irbs.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by turtle-in.mxes.net (Postfix) with ESMTP id 2F2AD16464C for ; Sat, 3 May 2008 10:24:50 -0400 (EDT) Received: from exuma.irbs.com (unknown [74.169.175.75]) by mxout-03.mxes.net (Postfix) with ESMTP id 45E8B23E3EF for ; Sat, 3 May 2008 10:24:47 -0400 (EDT) Received: by exuma.irbs.com (Postfix, from userid 2500) id 040FDB9E4; Sat, 3 May 2008 10:24:36 -0400 (EDT) Date: Sat, 3 May 2008 10:24:35 -0400 From: John Capo To: freebsd-proliant@freebsd.org Message-ID: <20080503142435.GA2923@exuma.irbs.com> References: <480FC4FB.5020709@paladin.bulgarpress.com> <4818FFB8.90900@paladin.bulgarpress.com> <481AA213.1090103@delphij.net> <481AC6E1.6070109@ultra-secure.de> <20080502170130.GU26105@evil.alameda.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080502170130.GU26105@evil.alameda.net> User-Agent: Mutt/1.4.2.2i Subject: Re: HP DL385G1 Smart Array 6i AMD64 FBSD 6.3 X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jc@irbs.com List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 14:36:13 -0000 Quoting Ulf Zimmermann (ulf@Alameda.net): > On Fri, May 02, 2008 at 09:46:41AM +0200, Rainer Duffner wrote: > > Xin LI schrieb: > > >Todorov wrote: > > >| Hi all, > > >| > > >| I want to migrate my RAID1 (2 disks) (automatically assigned as RAID1 > > >| bacause I have two disks inserted in RAID 1+0 Logical drive), add two > > >| more disks and get actual RAID 1+0 drive of four disks. > > >| > > >| I was reading the ACU specs of HP and I see this can be done online. I > > >| can have downtime - the question is if I can do it w/o dump and restore > > >| of the filesystem? > > >| > > >| I fully realize that the size will be doubled of /dev/da0 device, > > >| currently 136GB will become 272GB. Can I make a spare partition of it, > > >| will the whole procedure happen w/o any dump/restore? > > > > > >I think you should at least take a backup before resizing anything > > > > > > That, and I think you will end up with a 2nd DOS-partition that > > comprises the "added" free space. > > Backup, yes do it. But here is how to do it: > > hpacucli ctrl slot=0 ld 1 add drives=allunassigned > > This should add the additional drives to your first logical drive and > expand it. Whenever I do this, I reboot now so FreeBSD sees the > new larger physical disk. > > In most cases now you have to update the partition table, either > by addition another slice or changing the size of your FreeBSD slice. > > If the file system you want to grow is the last one in disklabel, you > can use disklabel to change the size of it, also the total line (c:) > needs to grow. > > And then finally you can use growfs on the file system. Growfs on 6.X will destroy your UFS2, and mabye UFS1, filesystem. The patch in bin/115174 appeared to fix growfs but I recently had a file system related panic on a machine with a growfs expanded filesystem. reboot after panic: ffs_alloccg: map corrupted That panic may be unrelated to growfs but that machine is the only 6.3 machine I have in production with a grown file system. The 800G fileystem had a few percent used when it paniced. It was being brought into service as a Cyrus IMAP replica. A working growfs was a requirement for me to move from rock solid 4.11. It would really be nice if the filesystem guru's could take a look at the growfs problem. John Capo Tuffmail.com > > -- > Regards, Ulf. > > --------------------------------------------------------------------- > Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 > You can find my resume at: http://www.Alameda.net/~ulf/resume.html > _______________________________________________ > freebsd-proliant@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-proliant > To unsubscribe, send any mail to "freebsd-proliant-unsubscribe@freebsd.org" From owner-freebsd-proliant@FreeBSD.ORG Sat May 3 15:12:19 2008 Return-Path: Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50F9B1065678 for ; Sat, 3 May 2008 15:12:19 +0000 (UTC) (envelope-from todorov@paladin.bulgarpress.com) Received: from paladin.bulgarpress.com (paladin.bulgarpress.com [195.24.42.3]) by mx1.freebsd.org (Postfix) with ESMTP id CD22F8FC15 for ; Sat, 3 May 2008 15:12:18 +0000 (UTC) (envelope-from todorov@paladin.bulgarpress.com) Received: from localhost (localhost [127.0.0.1]) by paladin.bulgarpress.com (Postfix) with ESMTP id 9BB9A61C9; Sat, 3 May 2008 18:12:17 +0300 (EEST) X-Virus-Scanned: amavisd-new at paladin.bulgarpress.com Received: from paladin.bulgarpress.com ([195.24.42.3]) by localhost (paladin.bulgarpress.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GXHRJ8wSPDTu; Sat, 3 May 2008 18:12:07 +0300 (EEST) Received: from [192.168.2.251] (mail.transpress.bg [82.147.129.218]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by paladin.bulgarpress.com (Postfix) with ESMTPSA id E920C6148; Sat, 3 May 2008 18:12:06 +0300 (EEST) Message-ID: <481C80C3.3000606@paladin.bulgarpress.com> Date: Sat, 03 May 2008 18:12:03 +0300 From: Todorov Organization: Powerforge Net User-Agent: Thunderbird 2.0.0.12 (X11/20080313) MIME-Version: 1.0 To: jc@irbs.com References: <480FC4FB.5020709@paladin.bulgarpress.com> <4818FFB8.90900@paladin.bulgarpress.com> <481AA213.1090103@delphij.net> <481AC6E1.6070109@ultra-secure.de> <20080502170130.GU26105@evil.alameda.net> <20080503142435.GA2923@exuma.irbs.com> In-Reply-To: <20080503142435.GA2923@exuma.irbs.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-proliant@freebsd.org Subject: Re: HP DL385G1 Smart Array 6i AMD64 FBSD 6.3 X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 15:12:19 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John Capo написа: | Quoting Ulf Zimmermann (ulf@Alameda.net): |> On Fri, May 02, 2008 at 09:46:41AM +0200, Rainer Duffner wrote: |>> Xin LI schrieb: |>>> Todorov wrote: |>>> | Hi all, |>>> | |>>> | I want to migrate my RAID1 (2 disks) (automatically assigned as RAID1 |>>> | bacause I have two disks inserted in RAID 1+0 Logical drive), add two |>>> | more disks and get actual RAID 1+0 drive of four disks. |>>> | |>>> | I was reading the ACU specs of HP and I see this can be done online. I |>>> | can have downtime - the question is if I can do it w/o dump and restore |>>> | of the filesystem? |>>> | |>>> | I fully realize that the size will be doubled of /dev/da0 device, |>>> | currently 136GB will become 272GB. Can I make a spare partition of it, |>>> | will the whole procedure happen w/o any dump/restore? |>>> |>>> I think you should at least take a backup before resizing anything |>> |>> That, and I think you will end up with a 2nd DOS-partition that |>> comprises the "added" free space. |> Backup, yes do it. But here is how to do it: |> |> hpacucli ctrl slot=0 ld 1 add drives=allunassigned |> |> This should add the additional drives to your first logical drive and |> expand it. Whenever I do this, I reboot now so FreeBSD sees the |> new larger physical disk. |> |> In most cases now you have to update the partition table, either |> by addition another slice or changing the size of your FreeBSD slice. |> |> If the file system you want to grow is the last one in disklabel, you |> can use disklabel to change the size of it, also the total line (c:) |> needs to grow. |> |> And then finally you can use growfs on the file system. | | Growfs on 6.X will destroy your UFS2, and mabye UFS1, filesystem. | The patch in bin/115174 appeared to fix growfs but I recently had | a file system related panic on a machine with a growfs expanded | filesystem. | | reboot after panic: ffs_alloccg: map corrupted | | That panic may be unrelated to growfs but that machine is the only | 6.3 machine I have in production with a grown file system. The | 800G fileystem had a few percent used when it paniced. It was being | brought into service as a Cyrus IMAP replica. | | A working growfs was a requirement for me to move from rock solid | 4.11. It would really be nice if the filesystem guru's could take | a look at the growfs problem. | | John Capo | Tuffmail.com | | | | |> -- |> Regards, Ulf. |> |> --------------------------------------------------------------------- |> Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 |> You can find my resume at: http://www.Alameda.net/~ulf/resume.html |> _______________________________________________ |> freebsd-proliant@freebsd.org mailing list |> http://lists.freebsd.org/mailman/listinfo/freebsd-proliant |> To unsubscribe, send any mail to "freebsd-proliant-unsubscribe@freebsd.org" | _______________________________________________ | freebsd-proliant@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-proliant | To unsubscribe, send any mail to "freebsd-proliant-unsubscribe@freebsd.org" For now I will skip the growfs. If the controller migrate the level w/o any data lost will be great - I will do additional partition afterwards. I will send update. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgcgMMACgkQibJkIG65HMdj3ACdGAX6fOww6UAvWp6sDdCGG3P4 oa0AoIDkcpzVvqNDBe60ODXKjH/32aWR =D/Et -----END PGP SIGNATURE----- From owner-freebsd-proliant@FreeBSD.ORG Sat May 3 17:36:30 2008 Return-Path: Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DE771065672 for ; Sat, 3 May 2008 17:36:30 +0000 (UTC) (envelope-from ulf@alameda.net) Received: from mail.alameda.net (mail.alameda.net [194.55.105.10]) by mx1.freebsd.org (Postfix) with ESMTP id E94388FC1A for ; Sat, 3 May 2008 17:36:29 +0000 (UTC) (envelope-from ulf@alameda.net) Received: by mail.alameda.net (Postfix, from userid 1000) id 778C233C25; Sat, 3 May 2008 10:36:23 -0700 (PDT) Date: Sat, 3 May 2008 10:36:23 -0700 From: Ulf Zimmermann To: John Capo Message-ID: <20080503173623.GV26105@evil.alameda.net> References: <480FC4FB.5020709@paladin.bulgarpress.com> <4818FFB8.90900@paladin.bulgarpress.com> <481AA213.1090103@delphij.net> <481AC6E1.6070109@ultra-secure.de> <20080502170130.GU26105@evil.alameda.net> <20080503142435.GA2923@exuma.irbs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080503142435.GA2923@exuma.irbs.com> User-Agent: Mutt/1.4.2.2i Organization: Alameda Networks, Inc. X-Operating-System: FreeBSD 5.3-STABLE X-ANI-MailScanner-Information: Please contact the ISP for more information X-ANI-MailScanner: Found to be clean X-ANI-MailScanner-From: ulf@alameda.net Cc: freebsd-proliant@freebsd.org Subject: Re: HP DL385G1 Smart Array 6i AMD64 FBSD 6.3 X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ulf@Alameda.net List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 17:36:30 -0000 On Sat, May 03, 2008 at 10:24:35AM -0400, John Capo wrote: > Quoting Ulf Zimmermann (ulf@Alameda.net): > > On Fri, May 02, 2008 at 09:46:41AM +0200, Rainer Duffner wrote: > > > Xin LI schrieb: > > > >Todorov wrote: > > > >| Hi all, > > > >| > > > >| I want to migrate my RAID1 (2 disks) (automatically assigned as RAID1 > > > >| bacause I have two disks inserted in RAID 1+0 Logical drive), add two > > > >| more disks and get actual RAID 1+0 drive of four disks. > > > >| > > > >| I was reading the ACU specs of HP and I see this can be done online. I > > > >| can have downtime - the question is if I can do it w/o dump and restore > > > >| of the filesystem? > > > >| > > > >| I fully realize that the size will be doubled of /dev/da0 device, > > > >| currently 136GB will become 272GB. Can I make a spare partition of it, > > > >| will the whole procedure happen w/o any dump/restore? > > > > > > > >I think you should at least take a backup before resizing anything > > > > > > > > > That, and I think you will end up with a 2nd DOS-partition that > > > comprises the "added" free space. > > > > Backup, yes do it. But here is how to do it: > > > > hpacucli ctrl slot=0 ld 1 add drives=allunassigned > > > > This should add the additional drives to your first logical drive and > > expand it. Whenever I do this, I reboot now so FreeBSD sees the > > new larger physical disk. > > > > In most cases now you have to update the partition table, either > > by addition another slice or changing the size of your FreeBSD slice. > > > > If the file system you want to grow is the last one in disklabel, you > > can use disklabel to change the size of it, also the total line (c:) > > needs to grow. > > > > And then finally you can use growfs on the file system. > > Growfs on 6.X will destroy your UFS2, and mabye UFS1, filesystem. > The patch in bin/115174 appeared to fix growfs but I recently had > a file system related panic on a machine with a growfs expanded > filesystem. > > reboot after panic: ffs_alloccg: map corrupted > > That panic may be unrelated to growfs but that machine is the only > 6.3 machine I have in production with a grown file system. The > 800G fileystem had a few percent used when it paniced. It was being > brought into service as a Cyrus IMAP replica. > > A working growfs was a requirement for me to move from rock solid > 4.11. It would really be nice if the filesystem guru's could take > a look at the growfs problem. > > John Capo > Tuffmail.com I just recently did a growfs in the describe method on: log01 ulf /home/ulf > uname -a FreeBSD log01.autc.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue Jul 18 06:32:28 PDT 2006 root@:/usr/obj/usr/src/sys/LOG i386 That machine had a pair of 72GB drives, I swapped one drive at a time to 300GB. Then ran "hpacucli ctrl sl=0 ld=1 modify size=max", rebooted into linux (small partition on the server) to use the fdisk there, rebooted back into FreeBSD, it saw the larger drive, larger partition. Then I edited "disklabel -e /dev/da0s4" to edit slice c: and f:. Ran growfs, fsck. and voila I had more space for my logs. -- Regards, Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 You can find my resume at: http://www.Alameda.net/~ulf/resume.html From owner-freebsd-proliant@FreeBSD.ORG Sat May 3 21:12:09 2008 Return-Path: Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01593106567B for ; Sat, 3 May 2008 21:12:09 +0000 (UTC) (envelope-from todorov@paladin.bulgarpress.com) Received: from paladin.bulgarpress.com (paladin.bulgarpress.com [195.24.42.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7DD988FC1A for ; Sat, 3 May 2008 21:12:08 +0000 (UTC) (envelope-from todorov@paladin.bulgarpress.com) Received: from localhost (localhost [127.0.0.1]) by paladin.bulgarpress.com (Postfix) with ESMTP id 70E15610B; Sun, 4 May 2008 00:12:07 +0300 (EEST) X-Virus-Scanned: amavisd-new at paladin.bulgarpress.com Received: from paladin.bulgarpress.com ([195.24.42.3]) by localhost (paladin.bulgarpress.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZuN26zAs6hLf; Sun, 4 May 2008 00:11:55 +0300 (EEST) Received: from [192.168.1.2] (79-100-1-158.btc-net.bg [79.100.1.158]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by paladin.bulgarpress.com (Postfix) with ESMTPSA id 4D65B6104; Sun, 4 May 2008 00:11:55 +0300 (EEST) Message-ID: <481CD51A.3050906@paladin.bulgarpress.com> Date: Sun, 04 May 2008 00:11:54 +0300 From: Todorov Organization: Powerforge Net User-Agent: Thunderbird 2.0.0.12 (X11/20080313) MIME-Version: 1.0 To: ulf@Alameda.net References: <480FC4FB.5020709@paladin.bulgarpress.com> <4818FFB8.90900@paladin.bulgarpress.com> <481AA213.1090103@delphij.net> <481AC6E1.6070109@ultra-secure.de> <20080502170130.GU26105@evil.alameda.net> <20080503142435.GA2923@exuma.irbs.com> <20080503173623.GV26105@evil.alameda.net> In-Reply-To: <20080503173623.GV26105@evil.alameda.net> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-proliant@freebsd.org Subject: Re: HP DL385G1 Smart Array 6i AMD64 FBSD 6.3 X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 21:12:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ulf Zimmermann написа: | On Sat, May 03, 2008 at 10:24:35AM -0400, John Capo wrote: |> Quoting Ulf Zimmermann (ulf@Alameda.net): |>> On Fri, May 02, 2008 at 09:46:41AM +0200, Rainer Duffner wrote: |>>> Xin LI schrieb: |>>>> Todorov wrote: |>>>> | Hi all, |>>>> | |>>>> | I want to migrate my RAID1 (2 disks) (automatically assigned as RAID1 |>>>> | bacause I have two disks inserted in RAID 1+0 Logical drive), add two |>>>> | more disks and get actual RAID 1+0 drive of four disks. |>>>> | |>>>> | I was reading the ACU specs of HP and I see this can be done online. I |>>>> | can have downtime - the question is if I can do it w/o dump and restore |>>>> | of the filesystem? |>>>> | |>>>> | I fully realize that the size will be doubled of /dev/da0 device, |>>>> | currently 136GB will become 272GB. Can I make a spare partition of it, |>>>> | will the whole procedure happen w/o any dump/restore? |>>>> |>>>> I think you should at least take a backup before resizing anything |>>> |>>> That, and I think you will end up with a 2nd DOS-partition that |>>> comprises the "added" free space. |>> Backup, yes do it. But here is how to do it: |>> |>> hpacucli ctrl slot=0 ld 1 add drives=allunassigned |>> |>> This should add the additional drives to your first logical drive and |>> expand it. Whenever I do this, I reboot now so FreeBSD sees the |>> new larger physical disk. |>> |>> In most cases now you have to update the partition table, either |>> by addition another slice or changing the size of your FreeBSD slice. |>> |>> If the file system you want to grow is the last one in disklabel, you |>> can use disklabel to change the size of it, also the total line (c:) |>> needs to grow. |>> |>> And then finally you can use growfs on the file system. |> Growfs on 6.X will destroy your UFS2, and mabye UFS1, filesystem. |> The patch in bin/115174 appeared to fix growfs but I recently had |> a file system related panic on a machine with a growfs expanded |> filesystem. |> |> reboot after panic: ffs_alloccg: map corrupted |> |> That panic may be unrelated to growfs but that machine is the only |> 6.3 machine I have in production with a grown file system. The |> 800G fileystem had a few percent used when it paniced. It was being |> brought into service as a Cyrus IMAP replica. |> |> A working growfs was a requirement for me to move from rock solid |> 4.11. It would really be nice if the filesystem guru's could take |> a look at the growfs problem. |> |> John Capo |> Tuffmail.com | I just recently did a growfs in the describe method on: | | log01 ulf /home/ulf > uname -a | FreeBSD log01.autc.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue Jul 18 | 06:32:28 PDT 2006 root@:/usr/obj/usr/src/sys/LOG i386 | | That machine had a pair of 72GB drives, I swapped one drive at a time to | 300GB. Then ran "hpacucli ctrl sl=0 ld=1 modify size=max", rebooted into | linux (small partition on the server) to use the fdisk there, rebooted | back into FreeBSD, it saw the larger drive, larger partition. Then I | edited "disklabel -e /dev/da0s4" to edit slice c: and f:. Ran growfs, fsck. | and voila I had more space for my logs. | I've checked today and what was before - 2 disks in Logical RAID 1+0 drive. By default they were mirrored as they are not 4. Today I've added two more (4 total) and make EXPAND to the logical drive. This process finished but the BIOS tool and the FBSD see the size of one disk, not two as it should be. 4x146GB in RAID 1+0, FBSD see 136GB as /dev/da0 (shown in the message during boot). Also the BIOS says logical drive is 136G and is ok. Should do EXTEND of the logical drive also - is this an option? Regards, -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgc1RoACgkQibJkIG65HMcxnACcDu21hJWMqbRxVyD3FuI3Emb4 gBsAoM5l7CGG7fARqo7lJW5R6WM2Vs9I =w+Ev -----END PGP SIGNATURE----- From owner-freebsd-proliant@FreeBSD.ORG Sat May 3 21:24:58 2008 Return-Path: Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D92281065678 for ; Sat, 3 May 2008 21:24:58 +0000 (UTC) (envelope-from jc+VS=9912048b@irbs.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 65B318FC21 for ; Sat, 3 May 2008 21:24:58 +0000 (UTC) (envelope-from jc+VS=9912048b@irbs.com) Received: from exuma.irbs.com (unknown [74.169.175.75]) by mxout-03.mxes.net (Postfix) with ESMTP id 7DC7F23E3EF for ; Sat, 3 May 2008 17:24:57 -0400 (EDT) Received: by exuma.irbs.com (Postfix, from userid 2500) id 2B739B84E; Sat, 3 May 2008 17:24:57 -0400 (EDT) Date: Sat, 3 May 2008 17:24:57 -0400 From: John Capo To: freebsd-proliant@freebsd.org Message-ID: <20080503212457.GA10705@exuma.irbs.com> References: <480FC4FB.5020709@paladin.bulgarpress.com> <4818FFB8.90900@paladin.bulgarpress.com> <481AA213.1090103@delphij.net> <481AC6E1.6070109@ultra-secure.de> <20080502170130.GU26105@evil.alameda.net> <20080503142435.GA2923@exuma.irbs.com> <20080503173623.GV26105@evil.alameda.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080503173623.GV26105@evil.alameda.net> User-Agent: Mutt/1.4.2.2i Subject: Re: HP DL385G1 Smart Array 6i AMD64 FBSD 6.3 X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jc@irbs.com List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 21:24:58 -0000 Quoting Ulf Zimmermann (ulf@Alameda.net): > On Sat, May 03, 2008 at 10:24:35AM -0400, John Capo wrote: > > Quoting Ulf Zimmermann (ulf@Alameda.net): > > > On Fri, May 02, 2008 at 09:46:41AM +0200, Rainer Duffner wrote: > > > > Xin LI schrieb: > > > > >Todorov wrote: > > > > >| Hi all, > > > > >| > > > > >| I want to migrate my RAID1 (2 disks) (automatically assigned as RAID1 > > > > >| bacause I have two disks inserted in RAID 1+0 Logical drive), add two > > > > >| more disks and get actual RAID 1+0 drive of four disks. > > > > >| > > > > >| I was reading the ACU specs of HP and I see this can be done online. I > > > > >| can have downtime - the question is if I can do it w/o dump and restore > > > > >| of the filesystem? > > > > >| > > > > >| I fully realize that the size will be doubled of /dev/da0 device, > > > > >| currently 136GB will become 272GB. Can I make a spare partition of it, > > > > >| will the whole procedure happen w/o any dump/restore? > > > > > > > > > >I think you should at least take a backup before resizing anything > > > > > > > > > > > > That, and I think you will end up with a 2nd DOS-partition that > > > > comprises the "added" free space. > > > > > > Backup, yes do it. But here is how to do it: > > > > > > hpacucli ctrl slot=0 ld 1 add drives=allunassigned > > > > > > This should add the additional drives to your first logical drive and > > > expand it. Whenever I do this, I reboot now so FreeBSD sees the > > > new larger physical disk. > > > > > > In most cases now you have to update the partition table, either > > > by addition another slice or changing the size of your FreeBSD slice. > > > > > > If the file system you want to grow is the last one in disklabel, you > > > can use disklabel to change the size of it, also the total line (c:) > > > needs to grow. > > > > > > And then finally you can use growfs on the file system. > > > > Growfs on 6.X will destroy your UFS2, and mabye UFS1, filesystem. > > The patch in bin/115174 appeared to fix growfs but I recently had > > a file system related panic on a machine with a growfs expanded > > filesystem. > > > > reboot after panic: ffs_alloccg: map corrupted > > > > That panic may be unrelated to growfs but that machine is the only > > 6.3 machine I have in production with a grown file system. The > > 800G fileystem had a few percent used when it paniced. It was being > > brought into service as a Cyrus IMAP replica. > > > > A working growfs was a requirement for me to move from rock solid > > 4.11. It would really be nice if the filesystem guru's could take > > a look at the growfs problem. > > > > John Capo > > Tuffmail.com > I just recently did a growfs in the describe method on: > > log01 ulf /home/ulf > uname -a > FreeBSD log01.autc.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue Jul 18 > 06:32:28 PDT 2006 root@:/usr/obj/usr/src/sys/LOG i386 > > That machine had a pair of 72GB drives, I swapped one drive at a time to > 300GB. Then ran "hpacucli ctrl sl=0 ld=1 modify size=max", rebooted into > linux (small partition on the server) to use the fdisk there, rebooted > back into FreeBSD, it saw the larger drive, larger partition. Then I > edited "disklabel -e /dev/da0s4" to edit slice c: and f:. Ran growfs, fsck. > and voila I had more space for my logs. > My results are quite different. FreeBSD playground.irbs.net 6.3-RELEASE FreeBSD 6.3-RELEASE #19: Sat Mar 1 13:31:34 EST 2008 root@t232.irbs.com:/usr/local/bsd/src/sys/i386/compile/HP-SMP-6.2-PAE i386 This is a DL380 G3 with a 6402 controller. playground.irbs.net 1# fsck /dev/da6a ** /dev/da6a ** Last Mounted on /mnt ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 25867 files, 334539 used, 16614859 free (30091 frags, 2073096 blocks, 0.2% fragmentation) playground.irbs.net 2# disklabel -e da6 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 70000000 16 4.2BSD 2048 16384 28552 c: 143363040 0 unused 0 0 # "raw" part, don't edit 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 140000000 16 4.2BSD 2048 16384 28552 c: 143363040 0 unused 0 0 # "raw" part, don't edit playground.irbs.net 3# playground.irbs.net 3# growfs /dev/da6a We strongly recommend you to make a backup before growing the Filesystem Did you backup your data (Yes/No) ? Yes new file systemsize is: 35000000 frags Warning: 373408 sector(s) cannot be allocated. growfs: 68177.0MB (139626592 sectors) block size 16384, fragment size 2048 using 371 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. super-block backups (for fsck -b #) at: 70001632, 70377984, 70754336, 71130688, 71507040, 71883392, 72259744, 72636096, 73012448, 73388800, 73765152, 74141504, 74517856, 74894208, 75270560, 75646912, 76023264, 76399616, 76775968, 77152320, 77528672, 77905024, 78281376, 78657728, 79034080, 79410432, 79786784, 80163136, 80539488, 80915840, 81292192, 81668544, 82044896, 82421248, 82797600, 83173952, 83550304, 83926656, 84303008, 84679360, 85055712, 85432064, 85808416, 86184768, 86561120, 86937472, 87313824, 87690176, 88066528, 88442880, 88819232, 89195584, 89571936, 89948288, 90324640, 90700992, 91077344, 91453696, 91830048, 92206400, 92582752, 92959104, 93335456, 93711808, 94088160, 94464512, 94840864, 95217216, 95593568, 95969920, 96346272, 96722624, 97098976, 97475328, 97851680, 98228032, 98604384, 98980736, 99357088, 99733440, 100109792, 100486144, 100862496, 101238848, 101615200, 101991552, 102367904, 102744256, 103120608, 103496960, 103873312, 104249664, 104626016, 105002368, 105378720, 105755072, 106131424, 106507776, 106884128, 107260480, 107636832, 108013184, 108389536, 108765888, 109142240, 109518592, 109894944, 110271296, 110647648, 111024000, 111400352, 111776704, 112153056, 112529408, 112905760, 113282112, 113658464, 114034816, 114411168, 114787520, 115163872, 115540224, 115916576, 116292928, 116669280, 117045632, 117421984, 117798336, 118174688, 118551040, 118927392, 119303744, 119680096, 120056448, 120432800, 120809152, 121185504, 121561856, 121938208, 122314560, 122690912, 123067264, 123443616, 123819968, 124196320, 124572672, 124949024, 125325376, 125701728, 126078080, 126454432, 126830784, 127207136, 127583488, 127959840, 128336192, 128712544, 129088896, 129465248, 129841600, 130217952, 130594304, 130970656, 131347008, 131723360, 132099712, 132476064, 132852416, 133228768, 133605120, 133981472, 134357824, 134734176, 135110528, 135486880, 135863232, 136239584, 136615936, 136992288, 137368640, 137744992, 138121344, 138497696, 138874048, 139250400 playground.irbs.net 4# playground.irbs.net 4# fsck /dev/da6a ** /dev/da6a ** Last Mounted on /mnt ** Phase 1 - Check Blocks and Sizes PARTIALLY ALLOCATED INODE I=4383968 CLEAR? [yn] y PARTIALLY ALLOCATED INODE I=4383972 CLEAR? [yn] y PARTIALLY ALLOCATED INODE I=4384032 CLEAR? [yn] y PARTIALLY ALLOCATED INODE I=4384033 CLEAR? [yn] y PARTIALLY ALLOCATED INODE I=4384034 CLEAR? [yn] y PARTIALLY ALLOCATED INODE I=4384035 CLEAR? [yn] y PARTIALLY ALLOCATED INODE I=4384036 CLEAR? [yn] ^C playground.irbs.net #5 I have not the the balls to mount and use a grown file system without doing an fsck first. I'll try that and see what happens. John Capo From owner-freebsd-proliant@FreeBSD.ORG Sat May 3 21:46:58 2008 Return-Path: Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 136CE1065674 for ; Sat, 3 May 2008 21:46:58 +0000 (UTC) (envelope-from ulf@alameda.net) Received: from mail.alameda.net (mail.alameda.net [194.55.105.10]) by mx1.freebsd.org (Postfix) with ESMTP id D50F58FC3C for ; Sat, 3 May 2008 21:46:57 +0000 (UTC) (envelope-from ulf@alameda.net) Received: by mail.alameda.net (Postfix, from userid 1000) id 61D3333C25; Sat, 3 May 2008 14:46:50 -0700 (PDT) Date: Sat, 3 May 2008 14:46:50 -0700 From: Ulf Zimmermann To: Todorov Message-ID: <20080503214649.GW26105@evil.alameda.net> References: <480FC4FB.5020709@paladin.bulgarpress.com> <4818FFB8.90900@paladin.bulgarpress.com> <481AA213.1090103@delphij.net> <481AC6E1.6070109@ultra-secure.de> <20080502170130.GU26105@evil.alameda.net> <20080503142435.GA2923@exuma.irbs.com> <20080503173623.GV26105@evil.alameda.net> <481CD51A.3050906@paladin.bulgarpress.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <481CD51A.3050906@paladin.bulgarpress.com> User-Agent: Mutt/1.4.2.2i Organization: Alameda Networks, Inc. X-Operating-System: FreeBSD 5.3-STABLE X-ANI-MailScanner-Information: Please contact the ISP for more information X-ANI-MailScanner: Found to be clean X-ANI-MailScanner-From: ulf@alameda.net Cc: ulf@Alameda.net, freebsd-proliant@freebsd.org Subject: Re: HP DL385G1 Smart Array 6i AMD64 FBSD 6.3 X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ulf@Alameda.net List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 21:46:58 -0000 On Sun, May 04, 2008 at 12:11:54AM +0300, Todorov wrote: > |>> Backup, yes do it. But here is how to do it: > |>> > |>> hpacucli ctrl slot=0 ld 1 add drives=allunassigned > |>> > |>> This should add the additional drives to your first logical drive and > |>> expand it. Whenever I do this, I reboot now so FreeBSD sees the > |>> new larger physical disk. > |>> > |>> In most cases now you have to update the partition table, either > |>> by addition another slice or changing the size of your FreeBSD slice. > |>> > |>> If the file system you want to grow is the last one in disklabel, you > |>> can use disklabel to change the size of it, also the total line (c:) > |>> needs to grow. > |>> > |>> And then finally you can use growfs on the file system. > |> Growfs on 6.X will destroy your UFS2, and mabye UFS1, filesystem. > |> The patch in bin/115174 appeared to fix growfs but I recently had > |> a file system related panic on a machine with a growfs expanded > |> filesystem. > |> > |> reboot after panic: ffs_alloccg: map corrupted > |> > |> That panic may be unrelated to growfs but that machine is the only > |> 6.3 machine I have in production with a grown file system. The > |> 800G fileystem had a few percent used when it paniced. It was being > |> brought into service as a Cyrus IMAP replica. > |> > |> A working growfs was a requirement for me to move from rock solid > |> 4.11. It would really be nice if the filesystem guru's could take > |> a look at the growfs problem. > |> > |> John Capo > |> Tuffmail.com > | I just recently did a growfs in the describe method on: > | > | log01 ulf /home/ulf > uname -a > | FreeBSD log01.autc.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue Jul 18 > | 06:32:28 PDT 2006 root@:/usr/obj/usr/src/sys/LOG i386 > | > | That machine had a pair of 72GB drives, I swapped one drive at a time to > | 300GB. Then ran "hpacucli ctrl sl=0 ld=1 modify size=max", rebooted into > | linux (small partition on the server) to use the fdisk there, rebooted > | back into FreeBSD, it saw the larger drive, larger partition. Then I > | edited "disklabel -e /dev/da0s4" to edit slice c: and f:. Ran growfs, > fsck. > | and voila I had more space for my logs. > | > > I've checked today and what was before - 2 disks in Logical RAID 1+0 > drive. By default they were mirrored as they are not 4. Today I've added > two more (4 total) and make EXPAND to the logical drive. This process > finished but the BIOS tool and the FBSD see the size of one disk, not > two as it should be. > > 4x146GB in RAID 1+0, FBSD see 136GB as /dev/da0 (shown in the message > during boot). Also the BIOS says logical drive is 136G and is ok. > > Should do EXTEND of the logical drive also - is this an option? hpacucli ctrl sl=0 array A show hpacucli ctrl sl=0 ld 1 show That will show the current status. If you are going to just create a new partition/file system anyways, you don't have to extent, you could just create a new logical disk, it would show as da1. To do that: hpacucli ctrl sl=0 array A create type=ld raid=1 That will use whatever space is available in array A (if the current status is that the two new drives have been added to array A). Of in case the drives are still seperate you can create an array B. -- Regards, Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 You can find my resume at: http://www.Alameda.net/~ulf/resume.html From owner-freebsd-proliant@FreeBSD.ORG Sat May 3 22:11:09 2008 Return-Path: Delivered-To: freebsd-proliant@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB30B1065678 for ; Sat, 3 May 2008 22:11:09 +0000 (UTC) (envelope-from todorov@paladin.bulgarpress.com) Received: from paladin.bulgarpress.com (paladin.bulgarpress.com [195.24.42.3]) by mx1.freebsd.org (Postfix) with ESMTP id 452748FC16 for ; Sat, 3 May 2008 22:11:09 +0000 (UTC) (envelope-from todorov@paladin.bulgarpress.com) Received: from localhost (localhost [127.0.0.1]) by paladin.bulgarpress.com (Postfix) with ESMTP id 52141610B; Sun, 4 May 2008 01:11:08 +0300 (EEST) X-Virus-Scanned: amavisd-new at paladin.bulgarpress.com Received: from paladin.bulgarpress.com ([195.24.42.3]) by localhost (paladin.bulgarpress.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DnNkBK90ode8; Sun, 4 May 2008 01:11:06 +0300 (EEST) Received: from [192.168.1.2] (79-100-1-158.btc-net.bg [79.100.1.158]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by paladin.bulgarpress.com (Postfix) with ESMTPSA id 5B7ED6104; Sun, 4 May 2008 01:11:06 +0300 (EEST) Message-ID: <481CE2F9.3050109@paladin.bulgarpress.com> Date: Sun, 04 May 2008 01:11:05 +0300 From: Todorov Organization: Powerforge Net User-Agent: Thunderbird 2.0.0.12 (X11/20080313) MIME-Version: 1.0 To: ulf@Alameda.net References: <480FC4FB.5020709@paladin.bulgarpress.com> <4818FFB8.90900@paladin.bulgarpress.com> <481AA213.1090103@delphij.net> <481AC6E1.6070109@ultra-secure.de> <20080502170130.GU26105@evil.alameda.net> <20080503142435.GA2923@exuma.irbs.com> <20080503173623.GV26105@evil.alameda.net> <481CD51A.3050906@paladin.bulgarpress.com> <20080503214649.GW26105@evil.alameda.net> In-Reply-To: <20080503214649.GW26105@evil.alameda.net> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-proliant@freebsd.org Subject: Re: HP DL385G1 Smart Array 6i AMD64 FBSD 6.3 X-BeenThere: freebsd-proliant@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion of FreeBSD on HP ProLiant server platforms." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 22:11:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ulf Zimmermann : | On Sun, May 04, 2008 at 12:11:54AM +0300, Todorov wrote: |> |>> Backup, yes do it. But here is how to do it: |> |>> |> |>> hpacucli ctrl slot=0 ld 1 add drives=allunassigned |> |>> |> |>> This should add the additional drives to your first logical drive and |> |>> expand it. Whenever I do this, I reboot now so FreeBSD sees the |> |>> new larger physical disk. |> |>> |> |>> In most cases now you have to update the partition table, either |> |>> by addition another slice or changing the size of your FreeBSD slice. |> |>> |> |>> If the file system you want to grow is the last one in disklabel, you |> |>> can use disklabel to change the size of it, also the total line (c:) |> |>> needs to grow. |> |>> |> |>> And then finally you can use growfs on the file system. |> |> Growfs on 6.X will destroy your UFS2, and mabye UFS1, filesystem. |> |> The patch in bin/115174 appeared to fix growfs but I recently had |> |> a file system related panic on a machine with a growfs expanded |> |> filesystem. |> |> |> |> reboot after panic: ffs_alloccg: map corrupted |> |> |> |> That panic may be unrelated to growfs but that machine is the only |> |> 6.3 machine I have in production with a grown file system. The |> |> 800G fileystem had a few percent used when it paniced. It was being |> |> brought into service as a Cyrus IMAP replica. |> |> |> |> A working growfs was a requirement for me to move from rock solid |> |> 4.11. It would really be nice if the filesystem guru's could take |> |> a look at the growfs problem. |> |> |> |> John Capo |> |> Tuffmail.com |> | I just recently did a growfs in the describe method on: |> | |> | log01 ulf /home/ulf > uname -a |> | FreeBSD log01.autc.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue Jul 18 |> | 06:32:28 PDT 2006 root@:/usr/obj/usr/src/sys/LOG i386 |> | |> | That machine had a pair of 72GB drives, I swapped one drive at a time to |> | 300GB. Then ran "hpacucli ctrl sl=0 ld=1 modify size=max", rebooted into |> | linux (small partition on the server) to use the fdisk there, rebooted |> | back into FreeBSD, it saw the larger drive, larger partition. Then I |> | edited "disklabel -e /dev/da0s4" to edit slice c: and f:. Ran growfs, |> fsck. |> | and voila I had more space for my logs. |> | |> |> I've checked today and what was before - 2 disks in Logical RAID 1+0 |> drive. By default they were mirrored as they are not 4. Today I've added |> two more (4 total) and make EXPAND to the logical drive. This process |> finished but the BIOS tool and the FBSD see the size of one disk, not |> two as it should be. |> |> 4x146GB in RAID 1+0, FBSD see 136GB as /dev/da0 (shown in the message |> during boot). Also the BIOS says logical drive is 136G and is ok. |> |> Should do EXTEND of the logical drive also - is this an option? | | hpacucli ctrl sl=0 array A show | hpacucli ctrl sl=0 ld 1 show | | That will show the current status. If you are going to just create a new | partition/file system anyways, you don't have to extent, you could just | create a new logical disk, it would show as da1. To do that: | | hpacucli ctrl sl=0 array A create type=ld raid=1 | | That will use whatever space is available in array A (if the current status | is that the two new drives have been added to array A). | | Of in case the drives are still seperate you can create an array B. | Let me ask since I got confused... 4 disks in RAID 1+0 (let's assume I don't want to extend the FS) should be seen as two RAID 1 's ? Should I see the RAID 0 somewhere also? Can you please provide some output of the dmesg or camcontrol inquiry . Many thanks -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgc4vkACgkQibJkIG65HMfBAQCePQ6a26hoirkNumvGN9skQBxX 6vkAnRT8g1zewWLC0HeBOiWqG7eeOlCz =iUot -----END PGP SIGNATURE-----