From owner-freebsd-geom@FreeBSD.ORG Sun Mar 23 11:35:38 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F779106564A for ; Sun, 23 Mar 2008 11:35:38 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id 57BD08FC1F for ; Sun, 23 Mar 2008 11:35:37 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 1AA5119E027; Sun, 23 Mar 2008 12:35:36 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTP id B97F919E019; Sun, 23 Mar 2008 12:35:31 +0100 (CET) Message-ID: <47E64097.4080604@quip.cz> Date: Sun, 23 Mar 2008 12:35:51 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Arnaud Houdelette References: <47DD1C9A.1020208@tzim.net> In-Reply-To: <47DD1C9A.1020208@tzim.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: Geom_Raid5 best practices ? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2008 11:35:38 -0000 Arnaud Houdelette wrote: > I use geom_raid5 for my home NAS for nearly 1 year. > No problems so far (but just the fact I had to patch ata-disk.c to > modify the IO timeout in order to be able to use ataidle). > > Since I updated to 7.0-RELEASE, I was wondering if I should use gjournal > on the raid5 array. > The array's purpose is to store music (2-10 MB) and video (300MB to 8GB) > files. > > My system is as it follow : > - USB key for base system (power/sound efficient) > - 120 GB Pata disk for temporary downloads, /usr/src, ports and obj > - 4x250 GB sata disks for mass storage (so 750GB usable space). > > I currently use plain UFS+SU on every FS, and daily snapshots on the > raid5 one. > GJournal should protect the raid5 UFS from destruction by bad power > failures/kernel crashes, but with what performance impact ? Is the risk > of complete FS crash really important with only SU ? (loss of data > written at the time of the crash is no big deal, nor waiting for a fsck > to complete, as long as I can recover most of the data previously stored) > > But as the gjournal first introduction showed a big performance drop on > big files (they apparently have to be written twice), I was really > wondering if I should use a journal on the file system ? > If so, where should I put the journal on, and wich journal size should I > use ? I am not too experienced with gjournal, I think the best way for you is gjrounaled RAID5 (data) and journal on another disk (your 120GB) with size calculated from RAID5 write throughput and kern.geom.journal.switch_time (10 seconds by default) plus some reserve. (place journal partition in start of the disk for better throughput) This settup will give you the best performance you can achieve with gjournal. Miroslav Lachman From owner-freebsd-geom@FreeBSD.ORG Sun Mar 23 15:14:47 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07CE81065677 for ; Sun, 23 Mar 2008 15:14:47 +0000 (UTC) (envelope-from donald.holt@earthlink.net) Received: from elasmtp-scoter.atl.sa.earthlink.net (elasmtp-scoter.atl.sa.earthlink.net [209.86.89.67]) by mx1.freebsd.org (Postfix) with ESMTP id B0C218FC1C for ; Sun, 23 Mar 2008 15:14:46 +0000 (UTC) (envelope-from donald.holt@earthlink.net) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=sSihu/R3YqtM6Z5gSk8U5l/fSo+8l4hdqXPErZIXwI/KVTyM9PF1E9Mj0Lj9YKo3; h=Received:Subject:From:To:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [71.171.155.25] (helo=[192.168.0.9]) by elasmtp-scoter.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1JdRkN-0007k3-MH for freebsd-geom@freebsd.org; Sun, 23 Mar 2008 11:04:31 -0400 From: "Donald E. Holt" To: GEOM Mailing List Date: Sun, 23 Mar 2008 11:04:36 -0400 Message-Id: <1206284676.2073.28.camel@Hank.bullhouse.net> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port X-ELNK-Trace: b73738902380eafd63a5f2fc002084469ef193a6bfc3dd48e0b5b49a31ecea7006da8ab2dcfb547c7ef9f80aaf77e5a4350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 71.171.155.25 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Striped Drive for OS File System X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2008 15:14:47 -0000 I haven't seen this particular situation discussed, nor have I been able to find any specific information on the web. I am not experienced in GEOM or vinum, so I may be asking a dumb question. If so, I apologize. My system has FreeBSD installed across 2 SCSI drives. /dev/da2 holds /, /tmp, /var, and a swap. /dev/da4 is devoted to /usr and another swap. A third drive (dev/da5) is dedicated to a Win4BSD virtual machine, and is mounted as /WinXP (there are still a few MS apps I can't get around using). I'd like to expand /usr fs to an additional SCSI drive (physically present now, but unused). Would it be possible to do that, perhaps with gstripe, without distroying data on the current drive? Again, sorry if I've asked one of those eye-rolling, forehead-thumping questions. Thanks! From owner-freebsd-geom@FreeBSD.ORG Sun Mar 23 23:22:49 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B8D41065671 for ; Sun, 23 Mar 2008 23:22:49 +0000 (UTC) (envelope-from Lee@dilkie.com) Received: from spock.dilkie.com (spock.dilkie.com [206.51.1.40]) by mx1.freebsd.org (Postfix) with ESMTP id 76D958FC4B for ; Sun, 23 Mar 2008 23:22:48 +0000 (UTC) (envelope-from Lee@dilkie.com) Received: from [206.51.1.193] (borg.dilkie.com [206.51.1.193]) (authenticated bits=0) by spock.dilkie.com (8.14.2/8.14.2) with ESMTP id m2NNA45L074187 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 23 Mar 2008 19:10:06 -0400 (EDT) (envelope-from Lee@dilkie.com) Message-ID: <47E6E34B.6000107@dilkie.com> Date: Sun, 23 Mar 2008 19:10:03 -0400 From: Lee Dilkie User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: "Donald E. Holt" References: <1206284676.2073.28.camel@Hank.bullhouse.net> In-Reply-To: <1206284676.2073.28.camel@Hank.bullhouse.net> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.63 on 206.51.1.40 Cc: GEOM Mailing List Subject: Re: Striped Drive for OS File System X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2008 23:22:49 -0000 Donald, Yes, it can be done but as a gconcat rather than a gstripe if you need to expand in place. essentially, unmount /usr create gconcat from existing /usr and new drive (use raw drive.). then use growfs to expand gconcatted drive mount gconcatted version of /usr If you can do a backup and restore of /usr, you could create a stripped drive instead (if they are the same size or thereabouts). The only gotcha that I had was in FreeBSD 5.5. Growfs doesn't handle really big disks (which is what you get here). I found that the patch to fix growfs in 6.2 and manually did it and rebuilt growfs and it worked great. I've done it twice now, adding a third drive to my gconcat array. Also. I only used gconcat with the raw drives, ie "gconcat label big_drive /dev/ad2 /dev/ad3 /dev/ad4" but I presume it works the same with slices/partitions. -lee Donald E. Holt wrote: > I haven't seen this particular situation discussed, nor have I been able > to find any specific information on the web. I am not experienced in > GEOM or vinum, so I may be asking a dumb question. If so, I apologize. > > My system has FreeBSD installed across 2 SCSI drives. /dev/da2 > holds /, /tmp, /var, and a swap. /dev/da4 is devoted to /usr and another > swap. A third drive (dev/da5) is dedicated to a Win4BSD virtual machine, > and is mounted as /WinXP (there are still a few MS apps I can't get > around using). > > I'd like to expand /usr fs to an additional SCSI drive (physically > present now, but unused). Would it be possible to do that, perhaps with > gstripe, without distroying data on the current drive? > > Again, sorry if I've asked one of those eye-rolling, forehead-thumping > questions. > > Thanks! > _______________________________________________ > freebsd-geom@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-geom > To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org" > From owner-freebsd-geom@FreeBSD.ORG Sun Mar 23 23:57:54 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4B57106566B for ; Sun, 23 Mar 2008 23:57:54 +0000 (UTC) (envelope-from donald.holt@earthlink.net) Received: from elasmtp-banded.atl.sa.earthlink.net (elasmtp-banded.atl.sa.earthlink.net [209.86.89.70]) by mx1.freebsd.org (Postfix) with ESMTP id 6837B8FC1B for ; Sun, 23 Mar 2008 23:57:54 +0000 (UTC) (envelope-from donald.holt@earthlink.net) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=mLeBZiKN29gbaLl/8EIq5o+cIRu4EYU51ZPp47t/6JRNhTYO3Ge02l0j6CE62szv; h=Received:Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [69.81.129.208] (helo=[192.168.0.9]) by elasmtp-banded.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1Jda4S-0007NA-If; Sun, 23 Mar 2008 19:57:49 -0400 From: "Donald E. Holt" To: Lee Dilkie In-Reply-To: <47E6E34B.6000107@dilkie.com> References: <1206284676.2073.28.camel@Hank.bullhouse.net> <47E6E34B.6000107@dilkie.com> Date: Sun, 23 Mar 2008 19:57:55 -0400 Message-Id: <1206316676.33903.20.camel@Hank.bullhouse.net> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port X-ELNK-Trace: b73738902380eafd63a5f2fc002084469ef193a6bfc3dd484fe2e68fcd25ce1f3e3f676baa8f7442a26b888b88ba812a350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 69.81.129.208 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: GEOM Mailing List Subject: Re: Striped Drive for OS File System X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2008 23:57:54 -0000 Lee, thanks so much for the great info. I may still bollix things up, but at least I know that the operation itself isn't doomed from the start... The man pages seem to be thorough, so I believe I can work out the precise steps there. I do have two remaining questions, if I may beg your patience. I am able to backup /usr to tape. In light of that fact, would you recommend gstripe? I should do a bit more research on my own concerning the differences between gstripe and gconcat prepared drives, I know, but I'd value your advice. Second question. The drive that currently contains /usr also has a swap partition (in addition to the swap partition on the first SCSI drive). I assume the second swap isn't absolutely necessary, but would it be worthwhile (or possible) to designate a portion of the concatenated space to swap? Thanks again! On Sun, 2008-03-23 at 19:10 -0400, Lee Dilkie wrote: > Donald, > > Yes, it can be done but as a gconcat rather than a gstripe if you need > to expand in place. > > essentially, > > unmount /usr > create gconcat from existing /usr and new drive (use raw drive.). > then use growfs to expand gconcatted drive > mount gconcatted version of /usr > > If you can do a backup and restore of /usr, you could create a stripped > drive instead (if they are the same size or thereabouts). > > The only gotcha that I had was in FreeBSD 5.5. Growfs doesn't handle > really big disks (which is what you get here). I found that the patch to > fix growfs in 6.2 and manually did it and rebuilt growfs and it worked > great. I've done it twice now, adding a third drive to my gconcat array. > > Also. I only used gconcat with the raw drives, ie "gconcat label > big_drive /dev/ad2 /dev/ad3 /dev/ad4" but I presume it works the same > with slices/partitions. > > -lee > > Donald E. Holt wrote: > > I haven't seen this particular situation discussed, nor have I been able > > to find any specific information on the web. I am not experienced in > > GEOM or vinum, so I may be asking a dumb question. If so, I apologize. > > > > My system has FreeBSD installed across 2 SCSI drives. /dev/da2 > > holds /, /tmp, /var, and a swap. /dev/da4 is devoted to /usr and another > > swap. A third drive (dev/da5) is dedicated to a Win4BSD virtual machine, > > and is mounted as /WinXP (there are still a few MS apps I can't get > > around using). > > > > I'd like to expand /usr fs to an additional SCSI drive (physically > > present now, but unused). Would it be possible to do that, perhaps with > > gstripe, without distroying data on the current drive? > > > > Again, sorry if I've asked one of those eye-rolling, forehead-thumping > > questions. > > > > Thanks! > > _______________________________________________ > > freebsd-geom@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-geom > > To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org" > > From owner-freebsd-geom@FreeBSD.ORG Mon Mar 24 03:39:58 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD807106566B for ; Mon, 24 Mar 2008 03:39:58 +0000 (UTC) (envelope-from Lee@dilkie.com) Received: from spock.dilkie.com (spock.dilkie.com [206.51.1.40]) by mx1.freebsd.org (Postfix) with ESMTP id 5A2FF8FC1C for ; Mon, 24 Mar 2008 03:39:58 +0000 (UTC) (envelope-from Lee@dilkie.com) Received: from [206.51.1.193] (borg.dilkie.com [206.51.1.193]) (authenticated bits=0) by spock.dilkie.com (8.14.2/8.14.2) with ESMTP id m2O3ccea079633 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 23 Mar 2008 23:38:40 -0400 (EDT) (envelope-from Lee@dilkie.com) Message-ID: <47E7223E.5070101@dilkie.com> Date: Sun, 23 Mar 2008 23:38:38 -0400 From: Lee Dilkie User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: "Donald E. Holt" References: <1206284676.2073.28.camel@Hank.bullhouse.net> <47E6E34B.6000107@dilkie.com> <1206316676.33903.20.camel@Hank.bullhouse.net> In-Reply-To: <1206316676.33903.20.camel@Hank.bullhouse.net> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.63 on 206.51.1.40 Cc: GEOM Mailing List Subject: Re: Striped Drive for OS File System X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 03:39:58 -0000 I think the gconcat vs gstripe decision boils down to your performance requirements. Gconcat lets you string together various size disks to make a really big disk, whereas gstripe requires them all the be the same size. Gstripe has better performance due to stripping, gconcat is only as fast as a drive. I'm using gconcat because this "big drive" holds a lot of video files and it's more important to just be able to go out and buy the lastest/cheapest drive and add to the end of the array when it gets full. I wouldn't put swap on a filesystem, it's better off in it's own partition/slice (I can never get that terminology straight). If the swap on your root drive is enough, you could go without swap on the /usr drive but it's up to you. oh, and after you've created your drive, don't forgot to add it to /etc/fstab (and remove the exiting /usr entry).. ie. /dev/concat/usr2_concat /usr2 ufs rw 2 2 Donald E. Holt wrote: > Lee, thanks so much for the great info. I may still bollix things up, > but at least I know that the operation itself isn't doomed from the > start... > > The man pages seem to be thorough, so I believe I can work out the > precise steps there. I do have two remaining questions, if I may beg > your patience. > > I am able to backup /usr to tape. In light of that fact, would you > recommend gstripe? I should do a bit more research on my own concerning > the differences between gstripe and gconcat prepared drives, I know, but > I'd value your advice. > > Second question. The drive that currently contains /usr also has a swap > partition (in addition to the swap partition on the first SCSI drive). I > assume the second swap isn't absolutely necessary, but would it be > worthwhile (or possible) to designate a portion of the concatenated > space to swap? > > Thanks again! > > On Sun, 2008-03-23 at 19:10 -0400, Lee Dilkie wrote: > > >> Donald, >> >> Yes, it can be done but as a gconcat rather than a gstripe if you need >> to expand in place. >> >> essentially, >> >> unmount /usr >> create gconcat from existing /usr and new drive (use raw drive.). >> then use growfs to expand gconcatted drive >> mount gconcatted version of /usr >> >> If you can do a backup and restore of /usr, you could create a stripped >> drive instead (if they are the same size or thereabouts). >> >> The only gotcha that I had was in FreeBSD 5.5. Growfs doesn't handle >> really big disks (which is what you get here). I found that the patch to >> fix growfs in 6.2 and manually did it and rebuilt growfs and it worked >> great. I've done it twice now, adding a third drive to my gconcat array. >> >> Also. I only used gconcat with the raw drives, ie "gconcat label >> big_drive /dev/ad2 /dev/ad3 /dev/ad4" but I presume it works the same >> with slices/partitions. >> >> -lee >> >> Donald E. Holt wrote: >> >>> I haven't seen this particular situation discussed, nor have I been able >>> to find any specific information on the web. I am not experienced in >>> GEOM or vinum, so I may be asking a dumb question. If so, I apologize. >>> >>> My system has FreeBSD installed across 2 SCSI drives. /dev/da2 >>> holds /, /tmp, /var, and a swap. /dev/da4 is devoted to /usr and another >>> swap. A third drive (dev/da5) is dedicated to a Win4BSD virtual machine, >>> and is mounted as /WinXP (there are still a few MS apps I can't get >>> around using). >>> >>> I'd like to expand /usr fs to an additional SCSI drive (physically >>> present now, but unused). Would it be possible to do that, perhaps with >>> gstripe, without distroying data on the current drive? >>> >>> Again, sorry if I've asked one of those eye-rolling, forehead-thumping >>> questions. >>> >>> Thanks! >>> _______________________________________________ >>> freebsd-geom@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-geom >>> To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org" >>> >>> > _______________________________________________ > freebsd-geom@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-geom > To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org" > From owner-freebsd-geom@FreeBSD.ORG Mon Mar 24 11:07:05 2008 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 054FF1065699 for ; Mon, 24 Mar 2008 11:07:05 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 02A218FC24 for ; Mon, 24 Mar 2008 11:07:05 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2OB74VE087780 for ; Mon, 24 Mar 2008 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2OB74uF087776 for freebsd-geom@FreeBSD.org; Mon, 24 Mar 2008 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 24 Mar 2008 11:07:04 GMT Message-Id: <200803241107.m2OB74uF087776@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-geom@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-geom@FreeBSD.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 11:07:05 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/73177 geom kldload geom_* causes panic due to memory exhaustion o kern/76538 geom [gbde] nfs-write on gbde partition stalls and continue o kern/83464 geom [geom] [patch] Unhandled malloc failures within libgeo o kern/84556 geom [geom] GBDE-encrypted swap causes panic at shutdown o kern/87544 geom [gbde] mmaping large files on a gbde filesystem deadlo s kern/89102 geom [geom_vfs] [panic] panic when forced unmount FS from u o bin/90093 geom fdisk(8) incapable of altering in-core geometry o kern/90582 geom [geom_mirror] [panic] Restore cause panic string (ffs_ o kern/98034 geom [geom] dereference of NULL pointer in acd_geom_detach o kern/104389 geom [geom] [patch] sys/geom/geom_dump.c doesn't encode XML o kern/113419 geom [geom] geom fox multipathing not failing back o kern/113957 geom [gmirror] gmirror is intermittently reporting a degrad o kern/115572 geom [gbde] [patch] gbde partitions fail at 28bit/48bit LBA o kern/120021 geom net-p2p/qbittorrent crashes system when it works thoug o kern/120231 geom [geom] GEOM_CONCAT error adding second drive f kern/121364 geom [gmirror] Removing all providers create a "zombie" mir 16 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/78131 geom gbde "destroy" not working. o kern/79251 geom [2TB] newfs fails on 2.6TB gbde device o kern/94632 geom [geom] Kernel output resets input while GELI asks for o kern/107707 geom [geom] [patch] [request] add new class geom_xbox360 to p bin/110705 geom gmirror control utility does not exit with correct exi o kern/113837 geom [geom] unable to access 1024 sector size storage o kern/113885 geom [gmirror] [patch] improved gmirror balance algorithm o kern/114532 geom [geom] GEOM_MIRROR shows up in kldstat even if compile o kern/115547 geom [geom] [patch] [request] let GEOM Eli get password fro o kern/119743 geom [geom] geom label for cds is keeped after dismount and o kern/120044 geom [msdosfs] [geom] incorrect MSDOSFS label fries adminis f kern/120091 geom [geom] [geli] [gjournal] geli does not prompt for pass o kern/121559 geom [patch] [geom] geom label class allows to create inacc f kern/121907 geom [request] [geom] geom output to console obscures other 14 problems total. From owner-freebsd-geom@FreeBSD.ORG Mon Mar 24 17:40:06 2008 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09C4510656D2 for ; Mon, 24 Mar 2008 17:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CEDF28FC12 for ; Mon, 24 Mar 2008 17:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2OHe5ii030077 for ; Mon, 24 Mar 2008 17:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2OHe5dC030076; Mon, 24 Mar 2008 17:40:05 GMT (envelope-from gnats) Date: Mon, 24 Mar 2008 17:40:05 GMT Message-Id: <200803241740.m2OHe5dC030076@freefall.freebsd.org> To: freebsd-geom@FreeBSD.org From: "Matt D. Harris" Cc: Subject: Re: kern/121907: geom output to console obscures other messages X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Matt D. Harris" List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 17:40:06 -0000 The following reply was made to PR kern/121907; it has been noted by GNATS. From: "Matt D. Harris" To: remko@elvandar.org Cc: freebsd-gnats-submit@freebsd.org Subject: Re: kern/121907: geom output to console obscures other messages Date: Mon, 24 Mar 2008 13:15:45 -0400 Hi Remko, I did a cursory check of the pr database to see if there were any existing before for this, but didn't turn them up, I guess my keywords were faulty. Feel free to close my PR, in that case. As far as when it is occuring, I haven't gotten any during boot, but I have had it occur during shutdown as well as when physically removing a USB device with msdosfs on it (geom says something about the disk label while da or umass or somesuch talks about the physical device going away). The only way to document it I think would be to boot to console and take a picture with my camera after triggering it. I'll do that gladly if it's helpful. Please let me know if I can help in any way. Thanks, Matt Remko Lodder wrote: > On Thu, March 20, 2008 2:52 pm, Matt D. Harris wrote: > > Please show us an example of what you mean, I think I understand it, but > to record the proper information it would be good to have. > > I think you are talking about overlapping printf's during start and > shutdown so that you see multiple logrecords overlapping in one logoutput > line. > > If so, we already have tickets for that, and I recall people looking into > how this can be resolved, which isnt as easy as it seems at the moment. > > Thanks, > remko > -- /* * mdh - Solitox Networks (Lead Project Engineer) * If it was up to me, eye for an eye I'd seek * But the high road we will take - Lady Justice is a stake */ From owner-freebsd-geom@FreeBSD.ORG Mon Mar 24 19:21:52 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2EEC10656C1 for ; Mon, 24 Mar 2008 19:21:51 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id A201A8FC21 for ; Mon, 24 Mar 2008 19:21:50 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JdsEr-0002Og-0x for freebsd-geom@freebsd.org; Mon, 24 Mar 2008 19:21:45 +0000 Received: from 78-0-71-165.adsl.net.t-com.hr ([78.0.71.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Mar 2008 19:21:45 +0000 Received: from ivoras by 78-0-71-165.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Mar 2008 19:21:45 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Mon, 24 Mar 2008 20:21:26 +0100 Lines: 44 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig13188AE437CB5222F5654835" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-0-71-165.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) X-Enigmail-Version: 0.95.6 Sender: news Subject: Gmirror failure X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 19:21:52 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig13188AE437CB5222F5654835 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable I've just had a failure case when one drive of a gmirrored pair=20 apparently failed. Here's what's in system messages: Mar 24 01:31:28 xx ad2: FAILURE - device detached Mar 24 01:31:28 xx subdisk2: detached Mar 24 01:31:28 xx ad2: detached Mar 24 01:31:28 xx GEOM_MIRROR: Device gm0: provider ad2 disconnected. Mar 24 01:31:28 xx g_vfs_done():mirror/gm0s1f[READ(offset=3D578404352,=20 length=3D16384)]error =3D 6 Mar 24 01:31:28 xx g_vfs_done():mirror/gm0s1h[READ(offset=3D12525010944, = length=3D2048)]error =3D 6 What interests me is: - there were no prior messages of the drive failing (I'd expect=20 geom_mirror to complain earlier) - why does it look like the IO request(s) that caused the failure to be=20 detected are themselves failed? I.e. it looks like two IO requests were=20 discarded at the geom_mirror level, while I'd expect them to be=20 completed from the other, working drive. Any ideas / comments? --------------enig13188AE437CB5222F5654835 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH5/88ldnAQVacBcgRAkPTAJ9QPBVD73SsT2FOdaeZFZMcIYgH7QCglhWi jhFG0YI1SS1MYnjt4lKixD8= =i0iJ -----END PGP SIGNATURE----- --------------enig13188AE437CB5222F5654835-- From owner-freebsd-geom@FreeBSD.ORG Tue Mar 25 19:43:55 2008 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 131F4106564A; Tue, 25 Mar 2008 19:43:55 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E8A9F8FC13; Tue, 25 Mar 2008 19:43:54 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2PJhsEt083984; Tue, 25 Mar 2008 19:43:54 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2PJhs4T083980; Tue, 25 Mar 2008 19:43:54 GMT (envelope-from remko) Date: Tue, 25 Mar 2008 19:43:54 GMT Message-Id: <200803251943.m2PJhs4T083980@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-geom@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: kern/122067: [panic]: Geom crashed during boot X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2008 19:43:55 -0000 Old Synopsis: panic New Synopsis: [panic]: Geom crashed during boot Responsible-Changed-From-To: freebsd-bugs->freebsd-geom Responsible-Changed-By: remko Responsible-Changed-When: Tue Mar 25 19:42:59 UTC 2008 Responsible-Changed-Why: reassign to maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=122067