<?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: Mirror in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/2432276#M656065</link>
    <description>You can also do a lvsplit.  This will create logical volume say lvol1b.  You can mount this lv and see if your data is getting updated properly.  Then do an lvmerge.  Take care, this is a dangerous command.  Pls. go through the command syntax before executing this one.  It can mirror the reverse way causing data loss.</description>
    <pubDate>Tue, 25 Jul 2000 06:13:17 GMT</pubDate>
    <dc:creator>N. Balasubrahmanian</dc:creator>
    <dc:date>2000-07-25T06:13:17Z</dc:date>
    <item>
      <title>Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/2432270#M656059</link>
      <description>I mirrored the drive /dev/dsk/c0t14d0 to /dev/dsk/c0t15d0 using:&lt;BR /&gt;"lvextend -m 1 /dev/vg01/data1 /dev/dsk/c0t15d0" - no problems, all seems to work OK.&lt;BR /&gt;My question is how do I check to see if the mirroring is working OK. I tried mounting the /dev/dsk/c0t15d0 device and the reply was "unrecognized file system". Can I check the data on the mirrored drive to make sure it is mirroring or do I just trust it is ?</description>
      <pubDate>Mon, 24 Jul 2000 00:26:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/2432270#M656059</guid>
      <dc:creator>JUP</dc:creator>
      <dc:date>2000-07-24T00:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/2432271#M656060</link>
      <description>You can use:&lt;BR /&gt;#lvdisplay -v /dev/vg01/data1&lt;BR /&gt;then u can find the information are different from lv not mirrored.&lt;BR /&gt;&lt;BR /&gt;Another way is:&lt;BR /&gt;#dd if=/dev/vg01/rdata1 of=/dev/null bs=64k&lt;BR /&gt;&lt;BR /&gt;U should see the two disks blinking at same frequency.</description>
      <pubDate>Mon, 24 Jul 2000 05:09:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/2432271#M656060</guid>
      <dc:creator>exec</dc:creator>
      <dc:date>2000-07-24T05:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/2432272#M656061</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you cannot mount /dev/dsk/c0t15d0 because you are using LVM and mounting disk device is not supported.&lt;BR /&gt;With lvdisplay -v /dev/vg01/data1 you can see if mirroring is working:&lt;BR /&gt;The output looks like:&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg01/data1&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;LV Permission               read/write&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;Mirror copies               1&lt;BR /&gt;Consistency Recovery        MWC&lt;BR /&gt;Schedule                    parallel&lt;BR /&gt;LV Size (Mbytes)            40&lt;BR /&gt;Current LE                  10&lt;BR /&gt;Allocated PE                20&lt;BR /&gt;Stripes                     0&lt;BR /&gt;Stripe Size (Kbytes)        0&lt;BR /&gt;Bad block                   on&lt;BR /&gt;Allocation                  strict&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name            LE on PV  PE on PV&lt;BR /&gt;   /dev/dsk/c0t14d0    10        10&lt;BR /&gt;   /dev/dsk/c0t15d0    10        10&lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE   PV1                PE1  Status 1 PV2                PE2  Status 2&lt;BR /&gt;   0000 /dev/dsk/c0t14d0    0171 current  /dev/dsk/c0t15d0    0171 current&lt;BR /&gt;&lt;BR /&gt;As you see there are two PV's (physical volumes) for each LE (logical extend).&lt;BR /&gt;If there are all LE on both PE your mirroring is working correct.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Andrew</description>
      <pubDate>Mon, 24 Jul 2000 05:36:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/2432272#M656061</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-07-24T05:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/2432273#M656062</link>
      <description>Use the following command to check, &lt;BR /&gt;&lt;BR /&gt;# lvdisplay /dev/vg01/data1&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg01/data1&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;LV Permission               read/write&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;Mirror copies               1 &lt;BR /&gt;&lt;BR /&gt;If the above entry "Mirror copies    1" is there means ur /dev/vg01/data1 is mirrored.&lt;BR /&gt;To check if the mirroring is working OK or not, write one file (eg. test)  on /dev/vg01/data1 and save it then just unplug the disk on which vg01 is configured then try to open the same file (# vi test)&lt;BR /&gt;If the file opens it means mirroring is working OK.&lt;BR /&gt;&lt;BR /&gt;I think this solves ur problem, good luck!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jul 2000 05:40:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/2432273#M656062</guid>
      <dc:creator>warghade</dc:creator>
      <dc:date>2000-07-24T05:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/2432274#M656063</link>
      <description>Thanks everyone.&lt;BR /&gt;I'm feeling confident all is OK now.</description>
      <pubDate>Mon, 24 Jul 2000 06:10:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/2432274#M656063</guid>
      <dc:creator>JUP</dc:creator>
      <dc:date>2000-07-24T06:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/2432275#M656064</link>
      <description>You can mount the mirror copy.  First you need to use the lvsplit command to split off the mirror copy and then that can be mounted.  &lt;BR /&gt;There is a pretty good document on the ITRC that covers this.  The document ID is X1401978.  It is about booting from a mirrored/split environment.  You can use most of it for any volume.&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jul 2000 13:14:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/2432275#M656064</guid>
      <dc:creator>Dave Wherry</dc:creator>
      <dc:date>2000-07-24T13:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/2432276#M656065</link>
      <description>You can also do a lvsplit.  This will create logical volume say lvol1b.  You can mount this lv and see if your data is getting updated properly.  Then do an lvmerge.  Take care, this is a dangerous command.  Pls. go through the command syntax before executing this one.  It can mirror the reverse way causing data loss.</description>
      <pubDate>Tue, 25 Jul 2000 06:13:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/2432276#M656065</guid>
      <dc:creator>N. Balasubrahmanian</dc:creator>
      <dc:date>2000-07-25T06:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/2432277#M656066</link>
      <description>You can also do a lvsplit.  This will create logical volume say lvol1b.  You can mount this lv and see if your data is getting updated properly.  Then do an lvmerge.  Take care, this is a dangerous command.  Pls. go through the command syntax before executing this one.  It can mirror the reverse way causing data loss.</description>
      <pubDate>Tue, 25 Jul 2000 06:13:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/2432277#M656066</guid>
      <dc:creator>N. Balasubrahmanian</dc:creator>
      <dc:date>2000-07-25T06:13:58Z</dc:date>
    </item>
  </channel>
</rss>

