From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 20 10:48:09 2013 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DA4C664B for ; Wed, 20 Feb 2013 10:48:09 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-bk0-f46.google.com (mail-bk0-f46.google.com [209.85.214.46]) by mx1.freebsd.org (Postfix) with ESMTP id 768C662F for ; Wed, 20 Feb 2013 10:48:09 +0000 (UTC) Received: by mail-bk0-f46.google.com with SMTP id j5so3579560bkw.19 for ; Wed, 20 Feb 2013 02:48:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:from:to:subject:date:content-type :content-transfer-encoding:x-mailer; bh=aVHxmGbSJx6aGNTsL4JmUJm457MoRCtuT0QlrruwySE=; b=qWbU9cD9UuHp5OLy/LhUl4AQrujt0+2qrvlkqdJR1qY5vxlGmwSCVtEUtBJgnjt4Zq gP2xyMkMWxiBJy4IfwHqN5OnUAijfMRffO8B6u9iSjMLRxJ9wjb8eCE7wcXy2gdpgj0z yKXhGXT7J1V8JQ1EZkEPwrfNG56HeDS4i//fy/dPpt5Y2WuZgd/jpf3/BrWZKGSlkLGv VNEsQZUt7E7/vZFBPap1pZsaSA45uhly4UqEUn8EfXlM3cfCpeA+kL5EtfS+nb+Yqp1o RQxbF3wJi3d/K6ACZqhNyQT1jiF7zM/S99Byylfu0vo7VQDyr8uuajDVCNlW4aB/1JwA kPAg== X-Received: by 10.204.8.71 with SMTP id g7mr8155905bkg.118.1361357288396; Wed, 20 Feb 2013 02:48:08 -0800 (PST) Received: from DOMYPC ([82.193.208.225]) by mx.google.com with ESMTPS id z6sm4634710bkv.11.2013.02.20.02.48.06 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 20 Feb 2013 02:48:07 -0800 (PST) Message-ID: <20130220.104806.647.1@DOMY-PC> From: rank1seeker@gmail.com To: hackers@freebsd.org Subject: gpart autofill Date: Wed, 20 Feb 2013 11:48:06 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable X-Mailer: POP Peeper (3.8.1.0) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2013 10:48:09 -0000 On target provider I had 20971440 free sectors, each of 512 B.=0D=0AThat = would be 10485720 kB, for a last slice.=0D=0A=0D=0AThis number is valid, = as it is splitable with 63, 8, 4 and 2, without any = residue.=0D=0A=0D=0ASo, upon attempt to add that slice, I = get:=0D=0A--=0D=0Agpart: autofill: No space left on device = =0D=0A--=0D=0A=0D=0ATried both '-s 10485720k' and '-s = 20971440'=0D=0AFinally, ommiting -s flag, just to see what gpart wants to = do, worked.=0D=0AIt added slice by leaving last 63 sectors = free.=0D=0A=0D=0AThose were supposed to be a part of a = slice.=0D=0A=0D=0AI.e; If provider had 20971455 free sectors, then slice = would be 20971440 of sector size and last 15 sectors would be left = free.=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6