<?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 error: damaged disk? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515684#M829983</link>
    <description>From your posting it seems that dd is sometimes failing with an I/O error. That is a fairly certain sign that the disk is not good, if all other discs on the same interface are not experiencing problems.&lt;BR /&gt;</description>
    <pubDate>Wed, 11 Apr 2001 07:07:05 GMT</pubDate>
    <dc:creator>melvyn burnard</dc:creator>
    <dc:date>2001-04-11T07:07:05Z</dc:date>
    <item>
      <title>pvcreate error: damaged disk?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515681#M829980</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I got the following error trying to create physical volume&lt;BR /&gt;&lt;BR /&gt;# pvcreate /dev/rdsk/c0t4d0&lt;BR /&gt;pvcreate: clearing the bad block directory: I/O error&lt;BR /&gt;&lt;BR /&gt;iocsan and diskinfo recognize the disk (c0t4d0)&lt;BR /&gt;&lt;BR /&gt;# ioscan -fn -C disk&lt;BR /&gt;&lt;BR /&gt;============================&lt;BR /&gt;disk      0  56/52.1.0  disc3  CLAIMED   DEVICE  SEAGATE ST34520N&lt;BR /&gt;                       /dev/dsk/c0t1d0      /dev/rdsk/c0t1d0&lt;BR /&gt;                       /dev/floppy/c0t1d0   /dev/rfloppy/c0t1d0&lt;BR /&gt;disk      2  56/52.4.0  disc3  CLAIMED   DEVICE    FUJITSU M2909S-512&lt;BR /&gt;                       /dev/dsk/c0t4d0      /dev/rdsk/c0t4d0&lt;BR /&gt;                       /dev/floppy/c0t4d0   /dev/rfloppy/c0t4d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# diskinfo -v /dev/rdsk/c0t4d0&lt;BR /&gt;SCSI describe of /dev/rdsk/c0t4d0:&lt;BR /&gt;             vendor: FUJITSU&lt;BR /&gt;         product id: M2909S-512&lt;BR /&gt;               type: direct access&lt;BR /&gt;               size: 3027417 Kbytes&lt;BR /&gt;   bytes per sector: 512&lt;BR /&gt;          rev level: 0127&lt;BR /&gt;    blocks per disk: 6054834&lt;BR /&gt;        ISO version: 0&lt;BR /&gt;       ECMA version: 0&lt;BR /&gt;       ANSI version: 2&lt;BR /&gt;    removable media: no&lt;BR /&gt;    response format: 2&lt;BR /&gt;&lt;BR /&gt;How it is possible to get to know if the disk is  physically damaged? The disk allows to copy something by dd, however, sometimes claims I/O errors&lt;BR /&gt;&lt;BR /&gt;# dd if=/etc/ntp.conf of=/dev/dsk/c0t4d0&lt;BR /&gt;9+1 records in&lt;BR /&gt;9+1 records out&lt;BR /&gt;&lt;BR /&gt;# dd if=/etc/ntp.conf of=/dev/rdsk/c0t4d0&lt;BR /&gt;I/O error&lt;BR /&gt;9+1 records in&lt;BR /&gt;9+1 records out&lt;BR /&gt;&lt;BR /&gt;Thanks in advance! Any ideas will be highly appreciated!&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Mihails</description>
      <pubDate>Tue, 10 Apr 2001 15:34:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515681#M829980</guid>
      <dc:creator>Mihails Nikitins</dc:creator>
      <dc:date>2001-04-10T15:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate error: damaged disk?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515682#M829981</link>
      <description>perform the following:&lt;BR /&gt;dd if=/dev/rdsk/c0t5d0 of=/dev/null bs=xxxx&lt;BR /&gt;(bs is the block size)&lt;BR /&gt;it should give something like this:&lt;BR /&gt;184436+0 records in&lt;BR /&gt;184436+0 records out&lt;BR /&gt;&lt;BR /&gt;if it doesn't, then maybe you have an hw error.&lt;BR /&gt;good luck.</description>
      <pubDate>Tue, 10 Apr 2001 15:54:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515682#M829981</guid>
      <dc:creator>Pedro Sousa</dc:creator>
      <dc:date>2001-04-10T15:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate error: damaged disk?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515683#M829982</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try the mediainit command that reinitialize disk.&lt;BR /&gt;Takes some time but helps.</description>
      <pubDate>Tue, 10 Apr 2001 16:14:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515683#M829982</guid>
      <dc:creator>Wieslaw Krajewski</dc:creator>
      <dc:date>2001-04-10T16:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate error: damaged disk?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515684#M829983</link>
      <description>From your posting it seems that dd is sometimes failing with an I/O error. That is a fairly certain sign that the disk is not good, if all other discs on the same interface are not experiencing problems.&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Apr 2001 07:07:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515684#M829983</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2001-04-11T07:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate error: damaged disk?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515685#M829984</link>
      <description>&lt;BR /&gt;DD reporting an error means there is a problem with the filesystem on the disk, not necessarily the disk itself. May only be a bad block which needs to be remapped in order for it to be usable.  &lt;BR /&gt;&lt;BR /&gt;On a PC you would run a low-level formatter to remap all the bad blocks and make it useable. On HP-UX use the mediainit command to do the low level format. Only if mediainit fails then the disk is no good.&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Apr 2001 07:19:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515685#M829984</guid>
      <dc:creator>Edward Sedgemore</dc:creator>
      <dc:date>2001-04-11T07:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate error: damaged disk?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515686#M829985</link>
      <description>Try with pvcreate -f /dev/rdsk/c0t4d0 &lt;BR /&gt;</description>
      <pubDate>Wed, 11 Apr 2001 08:15:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515686#M829985</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-04-11T08:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate error: damaged disk?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515687#M829986</link>
      <description>I agree with a few statements here.&lt;BR /&gt;Use dd to wipe out the disk, overwrite the disk header.  Also the pvcreate -f to force the writing of the header are good.&lt;BR /&gt;&lt;BR /&gt;One thing to note about mediainit, it works for HP disks.  If your disk is a 3rd party disk it may/maynot work.  Simply put, there is no guarantee it will work.  Check with your vendor, they may have some formatter to use instead.</description>
      <pubDate>Wed, 11 Apr 2001 10:16:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515687#M829986</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2001-04-11T10:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate error: damaged disk?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515688#M829987</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If dd fails with i/o error reading from or writing to the disk it means your it is damaged. You can confirm it if you have Support Tool Manager installed in this system. Run `mstm` - Menu tools, run, utility, select logtool with spacebar, ok.&lt;BR /&gt;In logtool, select view menu, formatted log, choose dir to write it, ok. After formatting it, you can check if there are hardware errors logged from your disk. It is identified by its hardware path. Issue an `lssf /dev/dsk/&lt;DISK_DEV_FILE&gt;` to find it.&lt;BR /&gt;If you have an HP hardware support agreement, You can ask a Customer Engineer to do that for you.&lt;/DISK_DEV_FILE&gt;</description>
      <pubDate>Wed, 11 Apr 2001 13:13:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515688#M829987</guid>
      <dc:creator>Celso Medina Kern</dc:creator>
      <dc:date>2001-04-11T13:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate error: damaged disk?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515689#M829988</link>
      <description>I agree with Vincenzo, the -f option should force the creation of this disk.</description>
      <pubDate>Wed, 11 Apr 2001 13:17:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515689#M829988</guid>
      <dc:creator>Jim Moffitt_1</dc:creator>
      <dc:date>2001-04-11T13:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: pvcreate error: damaged disk?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515690#M829989</link>
      <description>I'm not agree with Vincenzo because if you have a disk damage the -f option doesn't work.&lt;BR /&gt;For me, is best to check the disk with the dd command.</description>
      <pubDate>Tue, 08 Oct 2002 14:02:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvcreate-error-damaged-disk/m-p/2515690#M829989</guid>
      <dc:creator>Massimo_20</dc:creator>
      <dc:date>2002-10-08T14:02:27Z</dc:date>
    </item>
  </channel>
</rss>

