Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2014 15:03:59 +0200
From:      Julien Cigar <jcigar@ulb.ac.be>
To:        freebsd-questions@freebsd.org
Subject:   Re: 10.0 bsdlabel returns an error
Message-ID:  <20140625130359.GB94457@mordor.lan>
In-Reply-To: <20140625125830.GA1329@becker.bs.l>
References:  <20140625125830.GA1329@becker.bs.l>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140625130359.GB94457>