From owner-freebsd-geom@FreeBSD.ORG Mon Nov 5 11:06:57 2007 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 51D7716A528 for ; Mon, 5 Nov 2007 11:06:57 +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 42A6913C4A8 for ; Mon, 5 Nov 2007 11:06:57 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lA5B6v8T026298 for ; Mon, 5 Nov 2007 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lA5B6ufT026250 for freebsd-geom@FreeBSD.org; Mon, 5 Nov 2007 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 5 Nov 2007 11:06:56 GMT Message-Id: <200711051106.lA5B6ufT026250@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, 05 Nov 2007 11:06:57 -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 o 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 misc/113543 geom [geom] [patch] geom(8) utilities don't work inside the o kern/113957 geom [gmirror] gmirror is intermittently reporting a degrad o kern/115572 geom [gbde] gbde partitions fail at 28bit/48bit LBA address 14 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 f kern/105390 geom [geli] filesystem on a md backed by sparse file with s o kern/107707 geom [geom] [patch] add new class geom_xbox360 to slice up 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 [geom] [patch] improved gmirror balance algorithm o kern/114532 geom GEOM_MIRROR shows up in kldstat even if compiled in th o kern/115547 geom [geom] [patch] for GEOM Eli to get password from stdin 10 problems total. From owner-freebsd-geom@FreeBSD.ORG Mon Nov 5 17:36:55 2007 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 0769E16A41A for ; Mon, 5 Nov 2007 17:36:55 +0000 (UTC) (envelope-from freebsd-lists@ideo.com.br) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.freebsd.org (Postfix) with ESMTP id AD87F13C491 for ; Mon, 5 Nov 2007 17:36:53 +0000 (UTC) (envelope-from freebsd-lists@ideo.com.br) Received: by py-out-1112.google.com with SMTP id u77so3341490pyb for ; Mon, 05 Nov 2007 09:36:43 -0800 (PST) Received: by 10.65.53.3 with SMTP id f3mr13551205qbk.1194284202336; Mon, 05 Nov 2007 09:36:42 -0800 (PST) Received: by 10.65.137.2 with HTTP; Mon, 5 Nov 2007 09:36:42 -0800 (PST) Message-ID: <8d4842b50711050936n24ff27c4uc9df10c6bffa1a3a@mail.gmail.com> Date: Mon, 5 Nov 2007 15:36:42 -0200 From: "Marco Haddad" To: "Ulf Lilleengen" In-Reply-To: <20071103015435.GB22755@stud.ntnu.no> MIME-Version: 1.0 References: <8d4842b50710310814w3880f7d3ldf8abe3a236cbcc8@mail.gmail.com> <20071031215756.GB1670@stud.ntnu.no> <472AA59F.3020103@rootnode.com> <0001DFFC-0115-1000-9A80-3F81219C1B16-Webmail-10013@mac.com> <8d4842b50711021832g7ad7cec9x48d2f114b1e41f5f@mail.gmail.com> <20071103015435.GB22755@stud.ntnu.no> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Joe Koberg , Peter Giessel , freebsd-geom@freebsd.org Subject: Re: gvinum and raid5 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, 05 Nov 2007 17:36:55 -0000 On 11/2/07, Ulf Lilleengen wrote: > > On fre, nov 02, 2007 at 10:32:54 -0300, Marco Haddad wrote: > [...] > > I think there's no easier way... > > Yes there is. Replacing a drive in gvinum follows the following procedure: > 1. Create config for the new drive and name the drive _differently_ than > the > old one. > > 2. Use the gvinum 'move' command to move the stale subdisk to the new > drive. > > 3. Make sure the the subdisk now points to the new drive and that it's in > the > 'stale' state. > > 4. Start the plex (gvinum start). > > The other issues you encountered have been fixed in my gvinum work this > summer. Also, replacing a drive and rebuilding a plex can happen without > unmounting your volume in the new gvinum. Well, I can't do that because 'gvinum create' panics even if the new drive is named differently. Perhaps the problem is using the same device which was once already present, and that's why I need to remove all objects first... The fact is I can't remove the objects with the system running, and once they are removed, there's no need for a different name. Actually, it's easier to use the same original create script... I'll try to apply your patches and see if it this issue is solved. Thanks, Marco Haddad From owner-freebsd-geom@FreeBSD.ORG Thu Nov 8 10:24:37 2007 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 A9D6216A46B; Thu, 8 Nov 2007 10:24:37 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 5090813C4C1; Thu, 8 Nov 2007 10:24:37 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 2F4B3744007; Thu, 8 Nov 2007 12:24:08 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id toRBKAUS790D; Thu, 8 Nov 2007 12:24:08 +0200 (EET) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id C29E7744005; Thu, 8 Nov 2007 12:24:07 +0200 (EET) Message-ID: <4732E3C6.5060205@icyb.net.ua> Date: Thu, 08 Nov 2007 12:24:06 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.6 (X11/20071101) MIME-Version: 1.0 To: freebsd-geom@freebsd.org, Pawel Jakub Dawidek Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: gjournal on 6.2: Cannot delete /var/.deleted/#613759 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: Thu, 08 Nov 2007 10:24:37 -0000 I use gjournal6.patch on FreeBSD 6.2 amd64 system. Everything was perfect until today when I got some minor problems from gjournal. While building a port, compilation aborted with an error that said something like the following (I didn't save the message, unfortunately): "can not create temporary file: interrupted system call". I had to restart compilation several times because of such errors and eventually it finished successfully. Along the compilation errors the following message appeared in system log: UFS_GJGC: Cannot delete /var/.deleted/#613759 (error=2) UFS_GJGC: Cannot delete /var/.deleted/#1202391 (error=2) UFS_GJGC: Cannot delete /var/.deleted/#1202391 (error=2) UFS_GJGC: Cannot delete /var/.deleted/#1202390 (error=2) UFS_GJGC: Cannot delete /var/.deleted/#1202390 (error=2) -- Andriy Gapon From owner-freebsd-geom@FreeBSD.ORG Thu Nov 8 10:39:49 2007 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 9E82516A41B for ; Thu, 8 Nov 2007 10:39:49 +0000 (UTC) (envelope-from mario.pranjic@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id 640BA13C4A6 for ; Thu, 8 Nov 2007 10:39:49 +0000 (UTC) (envelope-from mario.pranjic@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so153753waf for ; Thu, 08 Nov 2007 02:39:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=fF3wJiH6S7kZXpy4Yjj03hZdr1GeLl0Zp5TiJ0zVat8=; b=UxDyMj9TZkc6I9LoJjjABzDmveB5vmv04n06WBVUMzF/t6NrSGyYP8hD9j7zE35b+7sS1n7tq9NvqhzSeSvgtnvx0zArQ1Qjlr2XPPoAM1i7Nvao8kvACyNUELqXh9QiyaPeuvwq81gPU9W4N7sV35oFiPFHmr1qAmSC6naQCc8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=MHMoQtV6IfXDmRSR4rvEzXWy0ylWx0DBKUJJumQbF5WNXarScRt+sKJNbqU5lQFG/MPJJg8bpA2xbC6e4Vi79clBfF1ioX4xDHRFX8OYffgPd16CgtTxewNIY4Ia+bBWY6TeQqjeYeVF4hNtY+pSTI0vitnC1PE+a4hHwV/G00Y= Received: by 10.114.75.1 with SMTP id x1mr381576waa.1194518375124; Thu, 08 Nov 2007 02:39:35 -0800 (PST) Received: by 10.114.13.14 with HTTP; Thu, 8 Nov 2007 02:39:35 -0800 (PST) Message-ID: Date: Thu, 8 Nov 2007 11:39:35 +0100 From: "Mario Pranjic" To: "Pawel Jakub Dawidek" , freebsd-geom@freebsd.org In-Reply-To: MIME-Version: 1.0 References: <20071026075756.GA1219@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: gmirror weird behaviour 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: Thu, 08 Nov 2007 10:39:49 -0000 On 26/10/2007, Mario Pranjic wrote: > > And it broke again (during mirror resync): > > Oct 26 21:18:28 haerbe ad0: TIMEOUT - WRITE_DMA48 retrying (1 retry left) > LBA=273046528 > Oct 26 21:18:28 haerbe ad0: FAILURE - WRITE_DMA48 > status=51 error=10 LBA=273046528 > Oct 26 21:18:28 haerbe GEOM_MIRROR[0]: Synchronization request failed > (error=5). ad0[WRITE(offset=139799822336, length=131072)] > Oct 26 21:18:28 haerbe GEOM_MIRROR[1]: Disk ad0 state changed from > SYNCHRONIZING to DISCONNECTED (device gmo). > Oct 26 21:18:28 haerbe GEOM_MIRROR[0]: Device gmo: provider ad0 > disconnected. > Oct 26 21:18:28 haerbe GEOM_MIRROR[0]: Device gmo: rebuilding provider ad0 > stopped. > Oct 26 21:18:28 haerbe GEOM_MIRROR[1]: Consumer mirror/gmo destroyed. > Oct 26 21:18:28 haerbe GEOM_MIRROR[1]: Device gmo: genid bumped to 2. > Oct 26 21:18:28 haerbe GEOM_MIRROR[1]: Consumer ad0 destroyed. > Hi! Just to clarify: it was a disk. :) It just died. We replaced the disk and for now we have no further problems. -- Mario. http://keeper.sharanet.org/ http://keeper.haerbe.net/ http://keeper.nymphomatic.org/ From owner-freebsd-geom@FreeBSD.ORG Fri Nov 9 10:47:53 2007 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 07A0416A421; Fri, 9 Nov 2007 10:47:53 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 088EC13C4BA; Fri, 9 Nov 2007 10:47:51 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id C6D92744009; Fri, 9 Nov 2007 12:47:34 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pl-Eq4cVA01P; Fri, 9 Nov 2007 12:47:34 +0200 (EET) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 68D88744004; Fri, 9 Nov 2007 12:47:34 +0200 (EET) Message-ID: <47343AC5.8090103@icyb.net.ua> Date: Fri, 09 Nov 2007 12:47:33 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.6 (X11/20071101) MIME-Version: 1.0 To: freebsd-geom@freebsd.org, Pawel Jakub Dawidek References: <4732E3C6.5060205@icyb.net.ua> In-Reply-To: <4732E3C6.5060205@icyb.net.ua> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: Re: gjournal on 6.2: Cannot delete /var/.deleted/#613759 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: Fri, 09 Nov 2007 10:47:53 -0000 on 08/11/2007 12:24 Andriy Gapon said the following: > I use gjournal6.patch on FreeBSD 6.2 amd64 system. > > Everything was perfect until today when I got some minor problems from > gjournal. While building a port, compilation aborted with an error that > said something like the following (I didn't save the message, > unfortunately): "can not create temporary file: interrupted system call". > I had to restart compilation several times because of such errors and > eventually it finished successfully. Along the compilation errors the > following message appeared in system log: > UFS_GJGC: Cannot delete /var/.deleted/#613759 (error=2) > UFS_GJGC: Cannot delete /var/.deleted/#1202391 (error=2) > UFS_GJGC: Cannot delete /var/.deleted/#1202391 (error=2) > UFS_GJGC: Cannot delete /var/.deleted/#1202390 (error=2) > UFS_GJGC: Cannot delete /var/.deleted/#1202390 (error=2) > Well, given that errno 2 is ENOENT, it is interesting what happens here. Entry appearing twice on the list of GC items, name clash, something else ? Is this something harmless or a result of a more serious issue ? My guess is that it could be a result of fast creation and deletion of some tmp files, so that inode number is reused before an entry is actually deleted from .deleted and thus there is a name clash. Should be harmless if this is true. Or not ? -- Andriy Gapon From owner-freebsd-geom@FreeBSD.ORG Fri Nov 9 13:06:44 2007 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 E8AE016A41A; Fri, 9 Nov 2007 13:06:44 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from ns.trinitel.com (186.161.36.72.static.reverse.ltdomains.com [72.36.161.186]) by mx1.freebsd.org (Postfix) with ESMTP id 9893C13C4C2; Fri, 9 Nov 2007 13:06:44 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from proton.storspeed.com (209-163-168-124.static.twtelecom.net [209.163.168.124]) (authenticated bits=0) by ns.trinitel.com (8.14.1/8.14.1) with ESMTP id lA9Ccibp084341; Fri, 9 Nov 2007 06:38:44 -0600 (CST) (envelope-from anderson@freebsd.org) Message-Id: <6EBC07A8-054F-476A-8DF5-B54124CEB339@freebsd.org> From: Eric Anderson To: Andriy Gapon In-Reply-To: <47343AC5.8090103@icyb.net.ua> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Date: Fri, 9 Nov 2007 06:38:44 -0600 References: <4732E3C6.5060205@icyb.net.ua> <47343AC5.8090103@icyb.net.ua> X-Mailer: Apple Mail (2.912) X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on ns.trinitel.com Cc: Pawel Jakub Dawidek , freebsd-geom@freebsd.org Subject: Re: gjournal on 6.2: Cannot delete /var/.deleted/#613759 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: Fri, 09 Nov 2007 13:06:45 -0000 On Nov 9, 2007, at 4:47 AM, Andriy Gapon wrote: > on 08/11/2007 12:24 Andriy Gapon said the following: >> I use gjournal6.patch on FreeBSD 6.2 amd64 system. >> >> Everything was perfect until today when I got some minor problems >> from >> gjournal. While building a port, compilation aborted with an error >> that >> said something like the following (I didn't save the message, >> unfortunately): "can not create temporary file: interrupted system >> call". >> I had to restart compilation several times because of such errors and >> eventually it finished successfully. Along the compilation errors the >> following message appeared in system log: >> UFS_GJGC: Cannot delete /var/.deleted/#613759 (error=2) >> UFS_GJGC: Cannot delete /var/.deleted/#1202391 (error=2) >> UFS_GJGC: Cannot delete /var/.deleted/#1202391 (error=2) >> UFS_GJGC: Cannot delete /var/.deleted/#1202390 (error=2) >> UFS_GJGC: Cannot delete /var/.deleted/#1202390 (error=2) >> > > Well, given that errno 2 is ENOENT, it is interesting what happens > here. > Entry appearing twice on the list of GC items, name clash, something > else ? Is this something harmless or a result of a more serious > issue ? > > My guess is that it could be a result of fast creation and deletion of > some tmp files, so that inode number is reused before an entry is > actually deleted from .deleted and thus there is a name clash. > Should be harmless if this is true. Or not ? When inodes are reused, their gen count should go up (or NFS handles would get broken quickly). The file is probably being removed in- between the readdir and the remove. Eric From owner-freebsd-geom@FreeBSD.ORG Fri Nov 9 14:28:20 2007 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 1C47516A41A for ; Fri, 9 Nov 2007 14:28:20 +0000 (UTC) (envelope-from toomas.aas@raad.tartu.ee) Received: from kuller.raad.tartu.ee (kuller.raad.tartu.ee [194.126.106.100]) by mx1.freebsd.org (Postfix) with ESMTP id B81BC13C4B3 for ; Fri, 9 Nov 2007 14:28:19 +0000 (UTC) (envelope-from toomas.aas@raad.tartu.ee) Received: from localhost (localhost [127.0.0.1]) by kuller.raad.tartu.ee (Postfix) with ESMTP id DB884BAE6 for ; Fri, 9 Nov 2007 16:08:43 +0200 (EET) X-Virus-Scanned: amavisd-new at post.raad.tartu.ee Received: from kuller.raad.tartu.ee ([127.0.0.1]) by localhost (kuller.raad.tartu.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1Wm+opDIY3HP for ; Fri, 9 Nov 2007 16:08:41 +0200 (EET) Received: from raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110]) by kuller.raad.tartu.ee (Postfix) with ESMTP id B6C85B8CB for ; Fri, 9 Nov 2007 16:08:41 +0200 (EET) Received: from INFO/SpoolDir by raad.tartu.ee (Mercury 1.48); 9 Nov 07 16:08:41 +0200 Received: from SpoolDir by INFO (Mercury 1.48); 9 Nov 07 16:08:35 +0200 Received: from [172.26.1.6] (172.26.1.6) by raad.tartu.ee (Mercury 1.48) with ESMTP; 9 Nov 07 16:08:28 +0200 Message-ID: <473469DC.3040305@raad.tartu.ee> Date: Fri, 09 Nov 2007 16:08:28 +0200 From: Toomas Aas User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: BIO_FLUSH and BBWC 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: Fri, 09 Nov 2007 14:28:20 -0000 Hello! Using FreeBSD 7.0-BETA2 I created some UFS+gjournal filesystems on IBM ServeRAID 8k (aac) controller. When the filesystem is being mounted, I get this message: GEOM_JOURNAL: BIO_FLUSH not supported by aacd1s2 OK, so aac driver doesn't support BIO_FLUSH. Is my understanding correct that BIO_FLUSH is the request that tells the controller to flush its cache, or is it about flushing some other cache? If it is controller cache that can't be flushed, then am I correct in thinking that if my controller has battery-backed cache then this is actually not a major concern? Another message that I don't understand which happens when mounting the FS is this: WARNING: Expected rawoffset 0, found 514080 -- Toomas Aas From owner-freebsd-geom@FreeBSD.ORG Sat Nov 10 13:08:53 2007 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 346EA16A420 for ; Sat, 10 Nov 2007 13:08:53 +0000 (UTC) (envelope-from citrin@citrin.ru) Received: from mail.classis.ru (classis.ru [213.248.60.120]) by mx1.freebsd.org (Postfix) with ESMTP id 3218213C480 for ; Sat, 10 Nov 2007 13:08:52 +0000 (UTC) (envelope-from citrin@citrin.ru) Received: from [192.168.1.34] (ppp91-76-226-75.pppoe.mtu-net.ru [91.76.226.75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: citrin@citrin.ru) by mail.classis.ru (Postfix) with ESMTP id 88A43B82E for ; Sat, 10 Nov 2007 15:58:23 +0300 (MSK) Message-ID: <4735AAE3.7070209@citrin.ru> Date: Sat, 10 Nov 2007 15:58:11 +0300 From: Anton Yuzhaninov User-Agent: Thunderbird by compcn MIME-Version: 1.0 To: freebsd-geom@freebsd.org Content-Type: multipart/mixed; boundary="------------000603020804000907080706" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: gstat don't work on 7.0-BETA2 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: Sat, 10 Nov 2007 13:08:53 -0000 This is a multi-part message in MIME format. --------------000603020804000907080706 Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit gstat don't work on my system: # gstat gstat: geom_gettree = -1: No such file or directory Error "No such file or directory" seems to be irrelevant to the cause of error. It show saved errno from: readlink("/etc/malloc.conf",0x7fffffffe1f0,1024) ERR#2 'No such file or directory' But real problem in other place... To test I'v written simple test (attached as geom-test.c) which show that: 1. geom_getxml() return xml 2. geom_xml2tree() can't parse this xml xml output from geom_getxml attached as geom-tree.xml. -- WBR, Anton Yuzhaninov --------------000603020804000907080706 Content-Type: text/plain; name="geom-test.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="geom-test.c" /* to compile tipe: gcc -lgeom -o geom-test geom-test.c */ #include #include #include #include int main(int argc, char *argv[]) { char *p; struct gmesh gmp; int x2t_err; p = geom_getxml(); if (p == NULL) err(1, "geom_getxml() failed"); printf("%s\n", p); x2t_err = geom_xml2tree(&gmp, p); free(p); printf("geom_xml2tree() return: %d\n", x2t_err); exit(0); } --------------000603020804000907080706-- From owner-freebsd-geom@FreeBSD.ORG Sat Nov 10 13:27:16 2007 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 9E63A16A417 for ; Sat, 10 Nov 2007 13:27:16 +0000 (UTC) (envelope-from citrin@citrin.ru) Received: from mail.classis.ru (classis.ru [213.248.60.120]) by mx1.freebsd.org (Postfix) with ESMTP id 52C3513C4A7 for ; Sat, 10 Nov 2007 13:27:16 +0000 (UTC) (envelope-from citrin@citrin.ru) Received: from [192.168.1.34] (ppp91-76-226-75.pppoe.mtu-net.ru [91.76.226.75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: citrin@citrin.ru) by mail.classis.ru (Postfix) with ESMTP id CFA0AB82E for ; Sat, 10 Nov 2007 16:27:04 +0300 (MSK) Message-ID: <4735B19D.9090601@citrin.ru> Date: Sat, 10 Nov 2007 16:26:53 +0300 From: Anton Yuzhaninov User-Agent: Thunderbird by compcn MIME-Version: 1.0 To: freebsd-geom@freebsd.org References: <4735AAE3.7070209@citrin.ru> In-Reply-To: <4735AAE3.7070209@citrin.ru> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: gstat don't work on 7.0-BETA2 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: Sat, 10 Nov 2007 13:27:16 -0000 On 10.11.2007 15:58, Anton Yuzhaninov wrote: > To test I'v written simple test (attached as geom-test.c) > > which show that: > 1. geom_getxml() return xml > 2. geom_xml2tree() can't parse this xml > > xml output from geom_getxml attached as geom-tree.xml. It was stripped by mailing list... Output from geom_getxml() shared here: http://citrin.ru/tmp/geom-tree.xml -- WBR, Anton Yuzhaninov From owner-freebsd-geom@FreeBSD.ORG Sat Nov 10 15:43:23 2007 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 1871616A421; Sat, 10 Nov 2007 15:43:23 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id B9BFA13C4B9; Sat, 10 Nov 2007 15:43:22 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id A66E5744003; Sat, 10 Nov 2007 17:43:07 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gr7LAVf2+8mZ; Sat, 10 Nov 2007 17:43:07 +0200 (EET) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id AC1A8744002; Sat, 10 Nov 2007 17:43:06 +0200 (EET) Message-ID: <4735D189.5050908@icyb.net.ua> Date: Sat, 10 Nov 2007 17:43:05 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.6 (X11/20071101) MIME-Version: 1.0 To: freebsd-geom@freebsd.org, Pawel Jakub Dawidek References: <4732E3C6.5060205@icyb.net.ua> <47343AC5.8090103@icyb.net.ua> In-Reply-To: <47343AC5.8090103@icyb.net.ua> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: Re: gjournal on 6.2: Cannot delete /var/.deleted/#613759 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: Sat, 10 Nov 2007 15:43:23 -0000 on 09/11/2007 12:47 Andriy Gapon said the following: > on 08/11/2007 12:24 Andriy Gapon said the following: >> I use gjournal6.patch on FreeBSD 6.2 amd64 system. >> >> Everything was perfect until today when I got some minor problems from >> gjournal. While building a port, compilation aborted with an error that >> said something like the following (I didn't save the message, >> unfortunately): "can not create temporary file: interrupted system call". >> I had to restart compilation several times because of such errors and >> eventually it finished successfully. Along the compilation errors the >> following message appeared in system log: >> UFS_GJGC: Cannot delete /var/.deleted/#613759 (error=2) >> UFS_GJGC: Cannot delete /var/.deleted/#1202391 (error=2) >> UFS_GJGC: Cannot delete /var/.deleted/#1202391 (error=2) >> UFS_GJGC: Cannot delete /var/.deleted/#1202390 (error=2) >> UFS_GJGC: Cannot delete /var/.deleted/#1202390 (error=2) >> Continuing my monologue :-) Additional data point: this machine has a processor with two cores and the kernel is MP, so some additional concurrency may occur. Got more of the same messages today, again during port building, but with no adverse effects. UFS_GJGC: Cannot delete /var/.deleted/#683430 (error=2) UFS_GJGC: Cannot delete /var/.deleted/#636363 (error=2) UFS_GJGC: Cannot delete /var/.deleted/#706945 (error=2) UFS_GJGC: Cannot delete /var/.deleted/#613521 (error=2) This time the difference is that no repeating names/inums appear as it was the first time. Also, out of curiosity I decided to search for those inode numbers, with some unusual results. Maybe this doesn't mean anything, but all 4 files do exist actually and all of them are +CONTENTS files under /var/db/pkg. All of them were re-created (judging from their birth times), apparently because some @pkgdep lines needed to be changed. None of the ports in question was actually updated but their dependencies were. -- Andriy Gapon From owner-freebsd-geom@FreeBSD.ORG Sat Nov 10 15:45:31 2007 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 A792716A421; Sat, 10 Nov 2007 15:45:31 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 349DC13C4A5; Sat, 10 Nov 2007 15:45:30 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 5A257744003; Sat, 10 Nov 2007 17:45:08 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TEccqOnm+EU5; Sat, 10 Nov 2007 17:45:08 +0200 (EET) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id D9000744002; Sat, 10 Nov 2007 17:45:07 +0200 (EET) Message-ID: <4735D203.8010109@icyb.net.ua> Date: Sat, 10 Nov 2007 17:45:07 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.6 (X11/20071101) MIME-Version: 1.0 To: Eric Anderson References: <4732E3C6.5060205@icyb.net.ua> <47343AC5.8090103@icyb.net.ua> <6EBC07A8-054F-476A-8DF5-B54124CEB339@freebsd.org> In-Reply-To: <6EBC07A8-054F-476A-8DF5-B54124CEB339@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Pawel Jakub Dawidek , freebsd-geom@freebsd.org Subject: Re: gjournal on 6.2: Cannot delete /var/.deleted/#613759 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: Sat, 10 Nov 2007 15:45:31 -0000 on 09/11/2007 14:38 Eric Anderson said the following: > When inodes are reused, their gen count should go up (or NFS handles > would get broken quickly). The file is probably being removed in- > between the readdir and the remove. > Eric, thank you for the reply and the hint. I will try to add i_gen to a name that gets assigned to gjournal-managed files under .deleted and see how that works. -- Andriy Gapon From owner-freebsd-geom@FreeBSD.ORG Sat Nov 10 17:30:12 2007 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 617ED16A420 for ; Sat, 10 Nov 2007 17:30:12 +0000 (UTC) (envelope-from citrin@citrin.ru) Received: from mail.classis.ru (classis.ru [213.248.60.120]) by mx1.freebsd.org (Postfix) with ESMTP id 15A6813C4A8 for ; Sat, 10 Nov 2007 17:30:11 +0000 (UTC) (envelope-from citrin@citrin.ru) Received: from [192.168.1.34] (ppp91-76-226-75.pppoe.mtu-net.ru [91.76.226.75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: citrin@citrin.ru) by mail.classis.ru (Postfix) with ESMTP id 5EEADB82E for ; Sat, 10 Nov 2007 20:29:57 +0300 (MSK) Message-ID: <4735EA87.7040306@citrin.ru> Date: Sat, 10 Nov 2007 20:29:43 +0300 From: Anton Yuzhaninov User-Agent: Thunderbird by compcn MIME-Version: 1.0 To: freebsd-geom@freebsd.org References: <4735AAE3.7070209@citrin.ru> In-Reply-To: <4735AAE3.7070209@citrin.ru> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: gstat don't work on 7.0-BETA2 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: Sat, 10 Nov 2007 17:30:12 -0000 On 10.11.2007 15:58, Anton Yuzhaninov wrote: > gstat don't work on my system: > > # gstat > gstat: geom_gettree = -1: No such file or directory > > Error "No such file or directory" seems to be irrelevant to the cause of > error. It show saved errno from: > readlink("/etc/malloc.conf",0x7fffffffe1f0,1024) ERR#2 'No such file or > directory' > > But real problem in other place... > > To test I'v written simple test (attached as geom-test.c) > > which show that: > 1. geom_getxml() return xml > 2. geom_xml2tree() can't parse this xml It fail to parse xml because it contain non-ASCII symbols (in my case cyrillic in cp1251) from CD label: any But it not obvious, what is the right way to fix this bug. Remove CD from CD-ROM to run gstat is a bad workaround. Better workaround change non ASCII symbols to "_" in glabel, but it also ugly... Anyway error message should be more relevant than "No such file or directory" (errno after readlink /etc/malloc.conf). -- WBR, Anton Yuzhaninov From owner-freebsd-geom@FreeBSD.ORG Sat Nov 10 17:44:53 2007 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 66D0316A41A for ; Sat, 10 Nov 2007 17:44:53 +0000 (UTC) (envelope-from mirror176@hotmail.com) Received: from bay0-omc1-s18.bay0.hotmail.com (bay0-omc1-s18.bay0.hotmail.com [65.54.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id 4CFE013C4A3 for ; Sat, 10 Nov 2007 17:44:53 +0000 (UTC) (envelope-from mirror176@hotmail.com) Received: from BAY110-W41 ([65.54.229.141]) by bay0-omc1-s18.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 10 Nov 2007 09:31:31 -0800 Message-ID: X-Originating-IP: [70.176.148.72] From: Edward Sutton To: Date: Sat, 10 Nov 2007 10:31:32 -0700 Importance: Normal Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 10 Nov 2007 17:31:31.0907 (UTC) FILETIME=[88B0C130:01C823BF] Subject: gvinum raid5 cannot find file system superblock after removing a disk 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: Sat, 10 Nov 2007 17:44:53 -0000 I had a disk that had been in a down state in the past, marking its raid5 p= lexes as stale. After determining which disk was the one connected to the s= tale data (ad8), I rebooted to a freebsd on a nonraided freebsd drive that = did not have geom_gvinum loaded. I made a dd of the first 64mb on ad8 and u= sed sysinstall to repartition the drive. The main system has failed to moun= t or fsck all raid5 partitions since. gvinum still says the untouched piece= s are in the 'up' state and restoring my ad8 dd made that disk listed again= but still cannot boot. I have not yet tried to rebuild the disk from the o= ther 2 since it is unable to boot from them. Is there a chance that the day= a is no longer being called with the=20 correct offset or from the correct disk? is there a way i can experiment wi= th the data from each disk to rebuild it using different orders and offsets= to create another disk containing nonstriped data to try to find the files= ystems? I am running a stable6 system updated about 3 days ago and haven't found an= y postings indicating trouble from there. Any information as to what went w= rong and suggested steps from here to bring this data back online would be = greatly appreciated. I will try to provide any requested information, but a= t present wukk be manually copying it fro one computer to the next in most = cases. Thanks again for any information, Ed Sutton _________________________________________________________________ Help yourself to FREE treats served up daily at the Messenger Caf=E9. Stop = by today. http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=3DTXT_TAGLM_Oc= tWLtagline=