Date: Mon, 01 Oct 2007 11:22:45 +0200 From: "Axel S. Gruner" <liste@encephalon.de> To: Pawel Jakub Dawidek <pjd@FreeBSD.org> Cc: freebsd-fs@freebsd.org Subject: Re: zpool does not work Message-ID: <4700BC65.1000303@encephalon.de> In-Reply-To: <20071001091106.GB35764@garage.freebsd.pl> References: <4700A791.6020606@encephalon.de> <20071001091106.GB35764@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
Pawel Jakub Dawidek schrieb: > On Mon, Oct 01, 2007 at 09:53:53AM +0200, Axel S. Gruner wrote: >> Hi, >> >> FreeBSD CURRENT from Fri Sep 28: >> >> #zpool create zeta raidz da1 da2 da3 da4 >> Assertion failed: (P???P???), function rv == 0, file >> /usr/src/cddl/sbin/zpool/../../../contrib/opensolaris/cmd/zpool/zpool_vdev.c, >> line 131. >> Abort (core dumped) >> >> What could be the Problem? > > It fails on geom_gettree(). Something seems to be wrong with your GEOM > topology, most likely some strange provider name that use characters > reserved for XML. > > Can you paste the output of 'sysctl -b kern.geom.confxml'? Thanks for the quick reply. Here it is: <mesh> <class id="0xc568da40"> <name>ZFS::VDEV</name> </class> <class id="0xc568d980"> <name>ZFS::ZVOL</name> </class> <class id="0xc0b89140"> <name>FD</name> <geom id="0xc53ea300"> <class ref="0xc0b89140"/> <name>fd0</name> <rank>1</rank> <provider id="0xc53ea280"> <geom ref="0xc53ea300"/> <mode>r0w0e0</mode> <name>fd0</name> <mediasize>0</mediasize> <sectorsize>0</sectorsize> </provider> </geom> </class> <class id="0xc0af9700"> <name>ACD</name> <geom id="0xc53e7c80"> <class ref="0xc0af9700"/> <name>acd0</name> <rank>1</rank> <provider id="0xc53e7c00"> <geom ref="0xc53e7c80"/> <mode>r0w0e0</mode> <name>acd0</name> <mediasize>8796093020160</mediasize> <sectorsize>2048</sectorsize> </provider> </geom> </class> <class id="0xc0b5d8a0"> <name>DEV</name> <geom id="0xc54a7580"> <class ref="0xc0b5d8a0"/> <name>msdosfs/ </name> <rank>5</rank> <consumer id="0xc52cfe00"> <geom ref="0xc54a7580"/> <provider ref="0xc547c600"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc54a7800"> <class ref="0xc0b5d8a0"/> <name>ntfs/Lokaler Datentr0/00ger</name> <rank>5</rank> <consumer id="0xc547e040"> <geom ref="0xc54a7800"/> <provider ref="0xc547c200"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc54a7b00"> <class ref="0xc0b5d8a0"/> <name>da4s8</name> <rank>4</rank> <consumer id="0xc547e180"> <geom ref="0xc54a7b00"/> <provider ref="0xc54a5980"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc54a7e00"> <class ref="0xc0b5d8a0"/> <name>da4s7</name> <rank>4</rank> <consumer id="0xc547e2c0"> <geom ref="0xc54a7e00"/> <provider ref="0xc54a5a80"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc54a8200"> <class ref="0xc0b5d8a0"/> <name>da4s6</name> <rank>4</rank> <consumer id="0xc547e400"> <geom ref="0xc54a8200"/> <provider ref="0xc54a5b80"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc54a6400"> <class ref="0xc0b5d8a0"/> <name>da4s5</name> <rank>4</rank> <consumer id="0xc547e540"> <geom ref="0xc54a6400"/> <provider ref="0xc54a5c80"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc547c300"> <class ref="0xc0b5d8a0"/> <name>da3s8</name> <rank>4</rank> <consumer id="0xc547e680"> <geom ref="0xc547c300"/> <provider ref="0xc54a6480"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc54a6200"> <class ref="0xc0b5d8a0"/> <name>da3s7</name> <rank>4</rank> <consumer id="0xc547e7c0"> <geom ref="0xc54a6200"/> <provider ref="0xc54a6580"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc54a5300"> <class ref="0xc0b5d8a0"/> <name>da3s6</name> <rank>4</rank> <consumer id="0xc547e940"> <geom ref="0xc54a5300"/> <provider ref="0xc54a6680"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc547db80"> <class ref="0xc0b5d8a0"/> <name>da3s5</name> <rank>4</rank> <consumer id="0xc547eac0"> <geom ref="0xc547db80"/> <provider ref="0xc547d400"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc547de80"> <class ref="0xc0b5d8a0"/> <name>da0s1d</name> <rank>4</rank> <consumer id="0xc547ec00"> <geom ref="0xc547de80"/> <provider ref="0xc547c180"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc54a5280"> <class ref="0xc0b5d8a0"/> <name>da0s1c</name> <rank>4</rank> <consumer id="0xc547ed40"> <geom ref="0xc54a5280"/> <provider ref="0xc547c280"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc54a5580"> <class ref="0xc0b5d8a0"/> <name>da0s1b</name> <rank>4</rank> <consumer id="0xc547ee80"> <geom ref="0xc54a5580"/> <provider ref="0xc547c380"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc54a5880"> <class ref="0xc0b5d8a0"/> <name>da0s1a</name> <rank>4</rank> <consumer id="0xc547f100"> <geom ref="0xc54a5880"/> <provider ref="0xc547c480"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc54a6080"> <class ref="0xc0b5d8a0"/> <name>da4s2</name> <rank>3</rank> <consumer id="0xc547f240"> <geom ref="0xc54a6080"/> <provider ref="0xc547c680"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc54a6380"> <class ref="0xc0b5d8a0"/> <name>da4s1</name> <rank>3</rank> <consumer id="0xc547f380"> <geom ref="0xc54a6380"/> <provider ref="0xc547c780"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc547d200"> <class ref="0xc0b5d8a0"/> <name>da3s2</name> <rank>3</rank> <consumer id="0xc547f4c0"> <geom ref="0xc547d200"/> <provider ref="0xc547cb80"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc53e7980"> <class ref="0xc0b5d8a0"/> <name>da3s1</name> <rank>3</rank> <consumer id="0xc547f600"> <geom ref="0xc53e7980"/> <provider ref="0xc547cc80"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc547c900"> <class ref="0xc0b5d8a0"/> <name>da1s1</name> <rank>3</rank> <consumer id="0xc547f740"> <geom ref="0xc547c900"/> <provider ref="0xc547d480"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc547c580"> <class ref="0xc0b5d8a0"/> <name>da0s1</name> <rank>3</rank> <consumer id="0xc547f880"> <geom ref="0xc547c580"/> <provider ref="0xc547d880"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc547ca80"> <class ref="0xc0b5d8a0"/> <name>da4</name> <rank>2</rank> <consumer id="0xc547f9c0"> <geom ref="0xc547ca80"/> <provider ref="0xc5167a00"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc547d080"> <class ref="0xc0b5d8a0"/> <name>da3</name> <rank>2</rank> <consumer id="0xc547fb00"> <geom ref="0xc547d080"/> <provider ref="0xc5167200"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc547d380"> <class ref="0xc0b5d8a0"/> <name>da2</name> <rank>2</rank> <consumer id="0xc547fc40"> <geom ref="0xc547d380"/> <provider ref="0xc53ea000"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc547d780"> <class ref="0xc0b5d8a0"/> <name>da1</name> <rank>2</rank> <consumer id="0xc547fd80"> <geom ref="0xc547d780"/> <provider ref="0xc53e7a80"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc5167a80"> <class ref="0xc0b5d8a0"/> <name>da0</name> <rank>2</rank> <consumer id="0xc52ce780"> <geom ref="0xc5167a80"/> <provider ref="0xc53e7a00"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc53e7b00"> <class ref="0xc0b5d8a0"/> <name>acd0</name> <rank>2</rank> <consumer id="0xc52ce7c0"> <geom ref="0xc53e7b00"/> <provider ref="0xc53e7c00"/> <mode>r0w0e0</mode> </consumer> </geom> <geom id="0xc53ea100"> <class ref="0xc0b5d8a0"/> <name>fd0</name> <rank>2</rank> <consumer id="0xc52cf100"> <geom ref="0xc53ea100"/> <provider ref="0xc53ea280"/> <mode>r0w0e0</mode> </consumer> </geom> </class> <class id="0xc0b5d7c0"> <name>BSD</name> <geom id="0xc547c500"> <class ref="0xc0b5d7c0"/> <name>da0s1</name> <rank>3</rank> <config> <labeloffset>512</labeloffset> <rawoffset>32256</rawoffset> <mbroffset>32256</mbroffset> </config> <consumer id="0xc547f840"> <geom ref="0xc547c500"/> <provider ref="0xc547d880"/> <mode>r3w3e3</mode> <config> </config> </consumer> <provider id="0xc547c180"> <geom ref="0xc547c500"/> <mode>r1w1e1</mode> <name>da0s1d</name> <mediasize>68033657344</mediasize> <sectorsize>512</sectorsize> <config> <index>3</index> <length>68033657344</length> <seclength>132878237</seclength> <offset>5368709120</offset> <secoffset>10485760</secoffset> <type>7</type> </config> </provider> <provider id="0xc547c280"> <geom ref="0xc547c500"/> <mode>r0w0e0</mode> <name>da0s1c</name> <mediasize>73402366464</mediasize> <sectorsize>512</sectorsize> <config> <index>2</index> <length>73402366464</length> <seclength>143363997</seclength> <offset>0</offset> <secoffset>0</secoffset> <type>0</type> </config> </provider> <provider id="0xc547c380"> <geom ref="0xc547c500"/> <mode>r1w1e0</mode> <name>da0s1b</name> <mediasize>4294967296</mediasize> <sectorsize>512</sectorsize> <config> <index>1</index> <length>4294967296</length> <seclength>8388608</seclength> <offset>1073741824</offset> <secoffset>2097152</secoffset> <type>1</type> </config> </provider> <provider id="0xc547c480"> <geom ref="0xc547c500"/> <mode>r1w1e1</mode> <name>da0s1a</name> <mediasize>1073741824</mediasize> <sectorsize>512</sectorsize> <config> <index>0</index> <length>1073741824</length> <seclength>2097152</seclength> <offset>0</offset> <secoffset>0</secoffset> <type>7</type> </config> </provider> </geom> </class> <class id="0xc0b5e1c0"> <name>PART</name> </class> <class id="0xc0b5e040"> <name>LABEL</name> <geom id="0xc54a5700"> <class ref="0xc0b5e040"/> <name>da3s6</name> <rank>4</rank> <config> </config> <consumer id="0xc547e840"> <geom ref="0xc54a5700"/> <provider ref="0xc54a6680"/> <mode>r0w0e0</mode> <config> </config> </consumer> <provider id="0xc547c600"> <geom ref="0xc54a5700"/> <mode>r0w0e0</mode> <name>msdosfs/ </name> <mediasize>49319424</mediasize> <sectorsize>512</sectorsize> <config> <index>0</index> <length>49319424</length> <seclength>96327</seclength> <offset>0</offset> <secoffset>0</secoffset> </config> </provider> </geom> <geom id="0xc547dd00"> <class ref="0xc0b5e040"/> <name>da3s5</name> <rank>4</rank> <config> </config> <consumer id="0xc547e9c0"> <geom ref="0xc547dd00"/> <provider ref="0xc547d400"/> <mode>r0w0e0</mode> <config> </config> </consumer> <provider id="0xc547c200"> <geom ref="0xc547dd00"/> <mode>r0w0e0</mode> <name>ntfs/Lokaler Datentr0/00ger</name> <mediasize>35648331264</mediasize> <sectorsize>512</sectorsize> <config> <index>0</index> <length>35648331264</length> <seclength>69625647</seclength> <offset>0</offset> <secoffset>0</secoffset> </config> </provider> </geom> </class> <class id="0xc0b5dfa0"> <name>VFS</name> <geom id="0xc54f0280"> <class ref="0xc0b5dfa0"/> <name>ffs.da0s1d</name> <rank>4</rank> <consumer id="0xc52bfe40"> <geom ref="0xc54f0280"/> <provider ref="0xc547c180"/> <mode>r1w1e1</mode> </consumer> </geom> <geom id="0xc54b1200"> <class ref="0xc0b5dfa0"/> <name>ffs.da0s1a</name> <rank>4</rank> <consumer id="0xc52ce000"> <geom ref="0xc54b1200"/> <provider ref="0xc547c480"/> <mode>r1w1e1</mode> </consumer> </geom> </class> <class id="0xc0b5df20"> <name>MBR</name> <geom id="0xc547c880"> <class ref="0xc0b5df20"/> <name>da4</name> <rank>2</rank> <config> </config> <consumer id="0xc547f8c0"> <geom ref="0xc547c880"/> <provider ref="0xc5167a00"/> <mode>r0w0e0</mode> <config> </config> </consumer> <provider id="0xc547c680"> <geom ref="0xc547c880"/> <mode>r0w0e0</mode> <name>da4s2</name> <mediasize>36692974080</mediasize> <sectorsize>512</sectorsize> <config> <index>1</index> <length>36692974080</length> <seclength>71665965</seclength> <offset>36701199360</offset> <secoffset>71682030</secoffset> <type>5</type> </config> </provider> <provider id="0xc547c780"> <geom ref="0xc547c880"/> <mode>r0w0e0</mode> <name>da4s1</name> <mediasize>36701167104</mediasize> <sectorsize>512</sectorsize> <config> <index>0</index> <length>36701167104</length> <seclength>71681967</seclength> <offset>32256</offset> <secoffset>63</secoffset> <type>7</type> </config> </provider> </geom> <geom id="0xc547cd80"> <class ref="0xc0b5df20"/> <name>da3</name> <rank>2</rank> <config> </config> <consumer id="0xc547fa00"> <geom ref="0xc547cd80"/> <provider ref="0xc5167200"/> <mode>r0w0e0</mode> <config> </config> </consumer> <provider id="0xc547cb80"> <geom ref="0xc547cd80"/> <mode>r0w0e0</mode> <name>da3s2</name> <mediasize>36692974080</mediasize> <sectorsize>512</sectorsize> <config> <index>1</index> <length>36692974080</length> <seclength>71665965</seclength> <offset>36701199360</offset> <secoffset>71682030</secoffset> <type>5</type> </config> </provider> <provider id="0xc547cc80"> <geom ref="0xc547cd80"/> <mode>r0w0e0</mode> <name>da3s1</name> <mediasize>36701167104</mediasize> <sectorsize>512</sectorsize> <config> <index>0</index> <length>36701167104</length> <seclength>71681967</seclength> <offset>32256</offset> <secoffset>63</secoffset> <type>7</type> </config> </provider> </geom> <geom id="0xc547d580"> <class ref="0xc0b5df20"/> <name>da1</name> <rank>2</rank> <config> </config> <consumer id="0xc547fc80"> <geom ref="0xc547d580"/> <provider ref="0xc53e7a80"/> <mode>r0w0e0</mode> <config> </config> </consumer> <provider id="0xc547d480"> <geom ref="0xc547d580"/> <mode>r0w0e0</mode> <name>da1s1</name> <mediasize>73402366464</mediasize> <sectorsize>512</sectorsize> <config> <index>0</index> <length>73402366464</length> <seclength>143363997</seclength> <offset>32256</offset> <secoffset>63</secoffset> <type>165</type> </config> </provider> </geom> <geom id="0xc547d980"> <class ref="0xc0b5df20"/> <name>da0</name> <rank>2</rank> <config> </config> <consumer id="0xc547fdc0"> <geom ref="0xc547d980"/> <provider ref="0xc53e7a00"/> <mode>r3w3e4</mode> <config> </config> </consumer> <provider id="0xc547d880"> <geom ref="0xc547d980"/> <mode>r3w3e3</mode> <name>da0s1</name> <mediasize>73402366464</mediasize> <sectorsize>512</sectorsize> <config> <index>0</index> <length>73402366464</length> <seclength>143363997</seclength> <offset>32256</offset> <secoffset>63</secoffset> <type>165</type> </config> </provider> </geom> </class> <class id="0xc0b5dec0"> <name>MBREXT</name> <geom id="0xc54a5d80"> <class ref="0xc0b5dec0"/> <name>da4s2</name> <rank>3</rank> <config> </config> <consumer id="0xc547f140"> <geom ref="0xc54a5d80"/> <provider ref="0xc547c680"/> <mode>r0w0e0</mode> <config> </config> </consumer> <provider id="0xc54a5980"> <geom ref="0xc54a5d80"/> <mode>r0w0e0</mode> <name>da4s8</name> <mediasize>789594624</mediasize> <sectorsize>512</sectorsize> <config> <index>3</index> <length>789594624</length> <seclength>1542177</seclength> <offset>35903379456</offset> <secoffset>70123788</secoffset> <type>131</type> </config> </provider> <provider id="0xc54a5a80"> <geom ref="0xc54a5d80"/> <mode>r0w0e0</mode> <name>da4s7</name> <mediasize>205599744</mediasize> <sectorsize>512</sectorsize> <config> <index>2</index> <length>205599744</length> <seclength>401562</seclength> <offset>35697747456</offset> <secoffset>69722163</secoffset> <type>130</type> </config> </provider> <provider id="0xc54a5b80"> <geom ref="0xc54a5d80"/> <mode>r0w0e0</mode> <name>da4s6</name> <mediasize>49319424</mediasize> <sectorsize>512</sectorsize> <config> <index>1</index> <length>49319424</length> <seclength>96327</seclength> <offset>35648395776</offset> <secoffset>69625773</secoffset> <type>11</type> </config> </provider> <provider id="0xc54a5c80"> <geom ref="0xc54a5d80"/> <mode>r0w0e0</mode> <name>da4s5</name> <mediasize>35648331264</mediasize> <sectorsize>512</sectorsize> <config> <index>0</index> <length>35648331264</length> <seclength>69625647</seclength> <offset>32256</offset> <secoffset>63</secoffset> <type>7</type> </config> </provider> </geom> <geom id="0xc53ea180"> <class ref="0xc0b5dec0"/> <name>da3s2</name> <rank>3</rank> <config> </config> <consumer id="0xc547f3c0"> <geom ref="0xc53ea180"/> <provider ref="0xc547cb80"/> <mode>r0w0e0</mode> <config> </config> </consumer> <provider id="0xc54a6480"> <geom ref="0xc53ea180"/> <mode>r0w0e0</mode> <name>da3s8</name> <mediasize>789594624</mediasize> <sectorsize>512</sectorsize> <config> <index>3</index> <length>789594624</length> <seclength>1542177</seclength> <offset>35903379456</offset> <secoffset>70123788</secoffset> <type>131</type> </config> </provider> <provider id="0xc54a6580"> <geom ref="0xc53ea180"/> <mode>r0w0e0</mode> <name>da3s7</name> <mediasize>205599744</mediasize> <sectorsize>512</sectorsize> <config> <index>2</index> <length>205599744</length> <seclength>401562</seclength> <offset>35697747456</offset> <secoffset>69722163</secoffset> <type>130</type> </config> </provider> <provider id="0xc54a6680"> <geom ref="0xc53ea180"/> <mode>r0w0e0</mode> <name>da3s6</name> <mediasize>49319424</mediasize> <sectorsize>512</sectorsize> <config> <index>1</index> <length>49319424</length> <seclength>96327</seclength> <offset>35648395776</offset> <secoffset>69625773</secoffset> <type>11</type> </config> </provider> <provider id="0xc547d400"> <geom ref="0xc53ea180"/> <mode>r0w0e0</mode> <name>da3s5</name> <mediasize>35648331264</mediasize> <sectorsize>512</sectorsize> <config> <index>0</index> <length>35648331264</length> <seclength>69625647</seclength> <offset>32256</offset> <secoffset>63</secoffset> <type>7</type> </config> </provider> </geom> </class> <class id="0xc0b18be0"> <name>MD</name> </class> <class id="0xc0b5d9a0"> <name>DISK</name> <geom id="0xc5167980"> <class ref="0xc0b5d9a0"/> <name>da4</name> <rank>1</rank> <config> </config> <provider id="0xc5167a00"> <geom ref="0xc5167980"/> <mode>r0w0e0</mode> <name>da4</name> <mediasize>73407488000</mediasize> <sectorsize>512</sectorsize> <config> <fwheads>255</fwheads> <fwsectors>63</fwsectors> </config> </provider> </geom> <geom id="0xc52b0400"> <class ref="0xc0b5d9a0"/> <name>da3</name> <rank>1</rank> <config> </config> <provider id="0xc5167200"> <geom ref="0xc52b0400"/> <mode>r0w0e0</mode> <name>da3</name> <mediasize>73407488000</mediasize> <sectorsize>512</sectorsize> <config> <fwheads>255</fwheads> <fwsectors>63</fwsectors> </config> </provider> </geom> <geom id="0xc53e7880"> <class ref="0xc0b5d9a0"/> <name>da2</name> <rank>1</rank> <config> </config> <provider id="0xc53ea000"> <geom ref="0xc53e7880"/> <mode>r0w0e0</mode> <name>da2</name> <mediasize>73407488000</mediasize> <sectorsize>512</sectorsize> <config> <fwheads>255</fwheads> <fwsectors>63</fwsectors> </config> </provider> </geom> <geom id="0xc53e7b80"> <class ref="0xc0b5d9a0"/> <name>da1</name> <rank>1</rank> <config> </config> <provider id="0xc53e7a80"> <geom ref="0xc53e7b80"/> <mode>r0w0e0</mode> <name>da1</name> <mediasize>73407488000</mediasize> <sectorsize>512</sectorsize> <config> <fwheads>255</fwheads> <fwsectors>63</fwsectors> </config> </provider> </geom> <geom id="0xc53ea080"> <class ref="0xc0b5d9a0"/> <name>da0</name> <rank>1</rank> <config> </config> <provider id="0xc53e7a00"> <geom ref="0xc53ea080"/> <mode>r3w3e4</mode> <name>da0</name> <mediasize>73407488000</mediasize> <sectorsize>512</sectorsize> <config> <fwheads>255</fwheads> <fwsectors>63</fwsectors> </config> </provider> </geom> </class> <class id="0xc0b7f960"> <name>SWAP</name> <geom id="0xc5167600"> <class ref="0xc0b7f960"/> <name>swap</name> <rank>4</rank> <consumer id="0xc547f640"> <geom ref="0xc5167600"/> <provider ref="0xc547c380"/> <mode>r1w1e0</mode> </consumer> </geom> </class> </mesh>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4700BC65.1000303>