From owner-freebsd-questions@FreeBSD.ORG Thu Jan 28 03:19:29 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13A6F1065672 for ; Thu, 28 Jan 2010 03:19:29 +0000 (UTC) (envelope-from evuraan@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id E342F8FC0C for ; Thu, 28 Jan 2010 03:19:28 +0000 (UTC) Received: by pwi15 with SMTP id 15so194733pwi.3 for ; Wed, 27 Jan 2010 19:19:28 -0800 (PST) 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=+IfdLAATGBDT+xww6Ft2VXX5J9W+/RwyI/wxT9PvKkM=; b=h/ISmjXkl0KnhYBABjdKqDQIDkqR6rUoYa614Ddw2qfHnjLC/tAsWboFmoa1lNbeJ8 64hsQo3a1Wzs/EjYWttOjVN3dFS7rAlDFu30oL7jej1y8g+orcfv+crb+ukOjOsz0eDh 9FQ5SIEXL2FtvM6M+Y4bma4C2zPIOupFDsvk8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=xK8fXI1/KlMt/FX+WTI6va/u2k/QpRtp6tH/uW42RG+u81xP3dpEtxD/yFfyT1Zrv7 msOLNO3OCZIc/T8XEImpNSzxHd/DISBD85S57uUidSr8B+ndNBa2zgViHajh3IbBawbv MTJn0mBze7x10af8B/QPaeOsz7dOTQnCCxNrU= MIME-Version: 1.0 Received: by 10.142.66.40 with SMTP id o40mr805122wfa.262.1264648768599; Wed, 27 Jan 2010 19:19:28 -0800 (PST) Date: Wed, 27 Jan 2010 19:19:28 -0800 Message-ID: <6fbcd0711001271919x6da782dcs129014b3a550b0f1@mail.gmail.com> From: Evuraan To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: bsdlabel size mismatch X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2010 03:19:29 -0000 On a FreeBSD 7.2 machine, I've a ~1TB drive as /dev/da0: da0: 953664MB (1953103872 512 byte sectors: 255H 63S/T 121575C) the lone slice is of ~19G (per df) yet bsdlabel shows that it is spanning the entire drive. also notice how it says unused despite it really being an ufs FS. [root@evu ~]# df -h / Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 19G 1.2G 17G 7% / [root@evu ~]# bsdlabel /dev/da0s1 # /dev/da0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1953102296 16 unused 0 0 c: 1953102312 0 unused 0 0 # "raw" part, don't edit needless to say, i cannot edit and add a new partition as "a" seems to be spanning the entire disk according to bsdlabel at least. any advise on this would be much appreciated. I am looking to alloc a 16G swap, and add a couple of ufs filesystems to da0. many thanks in advance.