Re: GEOM oddity with verbose boot

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Fri, 19 Dec 2003 13:31:31 +0100
In message <20031219122146.GA3682_at_mail.evip.pl>, Wiktor Niesiobedzki writes:

>Just an observation:
>When I boot in verbose mode I get:
>GEOM: Configure ad6s1, start 32256 length 80026329600 end 80026361855
>GEOM: Configure ad6s1a, start 0 length 1073741824 end 1073741823
>GEOM: Configure ad6s1b, start 1073741824 length 1073741824 end 2147483647
>GEOM: Configure ad6s1c, start 0 length 80026329600 end 80026329599
>GEOM: Configure ad6s1d, start 2147483648 length 21474836480 end 23622320127
>GEOM: Configure ad6s1e, start 23622320128 length 56404009472 end 80026329599
>GEOM: Configure ad6s1da, start 8192 length 80026321408 end 80026329599
>GEOM: Configure ad6s1db, start 1073741824 length 1073741824 end 2147483647
>GEOM: Configure ad6s1dc, start 0 length 80026329600 end 80026329599
>GEOM: Configure ad6s1dd, start 0 length 1073741824 end 1073741823
>GEOM: Configure ad6s1de, start 2147483648 length 21474836480 end 23622320127
>
>Entries for ad6s1d* are the suspicous one.

You seem to have (most of) a valid BSD label in your ad6s1d parition.

Try 
	bsdlabel ad6s1d

I'm pretty sure it finds a label for you. 

>Wheter I boot verbose or not, the listing in /dev is the same:
># ls /dev/ad6*
>/dev/ad6
>/dev/ad6s1
>/dev/ad6s1a
>/dev/ad6s1b
>/dev/ad6s1c
>/dev/ad6s1d
>/dev/ad6s1e

When you open ad6s1d for writing (by mounting it) the BSDLABEL which
had attached gets spoiled so you don't see the entries in /dev
while it is mounted.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Fri Dec 19 2003 - 03:31:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:34 UTC