From owner-freebsd-geom@FreeBSD.ORG Tue Mar 23 00:10:05 2010 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 21C08106566C for ; Tue, 23 Mar 2010 00:10:05 +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 10C2A8FC17 for ; Tue, 23 Mar 2010 00:10:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2N0A4R8093401 for ; Tue, 23 Mar 2010 00:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2N0A4P7093400; Tue, 23 Mar 2010 00:10:04 GMT (envelope-from gnats) Date: Tue, 23 Mar 2010 00:10:04 GMT Message-Id: <201003230010.o2N0A4P7093400@freefall.freebsd.org> To: freebsd-geom@FreeBSD.org From: Alexander Best Cc: Subject: Re: kern/144962: [geom] panic when accessing GPT disk with a large number of entries X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Best List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2010 00:10:05 -0000 The following reply was made to PR kern/144962; it has been noted by GNATS. From: Alexander Best To: Cc: Bruce Cran Subject: Re: kern/144962: [geom] panic when accessing GPT disk with a large number of entries Date: Tue, 23 Mar 2010 01:09:01 +0100 (CET) tried this too under HEAD (r205390): `gpart create -s gpt -n 1000000 /dev/da0` gave me "gpart: provider: No space left on device" so i did `gpart create -s gpt -n 1000000 /dev/da0` instead which worked. reattaching the device caused no problem. when i tried to create a label with `glabel label usb da0` i got: GEOM: da0: the secondary GPT table is corrupt or invalid. GEOM: da0: using the primary only -- recovery suggested. GEOM: da0: the secondary GPT table is corrupt or invalid. GEOM: da0: using the primary only -- recovery suggested. GEOM: label/usb: the secondary GPT table is corrupt or invalid. GEOM: label/usb: using the primary only -- recovery suggested. seems -n 1000000 is not enough to fill up kernel virtual memory in my case. -- Alexander Best