From owner-freebsd-questions@FreeBSD.ORG Wed Jun 25 13:05:11 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 80864A74 for ; Wed, 25 Jun 2014 13:05:11 +0000 (UTC) Received: from relaygateway01.edpnet.net (relaygateway01.edpnet.net [212.71.1.210]) by mx1.freebsd.org (Postfix) with ESMTP id 172A72587 for ; Wed, 25 Jun 2014 13:05:10 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: As8GAB3HqlPV26DE/2dsb2JhbABZgw1Sg0enIAaReoZtUwGBChd1hAMBAQEDAQEBASArCBgbCxgJEw4CAg8FEwEJCCwHBAEcBIgZDAmjM5gjhgAXhWOISAEBVhaCYTaBFgWXaIJoAYFGkiWDRDs1gQU X-IPAS-Result: As8GAB3HqlPV26DE/2dsb2JhbABZgw1Sg0enIAaReoZtUwGBChd1hAMBAQEDAQEBASArCBgbCxgJEw4CAg8FEwEJCCwHBAEcBIgZDAmjM5gjhgAXhWOISAEBVhaCYTaBFgWXaIJoAYFGkiWDRDs1gQU X-IronPort-AV: E=Sophos;i="5.01,546,1400018400"; d="scan'208";a="261226616" Received: from 213.219.160.196.adsl.dyn.edpnet.net (HELO mordor.lan) ([213.219.160.196]) by relaygateway01.edpnet.net with ESMTP/TLS/DHE-RSA-AES256-SHA; 25 Jun 2014 14:37:18 +0200 Date: Wed, 25 Jun 2014 15:03:59 +0200 From: Julien Cigar To: freebsd-questions@freebsd.org Subject: Re: 10.0 bsdlabel returns an error Message-ID: <20140625130359.GB94457@mordor.lan> References: <20140625125830.GA1329@becker.bs.l> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0ntfKIWw70PvrIHh" Content-Disposition: inline In-Reply-To: <20140625125830.GA1329@becker.bs.l> User-Agent: Mutt/1.5.23 (2014-03-12) 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 13:05:11 -0000 --0ntfKIWw70PvrIHh Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 25, 2014 at 02:58:30PM +0200, Bertram Scharpf wrote: > Hi, >=20 > I tried to find out how large the partitions on my main hard disk > are. But then: >=20 > # 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 >=20 > 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. bsdlabel is deprecated and should not be used anymore, use gpart instead >=20 > Still, I want to know why the 10.0 "bsdlabel" doesn't work. >=20 > By the way, the problem doesn't occur on the USB drive. > Here's the entries of both hard disks in "dmesg": >=20 > ada0 at ahcich1 bus 0 scbus3 target 0 lun 0 > da0 at umass-sim0 bus 0 scbus9 target 0 lun 0 >=20 > How can I at least debug this problem? >=20 > Thanks in advance, >=20 > Bertram >=20 >=20 > --=20 > Bertram Scharpf > Stuttgart, Deutschland/Germany > http://www.bertram-scharpf.de > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --0ntfKIWw70PvrIHh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCgAGBQJTqsi/AAoJEAi2KiTKQR5pFc0P/3qD8LxvyNtLqKsiijbKzVGC Fa1CRaFLfS2au9kpjGKwvcYnzXGWy7ao6TtvxozPagHx9uKo+ibjGiEJSGor+pHk 60IP08cwlSM6gF7rJAJs84DMZQtWGK6ytdn8MhS6hQaVsYZWwX/v5E56vxi1IE0J qNUpKogzj98pF6XFkFLgL/1u2wkkDND5O6jYokUs14lf4Cjzu/Qs0yNHAdd8IqPB XB12VBr7tW4Ylqkan2/onNniNZQiSSi5OoDcgn7yl57RlKj81Yq8GlD0d6EQbkTP 1afVwcRskkMCRPM9DBD5rHmEvoy6wlviljPS//h4f5VefloQZS2JQhTHsYaEDJZh 84/n5PdOs1PA4qQf8RtPOj8BDHlWUzsPUHR1TDC9kwNYyxntpBOuXsOwCCs0k8Nx EKJdqy/R6oeWzK+EdFUobnNnDC2z/bhFDgYMjo7rp4CJMQlXaaVoFY/NNYJbdfNE 2VREomqMelIoMrw7csKwNDENpygfKQ4u2Oym9vOMp+I9C5YxIp1TuZd70lp/K1ZC Qs1yUq3hmtiTe/Hs0rY4bfz+w8CMgWcjAcGuMYBf+pXGm7mJx/E/6GXI9FP7qY7Z heB/f+ATiKLr7bUl3P2umXRr9bCjCftxAPvzZj0U2NjKv3dnCg+pG4RWk3UT0XzD rarsNa9rdgPPG8xFI2+5 =02Xe -----END PGP SIGNATURE----- --0ntfKIWw70PvrIHh--