From owner-freebsd-geom@FreeBSD.ORG Tue Nov 13 14:28:32 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 E2DA816A540 for ; Tue, 13 Nov 2007 14:28:32 +0000 (UTC) (envelope-from bsd@fluffles.net) Received: from mail.fluffles.net (fluffles.net [80.69.95.190]) by mx1.freebsd.org (Postfix) with ESMTP id 0C14513C4C1 for ; Tue, 13 Nov 2007 14:28:30 +0000 (UTC) (envelope-from bsd@fluffles.net) Received: from [10.0.0.18] (82-169-78-205.ip.tiscali.nl [82.169.78.205]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: info@fluffles.net) by mail.fluffles.net (Postfix) with ESMTP id 8CFC3B29D65; Tue, 13 Nov 2007 12:53:30 +0100 (CET) Message-ID: <473990B5.50408@fluffles.net> Date: Tue, 13 Nov 2007 12:55:33 +0100 From: "fluffles.net" 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-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Arne Woerner Subject: Bug in gnop utility? 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, 13 Nov 2007 14:28:33 -0000 Hello list, I'm building offline capacity expansion support for geom_raid5, allowing people to add disks to an existing array, preserving all data on it. Currently i'm having a strange problem with GNOP, as it is refusing a command while i think the command is correct: # gnop create -s 320072914432 ad18a gnop: Invalid 'size' argument # diskinfo -v /dev/ad18a /dev/ad18a 512 # sectorsize 320072914944 # mediasize in bytes (298G) 625142412 # mediasize in sectors The size argument is exactly 512 bytes shorter than the device (ad18a), just as it should be. Maybe gnop has integer range limitations which prevent it from accepting this large number? That would be quite a disappointment, though. Any way i can workaround this? I need gnop for expansion. I'm running 7.0-BETA2 on AMD64. Though i need expansion working on i386 too. Any replies or suggestions are appreciated. Thanks! - Veronica