<?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 Disk Mirroring Error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-error/m-p/3424522#M204682</link>
    <description>I am trying to mirror one of the HD that I have to my current OS that is running and this is the process that I am using:&lt;BR /&gt;# pvcreate —f —B /dev/rdsk/c1t0d0&lt;BR /&gt;# vgextend /dev/vg00 /dev/dsk/c1t0d0&lt;BR /&gt;# mkboot /dev/rdsk/c1t0d0&lt;BR /&gt;# mkboot -a “hpux —lq” /dev/rdsk/c1t0d0&lt;BR /&gt;# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c1t0d0&lt;BR /&gt;# for i in /dev/vg00/lvol*&lt;BR /&gt;do&lt;BR /&gt;lvextend —m 1 $i /dev/rdsk/c1t0d0&lt;BR /&gt;done&lt;BR /&gt;When I run the for/done I get this error:&lt;BR /&gt;lvextend: Physical volume "/dev/rdsk/c1t0d0" is not a block special file.&lt;BR /&gt;When I run ioscan -fnC disk I know that I am using the correct HD to mirror.&lt;BR /&gt;Any ideas why I can not per</description>
    <pubDate>Wed, 17 Nov 2004 16:51:22 GMT</pubDate>
    <dc:creator>Amonario Ramon_1</dc:creator>
    <dc:date>2004-11-17T16:51:22Z</dc:date>
    <item>
      <title>Disk Mirroring Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-error/m-p/3424522#M204682</link>
      <description>I am trying to mirror one of the HD that I have to my current OS that is running and this is the process that I am using:&lt;BR /&gt;# pvcreate —f —B /dev/rdsk/c1t0d0&lt;BR /&gt;# vgextend /dev/vg00 /dev/dsk/c1t0d0&lt;BR /&gt;# mkboot /dev/rdsk/c1t0d0&lt;BR /&gt;# mkboot -a “hpux —lq” /dev/rdsk/c1t0d0&lt;BR /&gt;# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c1t0d0&lt;BR /&gt;# for i in /dev/vg00/lvol*&lt;BR /&gt;do&lt;BR /&gt;lvextend —m 1 $i /dev/rdsk/c1t0d0&lt;BR /&gt;done&lt;BR /&gt;When I run the for/done I get this error:&lt;BR /&gt;lvextend: Physical volume "/dev/rdsk/c1t0d0" is not a block special file.&lt;BR /&gt;When I run ioscan -fnC disk I know that I am using the correct HD to mirror.&lt;BR /&gt;Any ideas why I can not per</description>
      <pubDate>Wed, 17 Nov 2004 16:51:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-error/m-p/3424522#M204682</guid>
      <dc:creator>Amonario Ramon_1</dc:creator>
      <dc:date>2004-11-17T16:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Mirroring Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-error/m-p/3424523#M204683</link>
      <description>When running the lvextend command, you must use /dev/dsk/c1t0d0 not /dev/rdsk/c1t0d0&lt;BR /&gt;&lt;BR /&gt;You must use block device</description>
      <pubDate>Wed, 17 Nov 2004 17:04:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-error/m-p/3424523#M204683</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2004-11-17T17:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Mirroring Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-error/m-p/3424524#M204684</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;this Need correction,&lt;BR /&gt;&lt;BR /&gt;# for i in /dev/vg00/lvol*&lt;BR /&gt;do&lt;BR /&gt;lvextend â  m 1 $i /dev/rdsk/c1t0d0&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;use /dev/dsk/c1t0d0 in place of /dev/rdsk/c1t0d0&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Reg</description>
      <pubDate>Wed, 17 Nov 2004 17:06:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-error/m-p/3424524#M204684</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-11-17T17:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Mirroring Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-error/m-p/3424525#M204685</link>
      <description>Hi Amonario,&lt;BR /&gt;&lt;BR /&gt;Not a good idea to run 'for i in /dev/vg00/lvol*' . If you have logical volumes from lvol1 - lvol12, then lvol11 may appear after lvol1. If you want to use 'for' then use for i in 1 2 3 4 5 6 7 etc.,&lt;BR /&gt;&lt;BR /&gt;Specify /dev/dsk not /dev/rdsk as said before.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 17 Nov 2004 17:15:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-error/m-p/3424525#M204685</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-17T17:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Mirroring Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-error/m-p/3424526#M204686</link>
      <description>And to add to the for i in /dev/vg00/lvol* comment, you should note that that list will probably be in lexical order so that lvol1, lvol10, lvol11, lvol1x will come before lvol2 and the first 3 LVOLS must be allocated first and in strict contigious order. The others don't matter but the first three do.&lt;BR /&gt;&lt;BR /&gt;You should really do somethings like this:&lt;BR /&gt;LVOLS="lvol1 lvol2 lvol3 lvol4 ... lvol9"&lt;BR /&gt;for i in ${LVOLS}&lt;BR /&gt;  do&lt;BR /&gt;    ....&lt;BR /&gt;  done&lt;BR /&gt;&lt;BR /&gt;so that you have absolute control over the order of LVOL creation.&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Nov 2004 18:49:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-error/m-p/3424526#M204686</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-11-17T18:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Disk Mirroring Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-error/m-p/3424527#M204687</link>
      <description>To add to the for i in /dev/vg00/lvol* comment..&lt;BR /&gt;&lt;BR /&gt;You can also do somethings like this:&lt;BR /&gt;&lt;BR /&gt;for i in `ls /dev/vg00/lvol*|awk '{print substr($1,1,length($1)}'|sort -n`&lt;BR /&gt;do&lt;BR /&gt;....&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol${i} /dev/dsk/c1tod0&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;so than the order of LVOL will be correct. &lt;BR /&gt;&lt;BR /&gt;Greetings CvB</description>
      <pubDate>Tue, 23 Nov 2004 04:39:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-error/m-p/3424527#M204687</guid>
      <dc:creator>Co van Berkel</dc:creator>
      <dc:date>2004-11-23T04:39:28Z</dc:date>
    </item>
  </channel>
</rss>

