From owner-freebsd-current@FreeBSD.ORG Thu Apr 26 15:53:26 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3356E16A400 for ; Thu, 26 Apr 2007 15:53:26 +0000 (UTC) (envelope-from jazzhills@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx1.freebsd.org (Postfix) with ESMTP id E3C2013C45E for ; Thu, 26 Apr 2007 15:53:25 +0000 (UTC) (envelope-from jazzhills@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so295102ana for ; Thu, 26 Apr 2007 08:53:25 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Cl0HWeTH+tk2EAPaUFybMthJhNGl0ggedQ2+bEIPttxrdjJXKWpaRBc0QDCqYtAbV/ImKTibNAXbvzt7YuX6NvV1pSWN6uaIlmygWfYDGpBhhR+lYdmt/k4CNgL2mbgjcvSuoF3ObckrK3Hgyn+sjIKRVTi4IoB7UVOBorTIbPY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=r+84ny4asLG4PK5R+vLD32+790z/dHcTx7NXx8OTfJsGorYrnMq6TaJ/ZNB3IQwS29h0krNtmgFbswWXyxwp5nZgnSEht+XVzgoM9I2REx7Be/oq3XUUKd8+1nz7zai95tESyFSbc1oai58lVO3luUvvftDpPFFlr3JEAj/kz6c= Received: by 10.100.58.4 with SMTP id g4mr1185902ana.1177601046438; Thu, 26 Apr 2007 08:24:06 -0700 (PDT) Received: by 10.100.94.12 with HTTP; Thu, 26 Apr 2007 08:24:06 -0700 (PDT) Message-ID: <33910a2c0704260824y64691d87xc1e3488d43b8d81f@mail.gmail.com> Date: Thu, 26 Apr 2007 12:24:06 -0300 From: "Jason Hills" To: "Ivan Voras" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <33910a2c0704260533l5afcb1actacd3bf1980b46cfc@mail.gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: GVirstor Label problem on -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2007 15:53:26 -0000 > A possible reason could be that the virstor map is larger than your > physical storage (I think I don't have a check for this in the code > [yet]). How large is ad3s1d? Around 36G # disklabel ad3s1 # /dev/ad3s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 78156162 0 4.2BSD 2048 16384 28552 # "raw" part, don't edit d: 78156162 0 4.2BSD 2048 16384 28552 So I tried to make a smaller virtual storage, 40G: # ./gvirstor label -v -s 400000 mystor ad3s1d Resizing virtual size to fit virstor structures New virtual size: 400128 MB (32 new chunks) Total virtual chunks: 100032 (4 MB each), 400128 MB total virtual size. Clearing metadata on ad3s1d. Writing allocation table to ad3s1d... (0 MB, 1 chunks) Tried to write 800256, written 4294967295 (Operation not permitted) Error writing out allocation map! same thing -- Jazzie Hills