From owner-freebsd-geom@FreeBSD.ORG Mon Sep 28 11:06:55 2009 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 47040106568F for ; Mon, 28 Sep 2009 11:06:55 +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 33BA38FC0A for ; Mon, 28 Sep 2009 11:06:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8SB6tgx064013 for ; Mon, 28 Sep 2009 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8SB6sKQ064009 for freebsd-geom@FreeBSD.org; Mon, 28 Sep 2009 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 28 Sep 2009 11:06:54 GMT Message-Id: <200909281106.n8SB6sKQ064009@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, 28 Sep 2009 11:06:55 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/135898 geom [geom] Severe filesystem corruption - large files or l o kern/134922 geom [gmirror] [panic] kernel panic when use fdisk on disk o kern/134113 geom [geli] Problem setting secondary GELI key o kern/134044 geom [geom] gmirror(8) overwrites fs with stale data from r o kern/133931 geom [geli] [request] intentionally wrong password to destr o bin/132845 geom [geom] [patch] ggated(8) does not close files opened a o kern/132273 geom glabel(8): [patch] failing on journaled partition f kern/132242 geom [gmirror] gmirror.ko fails to fully initialize o kern/131353 geom [geom] gjournal(8) kernel lock p docs/130548 geom [patch] gjournal(8) man page is missing sysctls o kern/129674 geom [geom] gjournal root did not mount on boot o kern/129645 geom gjournal(8): GEOM_JOURNAL causes system to fail to boo o kern/129245 geom [geom] gcache is more suitable for suffix based provid f kern/128276 geom [gmirror] machine lock up when gmirror module is used f kern/126902 geom [geom] geom_label: kernel panic during install boot o kern/124973 geom [gjournal] [patch] boot order affects geom_journal con o kern/124969 geom gvinum(8): gvinum raid5 plex does not detect missing s f kern/124294 geom [geom] gmirror(8) have inappropriate logic when workin o kern/123962 geom [panic] [gjournal] gjournal (455Gb data, 8Gb journal), o kern/123122 geom [geom] GEOM / gjournal kernel lock o kern/122738 geom [geom] gmirror list "losts consumers" after gmirror de f kern/122415 geom [geom] UFS labels are being constantly created and rem o kern/122067 geom [geom] [panic] Geom crashed during boot o kern/121559 geom [patch] [geom] geom label class allows to create inacc o kern/121364 geom [gmirror] Removing all providers create a "zombie" mir o kern/120091 geom [geom] [geli] [gjournal] geli does not prompt for pass o kern/120021 geom [geom] [panic] net-p2p/qbittorrent crashes system when o kern/119743 geom [geom] geom label for cds is keeped after dismount and o kern/115856 geom [geli] ZFS thought it was degraded when it should have o kern/115547 geom [geom] [patch] [request] let GEOM Eli get password fro o kern/114532 geom [geom] GEOM_MIRROR shows up in kldstat even if compile o kern/113957 geom [gmirror] gmirror is intermittently reporting a degrad o kern/113885 geom [gmirror] [patch] improved gmirror balance algorithm o kern/113837 geom [geom] unable to access 1024 sector size storage o kern/113419 geom [geom] geom fox multipathing not failing back p bin/110705 geom gmirror(8) control utility does not exit with correct o kern/107707 geom [geom] [patch] [request] add new class geom_xbox360 to o kern/104389 geom [geom] [patch] sys/geom/geom_dump.c doesn't encode XML o kern/98034 geom [geom] dereference of NULL pointer in acd_geom_detach o kern/94632 geom [geom] Kernel output resets input while GELI asks for o kern/90582 geom [geom] [panic] Restore cause panic string (ffs_blkfree o bin/90093 geom fdisk(8) incapable of altering in-core geometry a kern/89660 geom [vinum] [patch] [panic] due to g_malloc returning null o kern/89546 geom [geom] GEOM error o kern/88601 geom [geli] geli cause kernel panic under heavy disk usage o kern/87544 geom [gbde] mmaping large files on a gbde filesystem deadlo o kern/84556 geom [geom] [panic] GBDE-encrypted swap causes panic at shu o kern/79251 geom [2TB] newfs fails on 2.6TB gbde device o kern/79035 geom [vinum] gvinum unable to create a striped set of mirro o bin/78131 geom gbde(8) "destroy" not working. s kern/73177 geom kldload geom_* causes panic due to memory exhaustion 51 problems total. From owner-freebsd-geom@FreeBSD.ORG Mon Sep 28 17:52:00 2009 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 140AC106566B; Mon, 28 Sep 2009 17:52:00 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout029.mac.com (asmtpout029.mac.com [17.148.16.104]) by mx1.freebsd.org (Postfix) with ESMTP id F37208FC08; Mon, 28 Sep 2009 17:51:59 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii; format=flowed; delsp=yes Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp029.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KQP00K4Z0AMN000@asmtp029.mac.com>; Mon, 28 Sep 2009 10:51:59 -0700 (PDT) From: Marcel Moolenaar In-reply-to: <4AB9788B.2040003@sasktel.net> Date: Mon, 28 Sep 2009 10:51:57 -0700 Message-id: References: <200909172032.n8HKWEUG021155@freefall.freebsd.org> <4AB967E2.8010207@sasktel.net> <08EDE240-FE64-48D6-905C-8203FE6268EB@mac.com> <4AB9788B.2040003@sasktel.net> To: Stephen Hurd X-Mailer: Apple Mail (2.1076) Cc: marcel@FreeBSD.org, freebsd-geom@FreeBSD.org Subject: Re: kern/138891: [geom] GEOM_PART_* fails with sliced gstripe 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, 28 Sep 2009 17:52:00 -0000 On Sep 22, 2009, at 6:23 PM, Stephen Hurd wrote: > Marcel Moolenaar wrote: >>> After wiping out the second sector or the drive (dd seek=1 count=1 >>> if=/dev/zero of=/dev/stripe/raid0) >>> fdisk now reports "invalid fdisk partition table found" but >>> GEOM_PART_* still does not locate the a slice and the b/d slices >>> will not mount. >> >> What is the sector size? > > 512 according to diskinfo and gstripe list: Ok, so nothing weird. What I do see is that you created a RAID within MBR slices, so you can't have a MBR on top of the RAID. In other words, it's invalid to do: fdisk /dev/stripe/raid0 The correct location for the BSD disklabel would be sector 2 of the RAID. Can you dump sector 64 & 65 of raid0? (i.e. dd if=/dev/stripe/raid0 of=/tmp/raid0-64.dmp iseek=63 bs=512 count=2) -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-geom@FreeBSD.ORG Mon Sep 28 21:03:45 2009 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 C492710656A3; Mon, 28 Sep 2009 21:03:45 +0000 (UTC) (envelope-from shurd@sasktel.net) Received: from electron.sasknet.sk.ca (electron.sasknet.sk.ca [142.165.20.179]) by mx1.freebsd.org (Postfix) with ESMTP id 8C17B8FC0C; Mon, 28 Sep 2009 21:03:45 +0000 (UTC) Received: from pps.filterd (electron [127.0.0.1]) by electron.sasknet.sk.ca (8.14.3/8.14.3) with SMTP id n8SL3OTi014409; Mon, 28 Sep 2009 15:03:44 -0600 Received: from bgmpomr1.sasknet.sk.ca (bgmpOMR1.sasknet.sk.ca [142.165.72.22]) by electron.sasknet.sk.ca with ESMTP id h34nj05gq-1; Mon, 28 Sep 2009 15:03:43 -0600 Received: from ace.hurd.local (outgoing.bbsdev.net [76.202.204.46]) by bgmpomr1.sasknet.sk.ca (SaskTel eMessaging Service) with ESMTPA id <0KQP00DWQ965EP00@bgmpomr1.sasknet.sk.ca>; Mon, 28 Sep 2009 15:03:43 -0600 (CST) Date: Mon, 28 Sep 2009 14:03:40 -0700 From: Stephen Hurd In-reply-to: To: Marcel Moolenaar Message-id: <4AC124AC.4050405@sasktel.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <200909172032.n8HKWEUG021155@freefall.freebsd.org> <4AB967E2.8010207@sasktel.net> <08EDE240-FE64-48D6-905C-8203FE6268EB@mac.com> <4AB9788B.2040003@sasktel.net> User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.23) Gecko/20090917 SeaMonkey/1.1.18 Mnenhy/0.7.6.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2009-09-28_07:2009-09-22, 2009-09-28, 2009-09-28 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-0909280097 Cc: marcel@FreeBSD.org, freebsd-geom@FreeBSD.org Subject: Re: kern/138891: [geom] GEOM_PART_* fails with sliced gstripe 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, 28 Sep 2009 21:03:45 -0000 Marcel Moolenaar wrote: >>>> fdisk now reports "invalid fdisk partition table found" but >>>> GEOM_PART_* still does not locate the a slice and the b/d slices >>>> will not mount. >>> >>> What is the sector size? >> >> 512 according to diskinfo and gstripe list: > > Ok, so nothing weird. > > Can you dump sector 64 & 65 of raid0? > (i.e. dd if=/dev/stripe/raid0 of=/tmp/raid0-64.dmp iseek=63 bs=512 > count=2) All zeros. > dd if=/dev/stripe/raid0 iseek=63 bs=512 count=2 | hd -C 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 2+0 records in 2+0 records out 1024 bytes transferred in 0.004813 secs (212759 bytes/sec) 00000400 From owner-freebsd-geom@FreeBSD.ORG Tue Sep 29 07:42:39 2009 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 E30441065670 for ; Tue, 29 Sep 2009 07:42:39 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id 6F6EA8FC12 for ; Tue, 29 Sep 2009 07:42:39 +0000 (UTC) Received: by ewy5 with SMTP id 5so3746324ewy.36 for ; Tue, 29 Sep 2009 00:42:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=l2RkCPoSzCNsgOw6oL5JlHEFvHJ1z5kAAPIm5UySO6E=; b=RsoQSk1Mg5DyDgtO4PTM517vUwWCGKvOAnNNUO11UtrVCHhs3HM60QMDzqtw6C9stx 8jLxRa5l7qRjfx5TRrtmF+uQgE6pMRgFPshWOia6yhnurvaPiU3IMYTkcX2moMmakVjh XURfdR2g/++i5tQJ07+ulGWhYF5LaRj+NceiE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=YQkLkTeQvchXwKBKmUjQAfeCI6c4z4rldwFuCe6wI5IXyesQKsfoblT+yLeaeYNS4o VqD8FnctG7yqpR7qvORYBUggRomJgz9J34JeW3GOx7jC0yip1wqUEvS0+YygMxkzAQsm GvNwwj96x2S5o2nJuv64k4hl18+EekixChgPQ= MIME-Version: 1.0 Received: by 10.211.157.7 with SMTP id j7mr4828904ebo.2.1254208774140; Tue, 29 Sep 2009 00:19:34 -0700 (PDT) Date: Tue, 29 Sep 2009 03:19:34 -0400 Message-ID: From: grarpamp To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: bsdlabel, vnode_pager 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, 29 Sep 2009 07:42:40 -0000 Updated a box from RELENG_7 to RELENG_8 yesterday... make buildworld, installworld, mergemaster, boot0cfg -Bv ad0, bsdlabel -B ad0s1. When using bsdlabel I get this from this file: src/sys/geom/geom_ctl.c:442: Class not found this happens I think when bsdlabel refuses to write anything. So I boot in boot -sv, I get this after it writes to disk: vnode_pager_getpages: I/O read error then even with simple sync I get: sync: Input/output error Although I've got the shell prompt still, any attempt to do anything fails due to the above. /sbin/reboot doesn't work, requiring powerdown. After that things come back fine and I think I'm running on the new boot0 and slice code. It only wigs out after bsdlabel is able to write something. At various times under RELENG_7 I used these two names in bsdlabel, just like '4.2BSD' is used to mark the partition's usage in bsdlabel. At some point I reverted them to unused as it seemed to have once solved the Class issue combined with not being able to edit the bsdlabel with bsdlabel. ZFS is obvious, unknown was to mark ufs or raw data slices that should not have any system tools looking inside it at at any time. /usr/include/sys/disklabel.h: #define FS_OTHER 10 /* in use, but unknown/unsupported */ #define FS_ZFS 27 /* Sun's ZFS */ #ifdef FSTYPENAMES static const char *fstypenames[] = { 'unknown' 'ZFS' This is currently repeatable with: boot -sv, bsdlabel -B ad0s1. Hopefully someone else will see it on their box as I'm not really set up to debug. Also, I hate CHS addressing, too many chances for operator off by one, or a dozen :) So whoever was thinking of removing it from toolsets ala: fdisk, has my full second on that motion :) Though wasn't there something about beginning/ending on proper boundaries for full stripe read/writes, performance or configuration or something like that? How does one know that with only LBA? Or is it superstition? Thx. # bsdlabel ad0s1 # /dev/ad0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 786432 0 4.2BSD 0 0 0 b: 131072 786432 unused 0 0 c: 6421905 0 unused 0 0 # "raw" part, don't edit d: 262144 917504 unused 0 0 e: 131072 1179648 unused 0 0 f: 1310720 1310720 4.2BSD 0 0 0 g: 3538944 2621440 4.2BSD 0 0 0 h: 261521 6160384 unused 0 0 # gpart show => 63 17803359 ad0 MBR (8.5G) 63 6421905 1 freebsd [active] (3.1G) 6421968 11381328 2 freebsd (5.4G) 17803296 126 - free - (63K) => 0 6421905 ad0s1 BSD (3.1G) 0 786432 1 freebsd-ufs (384M) 786432 131072 2 !0 (64M) 917504 262144 4 !0 (128M) 1179648 131072 5 !0 (64M) 1310720 1310720 6 freebsd-ufs (640M) 2621440 3538944 7 freebsd-ufs (1.7G) 6160384 261521 8 !0 (128M) # fdisk ad0 ******* Working on device /dev/ad0 ******* parameters extracted from in-core disklabel are: cylinders=17662 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=17662 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 6421905 (3135 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 15/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 6421968, size 11381328 (5557 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 15/ sector 63 The data for partition 3 is: The data for partition 4 is: From owner-freebsd-geom@FreeBSD.ORG Tue Sep 29 08:23:57 2009 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 B9B9A1065670 for ; Tue, 29 Sep 2009 08:23:57 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 71A7B8FC12 for ; Tue, 29 Sep 2009 08:23:56 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MsY03-0002lV-GO for freebsd-geom@freebsd.org; Tue, 29 Sep 2009 10:23:55 +0200 Received: from 93-141-36-13.adsl.net.t-com.hr ([93.141.36.13]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Sep 2009 10:23:55 +0200 Received: from ivoras by 93-141-36-13.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Sep 2009 10:23:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Tue, 29 Sep 2009 10:23:29 +0200 Lines: 45 Message-ID: References: <20090923165459.GA95498@crosswinds.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF794918B7CFEA694C8255077" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 93-141-36-13.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <20090923165459.GA95498@crosswinds.net> X-Enigmail-Version: 0.96.0 Sender: news Subject: Re: Mirrors and Stripes and Bad Disks, Oh My 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, 29 Sep 2009 08:23:57 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF794918B7CFEA694C8255077 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Tony Holmes wrote: > 1. Bring up the system in single user mode. > 2. Destroy gm0 (with ad4 and ad8) > 3. Recreate gm0 with ad4 only > 4. Break ad10 out of the gm1 mirror pair - this way during recovery I=20 > can build another copy of the stripe using ad8/ad10 if I need it.=20 > I expect to hit bad sectors on the copy off. I also do expect lost > files/data if I have to go this route due to the time that ad8 was n= ot > mirrored. > Will this give me gm0 with a master ad4? Yes. > If I am able to recreate the stripe with identical parameters, will the= > file system be visible. Yes. Don't touch anything else, though (like simultaneously updating to another FreeBSD version, etc...) --------------enigF794918B7CFEA694C8255077 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.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkrBxAEACgkQldnAQVacBcjQkgCgj/+pzV/Vv8XGYIFw3BEZ4SGN Nk4AnA4J4nV90uZzcu+s02XXe+TOEVJv =ikaX -----END PGP SIGNATURE----- --------------enigF794918B7CFEA694C8255077-- From owner-freebsd-geom@FreeBSD.ORG Wed Sep 30 23:35:05 2009 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 C4672106566B for ; Wed, 30 Sep 2009 23:35:05 +0000 (UTC) (envelope-from dnaeon@gmail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 56F1E8FC15 for ; Wed, 30 Sep 2009 23:35:04 +0000 (UTC) Received: by fxm22 with SMTP id 22so2361299fxm.36 for ; Wed, 30 Sep 2009 16:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=0+/YlNNo8DcupH7QzUHr1J3z56xPu6+E2tqiSteHG0c=; b=pDgt89oHIUb6Ov84ZUVaXFUmczC9lBnSq6XjQl7X/PEzwYZJggjKu/BiAraTslLLdb efwHqITLADbszhUs9/6v0DqebxWZ9s2pwSJ35OhAnrmflNiSUGXa+xpeOZjsMe68TiUO vEVrcDU6yBGq+lOn0JRhW0W1swFAo34ysZJG0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=s317B1Lv+/P81MCM+W6b/jgP1D9hgdBQN8z3nKmjQfT6R3VXDeSmpV9hdQGOEpMsFn CXcv/uwknhT7vxQZKO6rVUaDjsPkvIScJe4u9anZ5l3/X/DX8RHFcmTmlxl5qMKZzbA1 taUq12Wn771cM/4daYyL7ZaJw8T3dVcXcjRCA= Received: by 10.86.192.34 with SMTP id p34mr525613fgf.28.1254351889608; Wed, 30 Sep 2009 16:04:49 -0700 (PDT) Received: from tsunami.bsdworld (unix-heaven.org [95.111.44.219]) by mx.google.com with ESMTPS id e11sm79097fga.3.2009.09.30.16.04.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 30 Sep 2009 16:04:49 -0700 (PDT) Message-ID: <4AC3E432.9010603@gmail.com> Date: Thu, 01 Oct 2009 02:05:22 +0300 From: Marin Atanasov User-Agent: Thunderbird 2.0.0.23 (X11/20090906) MIME-Version: 1.0 To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: gmirror issue? 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: Wed, 30 Sep 2009 23:35:05 -0000 Hi, I was doing some tests under 8.0-RC1 and noticed that when I set-up a root partition with gmirror, after the first reboot with the new mirrored root partition the system is not able to continue the boot process. The error message that is being printed is this: pid 63 (swapon), uid 0: exited on signal 11 .... pid 65: (fsck), uid 0: exited on signal 11 Segmentation fault Unknown error; help! ERROR: ABORTING BOOT (sending SIGTERM to parent)! The full details about the implementation setup I'm using with gmirror/gvinum are described here: http://www.daemonforums.org/showthread.php?p=27010#post27010 Regards, Marin From owner-freebsd-geom@FreeBSD.ORG Thu Oct 1 06:27:04 2009 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 6E9EE106566B for ; Thu, 1 Oct 2009 06:27:04 +0000 (UTC) (envelope-from dnaeon@gmail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id F3D958FC0C for ; Thu, 1 Oct 2009 06:27:03 +0000 (UTC) Received: by fxm22 with SMTP id 22so2550811fxm.36 for ; Wed, 30 Sep 2009 23:27:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=ZbrLB9/1eIBXOE1aineZplWDapLpyWFu9O4YOhw4PEI=; b=xwmdm2BlAIFmusc4MNa5Yn8fn7udQiJPInP0UcpALlAnhMaLG/GOapYPWMj+6o4Rti jHXWd/9Wc/qJ8a7csq42qFf66Hg9zJ2HrRu4Y7kVUzj3R5iNFgIGvQDB5USb9m7pGYVA ewEbHXKG6sxtWWiNWsJpO/9MtAD+e8l0G+PrE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=WucU2wMdJLYjNk4ONR8UTnIni3mucDoumFegEm70J7D0RczHRwnyvQgWx/1CyEG53U 7/CuaYHYL7nHiwL4jYlajQh+TlRqokAa+Vvc6TnipjDTj37PiMyHzMlP7lkuRWsFLAwb N0TVi9eZKCCSCEB2Bt5MN5ET20hi2Y5s2POyw= Received: by 10.86.8.36 with SMTP id 36mr838691fgh.7.1254378422781; Wed, 30 Sep 2009 23:27:02 -0700 (PDT) Received: from tsunami.bsdworld (unix-heaven.org [95.111.44.219]) by mx.google.com with ESMTPS id l19sm1064221fgb.2.2009.09.30.23.27.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 30 Sep 2009 23:27:00 -0700 (PDT) Message-ID: <4AC44BD6.9090308@gmail.com> Date: Thu, 01 Oct 2009 09:27:34 +0300 From: Marin Atanasov User-Agent: Thunderbird 2.0.0.23 (X11/20090906) MIME-Version: 1.0 To: freebsd-geom@freebsd.org References: <4AC3E432.9010603@gmail.com> In-Reply-To: <4AC3E432.9010603@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: gmirror issue? 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, 01 Oct 2009 06:27:04 -0000 Marin Atanasov wrote: > Hi, > > I was doing some tests under 8.0-RC1 and noticed that when I set-up a > root partition with gmirror, after the first reboot with the new > mirrored root partition the system is not able to continue the boot > process. > > The error message that is being printed is this: > > pid 63 (swapon), uid 0: exited on signal 11 > .... > pid 65: (fsck), uid 0: exited on signal 11 > Segmentation fault > Unknown error; help! > ERROR: ABORTING BOOT (sending SIGTERM to parent)! > > > The full details about the implementation setup I'm using with > gmirror/gvinum are described here: > http://www.daemonforums.org/showthread.php?p=27010#post27010 > > Regards, > Marin > Forgot to mention that this error only occurs the first time you boot into your 8.0-RC1 system, after when you have set-up root with the new mirror filesystem. This does not apply for 7.2 Also the real issue for this is that /etc/fstab contains one new line at the end of the file like this: ^@^@^@^@ Removing that line fixes this. Another thing that I've noticed is that /boot/loader.conf content it missing. Needs to be re-created again. And then you can boot into your mirrored root partition. Does anyone know why these happen - I mean the strange entry in fstab and the empty loader.conf files? Regards, Marin From owner-freebsd-geom@FreeBSD.ORG Sat Oct 3 14:09:44 2009 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 5F15A106566B for ; Sat, 3 Oct 2009 14:09:44 +0000 (UTC) (envelope-from infjb@yahoo.de) Received: from web28202.mail.ukl.yahoo.com (web28202.mail.ukl.yahoo.com [87.248.110.91]) by mx1.freebsd.org (Postfix) with SMTP id C77548FC08 for ; Sat, 3 Oct 2009 14:09:43 +0000 (UTC) Received: (qmail 5935 invoked by uid 60001); 3 Oct 2009 13:43:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1254577381; bh=HIDcUB0eDmv0BNy7jrpqwh7HFDKR9tvqB53oG9LF8Pw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=CzzFSdKl3OrKWO1QOpdMGSNbIk2ZskcfKlu1A28MGgmKNJGh74nwnyoIJdBbnEL+TOQdPmpIApYGHo0sQO5Lk84O8OiipSF2scKWIFsXH2o30V0LBKCRta4HWOLqfAId7wRcGVQIEZo/Eousxpp6U0fbUx1u4iLanTn5rb4mxj4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=38+PsFTRgjNqg8OE+8QnQBFIAJXINVmdLFi477zP+/TOecd0amaqdyMRbdIjjGuK5VLHlfmvZ1DesobE/tQRypBRDveraplHtOgP98lD/w20ddGOTN4yiwkTsaZ5r50JEduswhLrtVCrbteHkyDnG9dNDf6P5RMv8aNOP5sOFCI=; Message-ID: <469001.5449.qm@web28202.mail.ukl.yahoo.com> X-YMail-OSG: Y2bfwWUVM1mPR7NE1B573910QBXFNGCPvhMZtOS1n8r1nlqFpwiPBcNzXvq.cZVVn64Hb3cLVL.i76QygIJaj1r_qmvuD5793DtlQwKEqiqrBAqAm4lEZWcntVhfljR8X1smlLJCltwSYvTYo1zvouBatTRrl8W_Zgo2mRxbzx2pEJLeibyMPbh6Y51L0uBv5mxVZ3Q_FAgcXy8lpiM_kvlD8yf4LPKN1Imok9tBzjN4PAt.yDb7vyGfBql4iuxvtG.eRzUFa79IWi8mW48Eb.loyyQ83aWbfgjrP5A- Received: from [84.133.251.178] by web28202.mail.ukl.yahoo.com via HTTP; Sat, 03 Oct 2009 06:43:01 PDT X-Mailer: YahooMailClassic/7.0.14 YahooMailWebService/0.7.347.3 Date: Sat, 3 Oct 2009 06:43:01 -0700 (PDT) From: Frank Beckmann To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Virstor provider lost metadata. Rescue possible? 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, 03 Oct 2009 14:09:44 -0000 Hello,=0A=0Aone of my virstor providers lost its metadata. It looks like th= e sector got filled with random data. it is the second last filled sector i= n that virstor. Executing the command "gvirstor list", "gvirstor status" or= "sysctl -a" resulted in a kernel panic.=0A=0AI handcrafted the destroyed s= ector assuming that all chunks of that provider were used and setting the f= lags to 0. Now the kernel doesn't panic anymore but I get the error message= :=0A=0AGEOM_VIRSTOR[1]: virstor_check_and_run: Invalid entry 100542 in map = for vs3=0AGEOM_VIRSTOR[1]: virstor_check_and_run: provider_no: 25, n_compon= ents: 33 provider_chunk: 512, chunk_count 512=0A=0AProvider 25 is the one w= hich lost its metadata.=0A=0AThe version of FreeBSD is: 7.2-RC1=0A=0AIs it = possible to revive that virstor to rescue some of its data?=0A=0AThanks for= any help.=0AFrank=0A=0A=0A