<?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: pvcreate cannot determine block size in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456037#M561671</link>
    <description>Sorry here is the output&lt;BR /&gt;&lt;BR /&gt;root@diamond.iehp.org:/&amp;gt;&lt;BR /&gt;=&amp;gt; #diskinfo /dev/rdsk/c23t10d0&lt;BR /&gt;diskinfo: can't SIOC_INQUIRY /dev/rdsk/c23t10d0: I/O error</description>
    <pubDate>Thu, 09 Jul 2009 00:03:41 GMT</pubDate>
    <dc:creator>John Jimenez</dc:creator>
    <dc:date>2009-07-09T00:03:41Z</dc:date>
    <item>
      <title>pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456013#M561647</link>
      <description>I issued a pvcreate and it could not determine block size, but it did give me back the prompt.  I then tried to pvremove, and I am sitll waiting for the prompt.   Any suggestions?   Below is the output from boht&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; #pvcreate /dev/rdsk/c23t10d0&lt;BR /&gt;Warning: Cannot determine block size of Physical Volume "/dev/rdsk/c23t10d0".&lt;BR /&gt;Assuming a default value of 1024 bytes. Continuing.&lt;BR /&gt;pvcreate: IO error on Physical Volume device /dev/rdsk/c23t10d0: root@diamond.iehp.org:/&amp;gt;&lt;BR /&gt;=&amp;gt; #pvremove /dev/rdsk/c23t10d0&lt;BR /&gt;Warning: Cannot determine block size of Physical Volume "/dev/rdsk/c23t10d0".&lt;BR /&gt;Assuming a default value of 1024 bytes. Continuing.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2009 19:27:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456013#M561647</guid>
      <dc:creator>John Jimenez</dc:creator>
      <dc:date>2009-07-08T19:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456014#M561648</link>
      <description>Hi John:&lt;BR /&gt;&lt;BR /&gt;Your disk appears to be defunct or unreachable:   IO error on Physical Volume device /dev/rdsk/c23t10d0&lt;BR /&gt;&lt;BR /&gt;I'd bet that a 'diskinfo' returns a 0-size and that this fails with an error or hangs:&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/dsk/c23t10d0 of=/dev/null bs=1024k count=10&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2009 19:38:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456014#M561648</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-07-08T19:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456015#M561649</link>
      <description>what does &lt;BR /&gt;&lt;BR /&gt;diskinfo /dev/rdsk/c23t10d0&lt;BR /&gt;&lt;BR /&gt;say about this disk drive of yours ?</description>
      <pubDate>Wed, 08 Jul 2009 19:43:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456015#M561649</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-07-08T19:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456016#M561650</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;   Just do a diskinfo and dd on that disk.&lt;BR /&gt;&lt;BR /&gt;   # diskinfo /dev/rdsk/c23t10d0 (Must specify its model and size)&lt;BR /&gt;&lt;BR /&gt;   # dd if=/dev/rdsk/c23t10d0 of=/dev/null bs=1024  (Must special equal in and out records)&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2009 19:45:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456016#M561650</guid>
      <dc:creator>Vishu</dc:creator>
      <dc:date>2009-07-08T19:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456017#M561651</link>
      <description>I opened a new sessions and the dd command to that disks hangs too.</description>
      <pubDate>Wed, 08 Jul 2009 19:46:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456017#M561651</guid>
      <dc:creator>John Jimenez</dc:creator>
      <dc:date>2009-07-08T19:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456018#M561652</link>
      <description>is it okay to kill PID 19428? &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; #ps -ef | grep pvremove&lt;BR /&gt;    root 29546 29468  0 13:48:30 pts/10    0:00 grep pvremove&lt;BR /&gt;    root 19428 13818  0 13:16:07 pts/8     0:00 pvremove /dev/rdsk/c23t10d0</description>
      <pubDate>Wed, 08 Jul 2009 19:48:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456018#M561652</guid>
      <dc:creator>John Jimenez</dc:creator>
      <dc:date>2009-07-08T19:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456019#M561653</link>
      <description>You can try.  But if the disk is well and truly dead, then the process will probably not die because it is waiting on an I/O that it will never receive.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2009 19:52:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456019#M561653</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-07-08T19:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456020#M561654</link>
      <description>I am running HP-UX 11.11.     I environment that are always growing.   I usually remove the old LUN and create new Larger LUNS and assingn it a new host ID which assigns a new c#t#d#.  But this time I decided to pvremove the old disk the remove special files. I then unpresented the LUN and deleted and then made a new LUN.   I gave the new larger LUN the SAME host ID (c#t#d#).   I did and IOSCAN and the insf command added in new special files.   But maybe some old info is still there.</description>
      <pubDate>Wed, 08 Jul 2009 19:54:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456020#M561654</guid>
      <dc:creator>John Jimenez</dc:creator>
      <dc:date>2009-07-08T19:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456021#M561655</link>
      <description>Hi John:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; is it okay to kill PID 19428? &lt;BR /&gt;&lt;BR /&gt;Yes, though you may not be able to kill it even with a 'kill -9'.  If this is a device that can be physically disconnected that may help.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 08 Jul 2009 19:54:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456021#M561655</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-07-08T19:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456022#M561656</link>
      <description>Hi (again) John:&lt;BR /&gt;&lt;BR /&gt;By the way, a 'pvremove' does nothing more than erase the LVM metadata on a disk.  This obliterates the PVID and VGID and allows a disk to appear as if it never belonged to LVM.  If you are simply reusing a disk, a 'pvcreate' is a perfectly appropriate first step.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 08 Jul 2009 19:57:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456022#M561656</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-07-08T19:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456023#M561657</link>
      <description>At this oint it does not matter if you can kill the process or not. You will need a replacement drive. &lt;BR /&gt;&lt;BR /&gt;First, try &lt;BR /&gt;&lt;BR /&gt;kill 19428 &lt;BR /&gt;&lt;BR /&gt;more than likely it will not die but do not go with -9 right off the bat&lt;BR /&gt;&lt;BR /&gt;if it is still there, then try -9 option&lt;BR /&gt;&lt;BR /&gt;kill -9 19428 &lt;BR /&gt;&lt;BR /&gt;I have a sneaking suspicion that, this will not work either. If this is a hot swappable drive, replace it while the server is alive. At this point, your pvremove command, could receive the signal it is waiting fro, from the new and functional disk drive and can complete its running. If not, it is too early to tell what the next steps might be, but most probably pvchange and vgcfgrestore will be your path.&lt;BR /&gt;&lt;BR /&gt;Out of curiosity, iehp.org ?=? Inland Empire Health Plan ? If so, you must almost be my neighbor :)</description>
      <pubDate>Wed, 08 Jul 2009 19:58:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456023#M561657</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-07-08T19:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456024#M561658</link>
      <description>yes, killing this PID wont kill the process if the associated disk is dead. Removing that disk/LUN may help. &lt;BR /&gt;&lt;BR /&gt; and, hanging of your DD clearly saying that disk is faulty. So, need a new disk/LUN. Get the new disk/LUN to the server and then again try pvcreate on its raw device file.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2009 20:12:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456024#M561658</guid>
      <dc:creator>Vishu</dc:creator>
      <dc:date>2009-07-08T20:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456025#M561659</link>
      <description>Yes I could not kill it.   I am going to try removing the 200 gig disk.  If this does not work, I am going to try and create the 127 gig that used to be there and see if I can get these commands finish.</description>
      <pubDate>Wed, 08 Jul 2009 20:22:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456025#M561659</guid>
      <dc:creator>John Jimenez</dc:creator>
      <dc:date>2009-07-08T20:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456026#M561660</link>
      <description>I unpresented and removed the 200 gig LUN.  I then created the 127 gig one that used to be there and introduced that one back as c23t10d0.   but the pvremove or the dd is not finishing.   I tried killing them both again but no luck&lt;BR /&gt;&lt;BR /&gt;disk    126  1/0/2/1/0.97.8.239.1.10.0  sdisk    CLAIMED     DEVICE       DGC     CX500WDR5&lt;BR /&gt;                            /dev/dsk/c23t10d0   /dev/rdsk/c23t10d0</description>
      <pubDate>Wed, 08 Jul 2009 20:34:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456026#M561660</guid>
      <dc:creator>John Jimenez</dc:creator>
      <dc:date>2009-07-08T20:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456027#M561661</link>
      <description>Well John,&lt;BR /&gt;  &lt;BR /&gt;   it is your 127 Gig LUN. so dd command may take a lot of time. use diskinfo first. if it prints good, then use dd as&lt;BR /&gt;&lt;BR /&gt; # dd if=/dev/rdsk/c23t10d0 of=/dev/null bs=1024k count=1000&lt;BR /&gt;&lt;BR /&gt;and wait for few mins to complete it. and paste the output.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2009 21:33:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456027#M561661</guid>
      <dc:creator>Vishu</dc:creator>
      <dc:date>2009-07-08T21:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456028#M561662</link>
      <description>When you remove a disk (LUN), you must first make sure it is no longer a part of any volume group. Always use pvchange -a N /dev/dsk/whatever to deallocate it from any volume group, then remove it from the system with rmsf (NOTE: not rm). Use the command:&lt;BR /&gt; &lt;BR /&gt;rmsf -H &lt;HARDWARE_PATH&gt;&lt;BR /&gt; &lt;BR /&gt;or use the alternate form:&lt;BR /&gt; &lt;BR /&gt;rmsf -a /dev/rdsk/whatever&lt;BR /&gt;rmsf -a /dev/dsk/whatever&lt;BR /&gt; &lt;BR /&gt;Removing /dev files for disks using rm will create problems. You need to inform the OS about hardware changes. Now you can unpresent the LUN. &lt;BR /&gt; &lt;BR /&gt;Also check ioscan for NO_HW:&lt;BR /&gt; &lt;BR /&gt;ioscan -f&lt;BR /&gt; &lt;BR /&gt;Look for NO_HW. Then remove those paths with rmsf -H &lt;HARDWARE_PATH&gt;&lt;BR /&gt; &lt;BR /&gt;My guess is that there are some unconnected device files in /dev/dsk and rdsk:&lt;BR /&gt; &lt;BR /&gt;lssf /dev/*dsk/* | grep "???"&lt;BR /&gt; &lt;BR /&gt;The ??? flags device files that have no hardware path. Use rmsf -a to remove those files too.&lt;/HARDWARE_PATH&gt;&lt;/HARDWARE_PATH&gt;</description>
      <pubDate>Wed, 08 Jul 2009 21:41:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456028#M561662</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-07-08T21:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456029#M561663</link>
      <description>Hi Bill,&lt;BR /&gt;&lt;BR /&gt;  Yes before I got rid of the 127 gig LUN.  I successfully removed the logical volume and volume group in SAM.  I then successfully pvremoved c23t10d0 and rmsf -H all for paths.  &lt;BR /&gt;I then ioscaned to make sure that the 4 paths were removed&lt;BR /&gt;&lt;BR /&gt;  I then created a new 200 gig LUN and introduced it as c23t10d0.  I issued the insf command and the I/O scan showed up as "claimed".    But when I did the PV create I got the error, but at least got the prompt back.   But because I got the error I decided to go no further and pvremove it, and that is when it locked up.</description>
      <pubDate>Wed, 08 Jul 2009 22:10:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456029#M561663</guid>
      <dc:creator>John Jimenez</dc:creator>
      <dc:date>2009-07-08T22:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456030#M561664</link>
      <description>untless a disk is pvcreate, there is no need to pvremove that.&lt;BR /&gt;&lt;BR /&gt;  so, when you remove the device file with rmsf, have you run insf -e to get them back after presenting the LUN to server.&lt;BR /&gt;&lt;BR /&gt;And, what about the current diskinfo and dd(with count) command output.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2009 22:31:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456030#M561664</guid>
      <dc:creator>Vishu</dc:creator>
      <dc:date>2009-07-08T22:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456031#M561665</link>
      <description>Hi Ranju,   After I removed pvremoved and rmsf the old 127 gig LUN.  I unpresented it and destroyed it on the EMC.   I then created a new 200 gig LUN.   I ran ioscan, and then I ran insf not insf -e.    But when I ran insf I got the following out put.  &lt;BR /&gt;&lt;BR /&gt;=&amp;gt; #insf&lt;BR /&gt;insf: Installing special files for sdisk instance 127 address 1/0/2/1/0.97.4.239.1.10.0&lt;BR /&gt;insf: Installing special files for sdisk instance 126 address 1/0/2/1/0.97.8.239.1.10.0&lt;BR /&gt;insf: Installing special files for sdisk instance 148 address 1/0/4/1/0.97.4.239.1.10.0&lt;BR /&gt;insf: Installing special files for sdisk instance 152 address 1/0/4/1/0.97.8.239.1.10.0&lt;BR /&gt;&lt;BR /&gt;I then ioscaned it again and it showed claimed, but then when I pv created it here:&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; #pvcreate /dev/rdsk/c23t10d0&lt;BR /&gt;Warning: Cannot determine block size of Physical Volume "/dev/rdsk/c23t10d0".&lt;BR /&gt;Assuming a default value of 1024 bytes. Continuing.&lt;BR /&gt;pvcreate: IO error on Physical Volume device /dev/rdsk/c23t10d0: root@diamond.iehp.org:/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Are you saying that a corrupted pvcreate never took place?  and there was no need to pvremove?     &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2009 22:49:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456031#M561665</guid>
      <dc:creator>John Jimenez</dc:creator>
      <dc:date>2009-07-08T22:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate cannot determine block size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456032#M561666</link>
      <description>I just opened up a case with HP.     The pvcreate and dd have been hung for almost 4 hours and the system still seems to be running normal.   Those two processes do not seem to be taking up high CPU or disk utilization.  I will update you with any new information from HP.  I appreciate and welcome any further comments or possible solutions.    &lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2009 23:05:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-cannot-determine-block-size/m-p/4456032#M561666</guid>
      <dc:creator>John Jimenez</dc:creator>
      <dc:date>2009-07-08T23:05:53Z</dc:date>
    </item>
  </channel>
</rss>

