Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2003 13:46:52 +0300
From:      Petri Helenius <pete@he.iki.fi>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: bsdlabel warnings
Message-ID:  <3F27A21C.9060302@he.iki.fi>
In-Reply-To: <98431.1059560459@critter.freebsd.dk>
References:  <98431.1059560459@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote:

>In message <006501c35683$ffec3300$812a40c1@PETEX31>, "Petri Helenius" writes:
>  
>
>>Is this normal that multiple installations of 5.1-RELEASE complain 
>>when running bsdlabel:
>># /dev/ad0s1:
>>8 partitions:
>>#        size   offset    fstype   [fsize bsize bps/cpg]
>> a:   524288       63    4.2BSD     2048 16384 32776 
>> b:  4194304   524351      swap                    
>> c: 39102273       63    unused        0     0         # "raw" part, don't edit
>> d:  1048576  4718655    4.2BSD     2048 16384     8 
>> e: 33335105  5767231    4.2BSD     2048 16384 28552 
>>partition c: partition extends past end of unit
>>bsdlabel: partition c doesn't start at 0!
>>bsdlabel: An incorrect partition c may cause problems for standard system utilities
>>partition e: partition extends past end of unit
>>
>>This does not seem to happen if the disk has been labeled by previous 
>>versions and upgraded from source.
>>    
>>
>
>That sounds interesting.  Can you send me the outout of:
>
>	diskinfo /dev/ad0*
>	sysctl -b kern.geom.confxml
>
>  
>
I have more than one machine which seems to have this, but there is one 
set of
outputs;

/dev/ad0        512     20020396032     39102336        38792   16      63
/dev/ad0s1      512     20020363776     39102273        38791   16      63
/dev/ad0s1a     512     268435456       524288  520     16      63
/dev/ad0s1b     512     2147483648      4194304 4161    16      63
/dev/ad0s1c     512     20020363776     39102273        38791   16      63
/dev/ad0s1d     512     536870912       1048576 1040    16      63
/dev/ad0s1e     512     17067573760     33335105        33070   16      63
<mesh>
  <class id="0xc052dba0">
    <name>DEV</name>
    <geom id="0xc63e2480">
      <class ref="0xc052dba0"/>
      <name>ad0s1e</name>
      <rank>4</rank>
        <consumer id="0xc62379c0">
          <geom ref="0xc63e2480"/>
          <provider ref="0xc63e3d00"/>
          <mode>r1w1e0</mode>
        </consumer>
    </geom>
    <geom id="0xc63e3d80">
      <class ref="0xc052dba0"/>
      <name>ad0s1d</name>
      <rank>4</rank>
        <consumer id="0xc6237b00">
          <geom ref="0xc63e3d80"/>
          <provider ref="0xc63e3880"/>
          <mode>r1w1e0</mode>
        </consumer>
    </geom>
    <geom id="0xc6415000">
      <class ref="0xc052dba0"/>
      <name>ad0s1c</name>
      <rank>4</rank>
        <consumer id="0xc6237c00">
          <geom ref="0xc6415000"/>
          <provider ref="0xc63e3980"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
    <geom id="0xc63e3b00">
      <class ref="0xc052dba0"/>
      <name>ad0s1b</name>
      <rank>4</rank>
        <consumer id="0xc6237d40">
          <geom ref="0xc63e3b00"/>
          <provider ref="0xc63e3a80"/>
          <mode>r1w1e0</mode>
        </consumer>
    </geom>
    <geom id="0xc63e3e00">
      <class ref="0xc052dba0"/>
      <name>ad0s1a</name>
      <rank>4</rank>
        <consumer id="0xc6237e40">
          <geom ref="0xc63e3e00"/>
          <provider ref="0xc63e3b80"/>
          <mode>r1w1e0</mode>
        </consumer>
    </geom>
    <geom id="0xc63e3e80">
      <class ref="0xc052dba0"/>
      <name>ad0s1</name>
      <rank>3</rank>
        <consumer id="0xc641c000">
          <geom ref="0xc63e3e80"/>
          <provider ref="0xc6415080"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
    <geom id="0xc63e2400">
      <class ref="0xc052dba0"/>
      <name>ad0</name>
      <rank>2</rank>
        <consumer id="0xc6221d00">
          <geom ref="0xc63e2400"/>
          <provider ref="0xc63e2500"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
  </class>
  <class id="0xc0570e60">
    <name>MBREXT</name>
  </class>
  <class id="0xc0570e20">
    <name>MBR</name>
    <geom id="0xc63e2380">
      <class ref="0xc0570e20"/>
      <name>ad0</name>
      <rank>2</rank>
      <config>
      </config>
        <consumer id="0xc6221c80">
          <geom ref="0xc63e2380"/>
          <provider ref="0xc63e2500"/>
          <mode>r4w4e2</mode>
          <config>
          </config>
        </consumer>
        <provider id="0xc6415080">
          <geom ref="0xc63e2380"/>
          <mode>r4w4e1</mode>
          <name>ad0s1</name>
          <mediasize>20020363776</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>0</index>
            <length>20020363776</length>
            <seclength>39102273</seclength>
            <offset>32256</offset>
            <secoffset>63</secoffset>
            <type>165</type>
          </config>
        </provider>
    </geom>
  </class>
  <class id="0xc0570d60">
    <name>BSD</name>
    <geom id="0xc63e3c00">
      <class ref="0xc0570d60"/>
      <name>ad0s1</name>
      <rank>3</rank>
      <config>
        <labeloffset>512</labeloffset>
        <rawoffset>32256</rawoffset>
        <mbroffset>32256</mbroffset>
      </config>
        <consumer id="0xc6237ec0">
          <geom ref="0xc63e3c00"/>
          <provider ref="0xc6415080"/>
          <mode>r4w4e1</mode>
          <config>
          </config>
        </consumer>
        <provider id="0xc63e3d00">
          <geom ref="0xc63e3c00"/>
          <mode>r1w1e0</mode>
          <name>ad0s1e</name>
          <mediasize>17067573760</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>4</index>
            <length>17067573760</length>
            <seclength>33335105</seclength>
            <offset>2952790016</offset>
            <secoffset>5767168</secoffset>
            <type>7</type>
          </config>
        </provider>
        <provider id="0xc63e3880">
          <geom ref="0xc63e3c00"/>
          <mode>r1w1e0</mode>
          <name>ad0s1d</name>
          <mediasize>536870912</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>3</index>
            <length>536870912</length>
            <seclength>1048576</seclength>
            <offset>2415919104</offset>
            <secoffset>4718592</secoffset>
            <type>7</type>
          </config>
        </provider>
        <provider id="0xc63e3980">
          <geom ref="0xc63e3c00"/>
          <mode>r0w0e0</mode>
          <name>ad0s1c</name>
          <mediasize>20020363776</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>2</index>
            <length>20020363776</length>
            <seclength>39102273</seclength>
            <offset>0</offset>
            <secoffset>0</secoffset>
            <type>0</type>
          </config>
        </provider>
        <provider id="0xc63e3a80">
          <geom ref="0xc63e3c00"/>
          <mode>r1w1e0</mode>
          <name>ad0s1b</name>
          <mediasize>2147483648</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>1</index>
            <length>2147483648</length>
            <seclength>4194304</seclength>
            <offset>268435456</offset>
            <secoffset>524288</secoffset>
            <type>1</type>
          </config>
        </provider>
        <provider id="0xc63e3b80">
          <geom ref="0xc63e3c00"/>
          <mode>r1w1e0</mode>
          <name>ad0s1a</name>
          <mediasize>268435456</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>0</index>
            <length>268435456</length>
            <seclength>524288</seclength>
            <offset>0</offset>
            <secoffset>0</secoffset>
            <type>7</type>
          </config>
        </provider>
    </geom>
  </class>
  <class id="0xc0511fa0">
    <name>MD</name>
  </class>
  <class id="0xc052dc00">
    <name>DISK</name>
    <geom id="0xc63e2580">
      <class ref="0xc052dc00"/>
      <name>ad0</name>
      <rank>1</rank>
      <config>
      </config>
        <provider id="0xc63e2500">
          <geom ref="0xc63e2580"/>
          <mode>r4w4e2</mode>
          <name>ad0</name>
          <mediasize>20020396032</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <fwheads>16</fwheads>
            <fwsectors>63</fwsectors>
          </config>
        </provider>
    </geom>
  </class>
</mesh>





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