From owner-freebsd-questions@FreeBSD.ORG Wed Jun 25 12:58:35 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5744D902 for ; Wed, 25 Jun 2014 12:58:35 +0000 (UTC) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD91F24B7 for ; Wed, 25 Jun 2014 12:58:34 +0000 (UTC) Received: from becker.bs.l (e180009210.adsl.alicedsl.de [85.180.9.210]) by mrelayeu.kundenserver.de (node=mreue101) with ESMTP (Nemesis) id 0MZljq-1XFfTN1u1u-00LUKV; Wed, 25 Jun 2014 14:58:31 +0200 Received: from bsch by becker.bs.l with local (Exim 4.82 (FreeBSD)) (envelope-from ) id 1WzmmU-0000Vh-9Z for freebsd-questions@freebsd.org; Wed, 25 Jun 2014 14:58:30 +0200 Date: Wed, 25 Jun 2014 14:58:30 +0200 From: Bertram Scharpf To: freebsd-questions@freebsd.org Subject: 10.0 bsdlabel returns an error Message-ID: <20140625125830.GA1329@becker.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: Bertram Scharpf X-Provags-ID: V02:K0:LBu+3k8yasVvRL3VKE5jmR2IGfi7EI1ojSW0b1ls5Gi Px19B4dxLt8az4GyozUuwsBdQJh+aAlDInRPr0XG7bMWLh5O/b nccp1F/hBW9+oehgSrop2FpBSuuU6pwdoReO8lOxQSagNV207d vDhcYjoDMXymphQ8/1I0eJjaHGlB9MGPJS4Tk7ch4Qu6r9neFO PbIZuZFu4MLBPpYexjCYDcSQK+fBPnOiuRqpKC1yTep2/yewc1 9IjXG2kaCMrcpHWGX9LlU1vj4tJfhghyAd4LPoHys7O9C5kFcY lB0RtoTfeDFuSiqDbi1701jWePReZjp12YnI6G7704oKa7shAx pj0O54pekCYVjAUBlK6W5bVBMiLGkJvAyxintaTqf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2014 12:58:35 -0000 Hi, I tried to find out how large the partitions on my main hard disk are. But then: # bsdlabel ada0s2 bsdlabel: /dev/ada0s2 read: Invalid argument # bsdlabel ada0s3 bsdlabel: /dev/ada0s3 read: Invalid argument # uname -rs FreeBSD 10.0-STABLE # mount | grep ada0s2 | wc -l 0 I remembered that I solved an earlier label issue on an other machine by booting 9.2 from a USB stick. This helped me here, too. Still, I want to know why the 10.0 "bsdlabel" doesn't work. By the way, the problem doesn't occur on the USB drive. Here's the entries of both hard disks in "dmesg": ada0 at ahcich1 bus 0 scbus3 target 0 lun 0 da0 at umass-sim0 bus 0 scbus9 target 0 lun 0 How can I at least debug this problem? Thanks in advance, Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de