Hi,
trying to disklabel new disks I get:

(nihil)(root) # disklabel -w -B da0s1 auto
(nihil)(root) # disklabel -r da0s1
# /dev/da0s1c:
type: unknown
disk: amnesiac
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 24792
sectors/unit: 398297025
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c: 398297025       63    unused        0     0        # (Cyl.    0*- 24792*)
partition c: partition extends past end of unit
Warning, partition c doesn't start at 0!
Warning, An incorrect partition c may cause problems for standard system utilities

(nihil)(root) # disklabel -e da0s1
# /dev/da0s1c:
type: unknown
disk: amnesiac
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 24792
sectors/unit: 398297025
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0       # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c: 398297025        0    unused        0     0        # (Cyl.    0 - 24792*)

Why?

sysctl -b kern.geom.confxml is attached

Bye!
----
Michael Reifenberger
^.*Plaut.*$, IT, R/3 Basis, GPS
<mesh>
  <class id="0xc02e8bc0">
    <name>DEV</name>
    <geom id="0xc2f9e980">
      <class ref="0xc02e8bc0"/>
      <name>md10c</name>
      <rank>3</rank>
        <consumer id="0xc2f9c580">
          <geom ref="0xc2f9e980"/>
          <provider ref="0xc2f9e800"/>
          <mode>r1w1e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2f9db80">
      <class ref="0xc02e8bc0"/>
      <name>md10</name>
      <rank>2</rank>
        <consumer id="0xc2f9c9c0">
          <geom ref="0xc2f9db80"/>
          <provider ref="0xc2f9ee80"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2de3100">
      <class ref="0xc02e8bc0"/>
      <name>da1s1c</name>
      <rank>4</rank>
        <consumer id="0xc2de86c0">
          <geom ref="0xc2de3100"/>
          <provider ref="0xc2de3300"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2cab600">
      <class ref="0xc02e8bc0"/>
      <name>da0s1c</name>
      <rank>4</rank>
        <consumer id="0xc2de8800">
          <geom ref="0xc2cab600"/>
          <provider ref="0xc2de2100"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2dd6f00">
      <class ref="0xc02e8bc0"/>
      <name>da1s1</name>
      <rank>3</rank>
        <consumer id="0xc2de8a00">
          <geom ref="0xc2dd6f00"/>
          <provider ref="0xc2dd6400"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2de3080">
      <class ref="0xc02e8bc0"/>
      <name>da0s1</name>
      <rank>3</rank>
        <consumer id="0xc2de8c00">
          <geom ref="0xc2de3080"/>
          <provider ref="0xc2de2d80"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2cab380">
      <class ref="0xc02e8bc0"/>
      <name>da1</name>
      <rank>2</rank>
        <consumer id="0xc2de8d80">
          <geom ref="0xc2cab380"/>
          <provider ref="0xc2cab480"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2de2a00">
      <class ref="0xc02e8bc0"/>
      <name>da0</name>
      <rank>2</rank>
        <consumer id="0xc2bb2b40">
          <geom ref="0xc2de2a00"/>
          <provider ref="0xc2de2900"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2de3480">
      <class ref="0xc02e8bc0"/>
      <name>ad1s3</name>
      <rank>3</rank>
        <consumer id="0xc2bb22c0">
          <geom ref="0xc2de3480"/>
          <provider ref="0xc2cacb00"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2cac980">
      <class ref="0xc02e8bc0"/>
      <name>ad1s2</name>
      <rank>3</rank>
        <consumer id="0xc2bb2200">
          <geom ref="0xc2cac980"/>
          <provider ref="0xc2cacb80"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2dd6b00">
      <class ref="0xc02e8bc0"/>
      <name>ad1s1</name>
      <rank>3</rank>
        <consumer id="0xc2bb2400">
          <geom ref="0xc2dd6b00"/>
          <provider ref="0xc2cacc00"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2dd6700">
      <class ref="0xc02e8bc0"/>
      <name>ad0s3d</name>
      <rank>4</rank>
        <consumer id="0xc2bc72c0">
          <geom ref="0xc2dd6700"/>
          <provider ref="0xc2cace00"/>
          <mode>r1w1e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2dd6300">
      <class ref="0xc02e8bc0"/>
      <name>ad0s3c</name>
      <rank>4</rank>
        <consumer id="0xc2bb2ac0">
          <geom ref="0xc2dd6300"/>
          <provider ref="0xc2cace80"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2cac880">
      <class ref="0xc02e8bc0"/>
      <name>ad0s3b</name>
      <rank>4</rank>
        <consumer id="0xc2bb2740">
          <geom ref="0xc2cac880"/>
          <provider ref="0xc2cacf00"/>
          <mode>r1w1e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2caca00">
      <class ref="0xc02e8bc0"/>
      <name>ad0s3a</name>
      <rank>4</rank>
        <consumer id="0xc2bb2a80">
          <geom ref="0xc2caca00"/>
          <provider ref="0xc2dd6000"/>
          <mode>r1w1e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2cacd80">
      <class ref="0xc02e8bc0"/>
      <name>ad1</name>
      <rank>2</rank>
        <consumer id="0xc2bb2180">
          <geom ref="0xc2cacd80"/>
          <provider ref="0xc2dd6a00"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2dd6380">
      <class ref="0xc02e8bc0"/>
      <name>ad0s3</name>
      <rank>3</rank>
        <consumer id="0xc2bb2480">
          <geom ref="0xc2dd6380"/>
          <provider ref="0xc2dd6b80"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2dd6680">
      <class ref="0xc02e8bc0"/>
      <name>ad0s2</name>
      <rank>3</rank>
        <consumer id="0xc2bb2700">
          <geom ref="0xc2dd6680"/>
          <provider ref="0xc2dd6c00"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2dd6980">
      <class ref="0xc02e8bc0"/>
      <name>ad0s1</name>
      <rank>3</rank>
        <consumer id="0xc2bb2840">
          <geom ref="0xc2dd6980"/>
          <provider ref="0xc2dd6c80"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2cab800">
      <class ref="0xc02e8bc0"/>
      <name>ad0</name>
      <rank>2</rank>
        <consumer id="0xc2bc71c0">
          <geom ref="0xc2cab800"/>
          <provider ref="0xc2cab880"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
    <geom id="0xc2caba00">
      <class ref="0xc02e8bc0"/>
      <name>geom.ctl</name>
      <rank>2</rank>
        <consumer id="0xc2bb2f40">
          <geom ref="0xc2caba00"/>
          <provider ref="0xc2caba80"/>
          <mode>r0w0e0</mode>
        </consumer>
    </geom>
  </class>
  <class id="0xc030f3a0">
    <name>MBREXT</name>
  </class>
  <class id="0xc03cb9c0">
    <name>MD</name>
    <geom id="0xc2f9e080">
      <class ref="0xc03cb9c0"/>
      <name>md10</name>
      <rank>1</rank>
        <provider id="0xc2f9ee80">
          <geom ref="0xc2f9e080"/>
          <mode>r1w1e1</mode>
          <name>md10</name>
          <mediasize>134217728</mediasize>
          <sectorsize>4096</sectorsize>
        </provider>
    </geom>
  </class>
  <class id="0xc030f360">
    <name>MBR</name>
    <geom id="0xc2cab280">
      <class ref="0xc030f360"/>
      <name>da1</name>
      <rank>2</rank>
      <config>
        <frontstuff>32256</frontstuff>
      </config>
        <consumer id="0xc2de8d00">
          <geom ref="0xc2cab280"/>
          <provider ref="0xc2cab480"/>
          <mode>r0w0e0</mode>
          <config>
          </config>
        </consumer>
        <provider id="0xc2dd6400">
          <geom ref="0xc2cab280"/>
          <mode>r0w0e0</mode>
          <name>da1s1</name>
          <mediasize>203928076800</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>0</index>
            <length>203928076800</length>
            <seclength>398297025</seclength>
            <offset>32256</offset>
            <secoffset>63</secoffset>
            <type>165</type>
          </config>
        </provider>
    </geom>
    <geom id="0xc2cab580">
      <class ref="0xc030f360"/>
      <name>da0</name>
      <rank>2</rank>
      <config>
        <frontstuff>32256</frontstuff>
      </config>
        <consumer id="0xc2bc7500">
          <geom ref="0xc2cab580"/>
          <provider ref="0xc2de2900"/>
          <mode>r0w0e0</mode>
          <config>
          </config>
        </consumer>
        <provider id="0xc2de2d80">
          <geom ref="0xc2cab580"/>
          <mode>r0w0e0</mode>
          <name>da0s1</name>
          <mediasize>203928076800</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>0</index>
            <length>203928076800</length>
            <seclength>398297025</seclength>
            <offset>32256</offset>
            <secoffset>63</secoffset>
            <type>165</type>
          </config>
        </provider>
    </geom>
    <geom id="0xc2cacd00">
      <class ref="0xc030f360"/>
      <name>ad1</name>
      <rank>2</rank>
      <config>
        <frontstuff>32256</frontstuff>
      </config>
        <consumer id="0xc2bb2100">
          <geom ref="0xc2cacd00"/>
          <provider ref="0xc2dd6a00"/>
          <mode>r0w0e0</mode>
          <config>
          </config>
        </consumer>
        <provider id="0xc2cacb00">
          <geom ref="0xc2cacd00"/>
          <mode>r0w0e0</mode>
          <name>ad1s3</name>
          <mediasize>29742612480</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>2</index>
            <length>29742612480</length>
            <seclength>58091040</seclength>
            <offset>2260500480</offset>
            <secoffset>4415040</secoffset>
            <type>131</type>
          </config>
        </provider>
        <provider id="0xc2cacb80">
          <geom ref="0xc2cacd00"/>
          <mode>r0w0e0</mode>
          <name>ad1s2</name>
          <mediasize>2152120320</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>1</index>
            <length>2152120320</length>
            <seclength>4203360</seclength>
            <offset>108380160</offset>
            <secoffset>211680</secoffset>
            <type>130</type>
          </config>
        </provider>
        <provider id="0xc2cacc00">
          <geom ref="0xc2cacd00"/>
          <mode>r0w0e0</mode>
          <name>ad1s1</name>
          <mediasize>108347904</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>0</index>
            <length>108347904</length>
            <seclength>211617</seclength>
            <offset>32256</offset>
            <secoffset>63</secoffset>
            <type>131</type>
          </config>
        </provider>
    </geom>
    <geom id="0xc2cab780">
      <class ref="0xc030f360"/>
      <name>ad0</name>
      <rank>2</rank>
      <config>
        <frontstuff>32256</frontstuff>
      </config>
        <consumer id="0xc2bc7240">
          <geom ref="0xc2cab780"/>
          <provider ref="0xc2cab880"/>
          <mode>r3w3e2</mode>
          <config>
          </config>
        </consumer>
        <provider id="0xc2dd6b80">
          <geom ref="0xc2cab780"/>
          <mode>r3w3e1</mode>
          <name>ad0s3</name>
          <mediasize>38521405440</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>2</index>
            <length>38521405440</length>
            <seclength>75237120</seclength>
            <offset>8391720960</offset>
            <secoffset>16390080</secoffset>
            <type>165</type>
          </config>
        </provider>
        <provider id="0xc2dd6c00">
          <geom ref="0xc2cab780"/>
          <mode>r0w0e0</mode>
          <name>ad0s2</name>
          <mediasize>1091543040</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>1</index>
            <length>1091543040</length>
            <seclength>2131920</seclength>
            <offset>46913126400</offset>
            <secoffset>91627200</secoffset>
            <type>28</type>
          </config>
        </provider>
        <provider id="0xc2dd6c80">
          <geom ref="0xc2cab780"/>
          <mode>r0w0e0</mode>
          <name>ad0s1</name>
          <mediasize>8391688704</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>0</index>
            <length>8391688704</length>
            <seclength>16390017</seclength>
            <offset>32256</offset>
            <secoffset>63</secoffset>
            <type>12</type>
          </config>
        </provider>
    </geom>
  </class>
  <class id="0xc030f2a0">
    <name>BSD</name>
    <geom id="0xc2fb8500">
      <class ref="0xc030f2a0"/>
      <name>md10</name>
      <rank>2</rank>
      <config>
        <frontstuff>65536</frontstuff>
        <labeloffset>4096</labeloffset>
        <rawoffset>0</rawoffset>
        <mbroffset>0</mbroffset>
      </config>
        <consumer id="0xc2f9ce80">
          <geom ref="0xc2fb8500"/>
          <provider ref="0xc2f9ee80"/>
          <mode>r1w1e1</mode>
          <config>
          </config>
        </consumer>
        <provider id="0xc2f9e800">
          <geom ref="0xc2fb8500"/>
          <mode>r1w1e0</mode>
          <name>md10c</name>
          <mediasize>134217728</mediasize>
          <sectorsize>4096</sectorsize>
          <config>
            <index>2</index>
            <length>134217728</length>
            <seclength>262144</seclength>
            <offset>0</offset>
            <secoffset>0</secoffset>
            <type>7</type>
          </config>
        </provider>
    </geom>
    <geom id="0xc2de3000">
      <class ref="0xc030f2a0"/>
      <name>da1s1</name>
      <rank>3</rank>
      <config>
        <frontstuff>8192</frontstuff>
        <labeloffset>512</labeloffset>
        <rawoffset>63</rawoffset>
        <mbroffset>32256</mbroffset>
      </config>
        <consumer id="0xc2de8880">
          <geom ref="0xc2de3000"/>
          <provider ref="0xc2dd6400"/>
          <mode>r0w0e0</mode>
          <config>
          </config>
        </consumer>
        <provider id="0xc2de3300">
          <geom ref="0xc2de3000"/>
          <mode>r0w0e0</mode>
          <name>da1s1c</name>
          <mediasize>203928076800</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>2</index>
            <length>203928076800</length>
            <seclength>398297025</seclength>
            <offset>0</offset>
            <secoffset>0</secoffset>
            <type>0</type>
          </config>
        </provider>
    </geom>
    <geom id="0xc2cab500">
      <class ref="0xc030f2a0"/>
      <name>da0s1</name>
      <rank>3</rank>
      <config>
        <frontstuff>8192</frontstuff>
        <labeloffset>512</labeloffset>
        <rawoffset>63</rawoffset>
        <mbroffset>32256</mbroffset>
      </config>
        <consumer id="0xc2de8a80">
          <geom ref="0xc2cab500"/>
          <provider ref="0xc2de2d80"/>
          <mode>r0w0e0</mode>
          <config>
          </config>
        </consumer>
        <provider id="0xc2de2100">
          <geom ref="0xc2cab500"/>
          <mode>r0w0e0</mode>
          <name>da0s1c</name>
          <mediasize>203928076800</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>2</index>
            <length>203928076800</length>
            <seclength>398297025</seclength>
            <offset>0</offset>
            <secoffset>0</secoffset>
            <type>0</type>
          </config>
        </provider>
    </geom>
    <geom id="0xc2dd6100">
      <class ref="0xc030f2a0"/>
      <name>ad0s3</name>
      <rank>3</rank>
      <config>
        <frontstuff>8192</frontstuff>
        <labeloffset>512</labeloffset>
        <rawoffset>16390080</rawoffset>
        <mbroffset>8391720960</mbroffset>
      </config>
        <consumer id="0xc2bb2300">
          <geom ref="0xc2dd6100"/>
          <provider ref="0xc2dd6b80"/>
          <mode>r3w3e1</mode>
          <config>
          </config>
        </consumer>
        <provider id="0xc2cace00">
          <geom ref="0xc2dd6100"/>
          <mode>r1w1e0</mode>
          <name>ad0s3d</name>
          <mediasize>36059348992</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>3</index>
            <length>36059348992</length>
            <seclength>70428416</seclength>
            <offset>2462056448</offset>
            <secoffset>4808704</secoffset>
            <type>7</type>
          </config>
        </provider>
        <provider id="0xc2cace80">
          <geom ref="0xc2dd6100"/>
          <mode>r0w0e0</mode>
          <name>ad0s3c</name>
          <mediasize>38521405440</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>2</index>
            <length>38521405440</length>
            <seclength>75237120</seclength>
            <offset>0</offset>
            <secoffset>0</secoffset>
            <type>0</type>
          </config>
        </provider>
        <provider id="0xc2cacf00">
          <geom ref="0xc2dd6100"/>
          <mode>r1w1e0</mode>
          <name>ad0s3b</name>
          <mediasize>2147483648</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>1</index>
            <length>2147483648</length>
            <seclength>4194304</seclength>
            <offset>314572800</offset>
            <secoffset>614400</secoffset>
            <type>1</type>
          </config>
        </provider>
        <provider id="0xc2dd6000">
          <geom ref="0xc2dd6100"/>
          <mode>r1w1e0</mode>
          <name>ad0s3a</name>
          <mediasize>314572800</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <index>0</index>
            <length>314572800</length>
            <seclength>614400</seclength>
            <offset>0</offset>
            <secoffset>0</secoffset>
            <type>7</type>
          </config>
        </provider>
    </geom>
  </class>
  <class id="0xc02e8b40">
    <name>GEOMCTL</name>
    <geom id="0xc2cabb00">
      <class ref="0xc02e8b40"/>
      <name>geom.ctl</name>
      <rank>1</rank>
        <provider id="0xc2caba80">
          <geom ref="0xc2cabb00"/>
          <mode>r0w0e0</mode>
          <name>geom.ctl</name>
          <mediasize>0</mediasize>
          <sectorsize>512</sectorsize>
        </provider>
    </geom>
  </class>
  <class id="0xc02e8c00">
    <name>DISK</name>
    <geom id="0xc2de2b80">
      <class ref="0xc02e8c00"/>
      <name>da1</name>
      <rank>1</rank>
      <config>
      </config>
        <provider id="0xc2cab480">
          <geom ref="0xc2de2b80"/>
          <mode>r0w0e0</mode>
          <name>da1</name>
          <mediasize>203928109056</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <fwheads>255</fwheads>
            <fwsectors>63</fwsectors>
          </config>
        </provider>
    </geom>
    <geom id="0xc2de2880">
      <class ref="0xc02e8c00"/>
      <name>da0</name>
      <rank>1</rank>
      <config>
      </config>
        <provider id="0xc2de2900">
          <geom ref="0xc2de2880"/>
          <mode>r0w0e0</mode>
          <name>da0</name>
          <mediasize>203928109056</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <fwheads>255</fwheads>
            <fwsectors>63</fwsectors>
          </config>
        </provider>
    </geom>
    <geom id="0xc2dd6a80">
      <class ref="0xc02e8c00"/>
      <name>ad1</name>
      <rank>1</rank>
      <config>
      </config>
        <provider id="0xc2dd6a00">
          <geom ref="0xc2dd6a80"/>
          <mode>r0w0e0</mode>
          <name>ad1</name>
          <mediasize>32003112960</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <fwheads>16</fwheads>
            <fwsectors>63</fwsectors>
          </config>
        </provider>
    </geom>
    <geom id="0xc2cab900">
      <class ref="0xc02e8c00"/>
      <name>ad0</name>
      <rank>1</rank>
      <config>
      </config>
        <provider id="0xc2cab880">
          <geom ref="0xc2cab900"/>
          <mode>r3w3e2</mode>
          <name>ad0</name>
          <mediasize>48004669440</mediasize>
          <sectorsize>512</sectorsize>
          <config>
            <fwheads>16</fwheads>
            <fwsectors>63</fwsectors>
          </config>
        </provider>
    </geom>
  </class>
</mesh>

Reply via email to