<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can not pvcreate disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923082#M634348</link>
    <description>Hi (again) Simon:&lt;BR /&gt;&lt;BR /&gt;BTW, to recreate '/dev/zero' (assuming someone removed it):&lt;BR /&gt;&lt;BR /&gt;# mknod /dev/zero c 3 0x000004 #...on 11.x &lt;BR /&gt;&lt;BR /&gt;# chown bin:bin /dev/zero &lt;BR /&gt;# chmod 666 /dev/zero &lt;BR /&gt;&lt;BR /&gt;On 11.0 you can create '/dev/zero' too, but use:&lt;BR /&gt;&lt;BR /&gt;# mknod /dev/zero c 3 0x000003 #...on 11.0&lt;BR /&gt; &lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Mon, 10 Mar 2003 12:43:51 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2003-03-10T12:43:51Z</dc:date>
    <item>
      <title>Can not pvcreate disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923079#M634345</link>
      <description>Hi &lt;BR /&gt; I have a test box which was 11i using VxVm and now has been configured to 11.The problem I am experiencing is that when I try and pvcreate the spare disk I get the following message :&lt;BR /&gt;&lt;BR /&gt; # pvcreate -f /dev/rdsk/c0t6d0&lt;BR /&gt;pvcreate: Could not perform LVM operation on VxVM disk "/dev/rdsk/c0t6d0".&lt;BR /&gt;&lt;BR /&gt;I have tried to a # /usr/bin/dd if=/dev/zero of=/dev/dsk/c0t6d0 bs=64kbut get the following message :&lt;BR /&gt;&lt;BR /&gt;/dev/zero: No such file or directory&lt;BR /&gt;dd: cannot open /dev/zero&lt;BR /&gt;&lt;BR /&gt; Can anyone please advise.&lt;BR /&gt;&lt;BR /&gt;Regards &lt;BR /&gt;Simon&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Mar 2003 12:35:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923079#M634345</guid>
      <dc:creator>simon peter</dc:creator>
      <dc:date>2003-03-10T12:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can not pvcreate disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923080#M634346</link>
      <description>Hi Simon:&lt;BR /&gt;&lt;BR /&gt;'pvremove' is intended just for this situation:&lt;BR /&gt;&lt;BR /&gt;# pvremove /dev/rdsk/cXtYdZ&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Mar 2003 12:38:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923080#M634346</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-03-10T12:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can not pvcreate disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923081#M634347</link>
      <description>Hi, Simon!&lt;BR /&gt;&lt;BR /&gt;If you are 100% sure that this disk is no longer active for VxVM you can use pvremove to get rid of the header. Pls note that pvremove is only available on &amp;gt;=11.11.&lt;BR /&gt;&lt;BR /&gt;If /dev/zero is missing, you can create it using:&lt;BR /&gt;&lt;BR /&gt;# mknod /dev/zero c 3 3 &lt;BR /&gt;&lt;BR /&gt;Best regards...&lt;BR /&gt; Dietmar.</description>
      <pubDate>Mon, 10 Mar 2003 12:40:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923081#M634347</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2003-03-10T12:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can not pvcreate disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923082#M634348</link>
      <description>Hi (again) Simon:&lt;BR /&gt;&lt;BR /&gt;BTW, to recreate '/dev/zero' (assuming someone removed it):&lt;BR /&gt;&lt;BR /&gt;# mknod /dev/zero c 3 0x000004 #...on 11.x &lt;BR /&gt;&lt;BR /&gt;# chown bin:bin /dev/zero &lt;BR /&gt;# chmod 666 /dev/zero &lt;BR /&gt;&lt;BR /&gt;On 11.0 you can create '/dev/zero' too, but use:&lt;BR /&gt;&lt;BR /&gt;# mknod /dev/zero c 3 0x000003 #...on 11.0&lt;BR /&gt; &lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 10 Mar 2003 12:43:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923082#M634348</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-03-10T12:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can not pvcreate disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923083#M634349</link>
      <description>or simply do&lt;BR /&gt;dd if=/stand/vmunix of=/dev/rdsk/c0t6d0 bs=1024k&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Mar 2003 12:48:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923083#M634349</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2003-03-10T12:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can not pvcreate disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923084#M634350</link>
      <description>James,&lt;BR /&gt;&lt;BR /&gt;thanks for pointing out the minor number 4 for /dev/zero.&lt;BR /&gt;&lt;BR /&gt;Just had a closer look... /dev/zero was introduced with 11.00 with minor 4. Yes, it's 4 for 11.00 also!&lt;BR /&gt;&lt;BR /&gt;The minor 3 is some legacy thing that also returns "something"... usually zeros, so it was often abused as /dev/zero e.g. with 10.20.&lt;BR /&gt;&lt;BR /&gt;Beginning with 11.00 one should really use the 4. I just tested with a 11.00 box that returned non-zero contents on minor 3! So take care.&lt;BR /&gt;&lt;BR /&gt;Best regards...&lt;BR /&gt; Dietmar.</description>
      <pubDate>Mon, 10 Mar 2003 16:00:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923084#M634350</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2003-03-10T16:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can not pvcreate disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923085#M634351</link>
      <description>Hi Dietmar:&lt;BR /&gt;&lt;BR /&gt;Thank you, for the information.  I can always count on you to really dig!&lt;BR /&gt;&lt;BR /&gt;I meant to note that you can create a '/dev/zero' on *10.20* with a minor number of &amp;lt;3&amp;gt; but wrote "11.x" for some dumb reason.&lt;BR /&gt;&lt;BR /&gt;I was vaguely aware that the 10.20 device was "usually zeros" and glad to know that it can't be relied upon for fidelity.&lt;BR /&gt;&lt;BR /&gt;With warmest regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 10 Mar 2003 16:18:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923085#M634351</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-03-10T16:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can not pvcreate disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923086#M634352</link>
      <description>Thanks guys for the help after following Dietmar Konermann i ran the dd again which took several hours all works ok.</description>
      <pubDate>Mon, 10 Mar 2003 17:05:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923086#M634352</guid>
      <dc:creator>simon peter</dc:creator>
      <dc:date>2003-03-10T17:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can not pvcreate disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923087#M634353</link>
      <description>Hi (again) Simon:&lt;BR /&gt;&lt;BR /&gt;Since you goal is to erase the VxVM information, 'pvremove' would be preferred since this is for what it is designed.&lt;BR /&gt;&lt;BR /&gt;If you choose to use 'dd' with '/dev/zero', you would only need to do something like:&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/zero of=/dev/rdsk/cXtYdZ bs=256k count=10&lt;BR /&gt;&lt;BR /&gt;...should suffice nicely.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Mar 2003 17:14:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-pvcreate-disk/m-p/2923087#M634353</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-03-10T17:14:13Z</dc:date>
    </item>
  </channel>
</rss>

