<?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: clean disk mirror. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818505#M611027</link>
    <description>What is the LVOL you want to remove?&lt;BR /&gt;&lt;BR /&gt;Check if it is mounted, umount it and lvremove, e.g.&lt;BR /&gt;&lt;BR /&gt;lvremove /dev/vg00/lvol98&lt;BR /&gt;&lt;BR /&gt;Be carefull, pvcreate -f will destroy all data on the disk!</description>
    <pubDate>Thu, 06 Jul 2006 07:16:07 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2006-07-06T07:16:07Z</dc:date>
    <item>
      <title>clean disk mirror.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818504#M611026</link>
      <description>My friends,&lt;BR /&gt;&lt;BR /&gt;I have one big problem.&lt;BR /&gt;I have one disk, that don´t are reduce the lvol.&lt;BR /&gt;Was three lvols.&lt;BR /&gt;I did lvreduce , pvcreate -f, but not do.&lt;BR /&gt;&lt;BR /&gt;--- Physical volumes ---&lt;BR /&gt;PV Name                     /dev/dsk/c3t15d0&lt;BR /&gt;VG Name                     /dev/vg00&lt;BR /&gt;PV Status                   available                &lt;BR /&gt;Allocatable                 yes          &lt;BR /&gt;VGDA                        2   &lt;BR /&gt;Cur LV                      3      &lt;BR /&gt;PE Size (Mbytes)            16              &lt;BR /&gt;Total PE                    4374    &lt;BR /&gt;Free PE                     3524    &lt;BR /&gt;Allocated PE                850         &lt;BR /&gt;Stale PE                    0       &lt;BR /&gt;IO Timeout (Seconds)        default             &lt;BR /&gt;Autoswitch                  On        &lt;BR /&gt;&lt;BR /&gt;   --- Distribution of physical volume ---&lt;BR /&gt;   LV Name            LE of LV  PE for LV &lt;BR /&gt;   /dev/vg00/lvol5    12        12        &lt;BR /&gt;   /dev/vg00/lvol11   13        13        &lt;BR /&gt;   /dev/vg00/lvol98   825       825       &lt;BR /&gt;&lt;BR /&gt;Please I need help.</description>
      <pubDate>Thu, 06 Jul 2006 07:10:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818504#M611026</guid>
      <dc:creator>Eberno</dc:creator>
      <dc:date>2006-07-06T07:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: clean disk mirror.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818505#M611027</link>
      <description>What is the LVOL you want to remove?&lt;BR /&gt;&lt;BR /&gt;Check if it is mounted, umount it and lvremove, e.g.&lt;BR /&gt;&lt;BR /&gt;lvremove /dev/vg00/lvol98&lt;BR /&gt;&lt;BR /&gt;Be carefull, pvcreate -f will destroy all data on the disk!</description>
      <pubDate>Thu, 06 Jul 2006 07:16:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818505#M611027</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2006-07-06T07:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: clean disk mirror.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818506#M611028</link>
      <description>&lt;BR /&gt;Not really sure what you want to do. &lt;BR /&gt;&lt;BR /&gt;to break the mirrors &lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c3t5d0&lt;BR /&gt;&lt;BR /&gt;you need to do that for each logical volume. &lt;BR /&gt;By telling it what disk you know which disk it will remove the mirror from. &lt;BR /&gt;&lt;BR /&gt;Then if you want to pvcreate the disk&lt;BR /&gt;&lt;BR /&gt;vgreduce vg00 /dev/dsk/c3t5d0&lt;BR /&gt;&lt;BR /&gt;pvcreate /dev/rdsk/c3t5d0&lt;BR /&gt;&lt;BR /&gt;then you can use that disk in another volume group. &lt;BR /&gt;&lt;BR /&gt;I would suggest you do a vgdisplay and see if you reduced the lvols off the other physical disk. &lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jul 2006 07:20:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818506#M611028</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2006-07-06T07:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: clean disk mirror.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818507#M611029</link>
      <description>Hi Eberno,&lt;BR /&gt;&lt;BR /&gt;I'm not sure what you would like to do.&lt;BR /&gt;&lt;BR /&gt;would you like to remove all three logical volumes from this disk?&lt;BR /&gt;/dev/vg00/lvol5&lt;BR /&gt;/dev/vg00/lvol11&lt;BR /&gt;/dev/vg00/lvol98&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 06 Jul 2006 07:21:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818507#M611029</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2006-07-06T07:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: clean disk mirror.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818508#M611030</link>
      <description>&lt;!--!*#--&gt;My friend,&lt;BR /&gt;&lt;BR /&gt;I need umount, my lvol?&lt;BR /&gt;The lvol are in disk mirror, and I want clean.&lt;BR /&gt;look this pvdisplay of the disk mirror.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jul 2006 07:25:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818508#M611030</guid>
      <dc:creator>Eberno</dc:creator>
      <dc:date>2006-07-06T07:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: clean disk mirror.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818509#M611031</link>
      <description>I guess I know now what you want.&lt;BR /&gt;&lt;BR /&gt;You want to free the disk /dev/dsk/c3t15d0, right?&lt;BR /&gt;&lt;BR /&gt;So assuming the LVOLs 5, 11, and 98 are mirrored, you need to break the mirror first.&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 /dev/vg00/lvol5 /dev/rdsk/c3t15d0&lt;BR /&gt;&lt;BR /&gt;After this, check pvdisplay again. You should see now an empty disk.</description>
      <pubDate>Thu, 06 Jul 2006 07:30:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818509#M611031</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2006-07-06T07:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: clean disk mirror.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818510#M611032</link>
      <description>If those logical volumes are mirrors you can just remove the mirror see my above post.&lt;BR /&gt;&lt;BR /&gt;If they are not mirrors, then you will need to either do pvmove and move them to the other disk. Or umount them and do an lvremove. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jul 2006 07:31:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818510#M611032</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2006-07-06T07:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: clean disk mirror.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818511#M611033</link>
      <description>My friends&lt;BR /&gt;    I need to clean the record that this with some lvols, that they had been taken off the espelhamento.  Ja I made the commands lvreduce, vgreduce and finally pvcreate - f to clean the record and not yet I obtained clean it.</description>
      <pubDate>Thu, 06 Jul 2006 07:33:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818511#M611033</guid>
      <dc:creator>Eberno</dc:creator>
      <dc:date>2006-07-06T07:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: clean disk mirror.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818512#M611034</link>
      <description>I took off the mirror of lvols and exactly thus still they remain in the record.</description>
      <pubDate>Thu, 06 Jul 2006 07:36:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818512#M611034</guid>
      <dc:creator>Eberno</dc:creator>
      <dc:date>2006-07-06T07:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: clean disk mirror.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818513#M611035</link>
      <description>"remain in the record"&lt;BR /&gt;&lt;BR /&gt;What remains where?&lt;BR /&gt;&lt;BR /&gt;If possible, describe the problem again and post some more information, like vgdisplay, lvdisplay and so on.</description>
      <pubDate>Thu, 06 Jul 2006 07:39:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818513#M611035</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2006-07-06T07:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: clean disk mirror.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818514#M611036</link>
      <description>sometime even a pvcreate -f will not destroy all lvm information on the disk. What you can do is to dd a large file or some empty space to the first part of the disk.&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/null of=/dev/rdsk/c3t15d0 bs=1024k count=10&lt;BR /&gt;# pvcreate -f /dev/....&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 06 Jul 2006 07:39:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818514#M611036</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2006-07-06T07:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: clean disk mirror.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818515#M611037</link>
      <description>My friends,&lt;BR /&gt;&lt;BR /&gt;In file, the pvdisplay, lvdisplay and vgdisplay.</description>
      <pubDate>Thu, 06 Jul 2006 07:52:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818515#M611037</guid>
      <dc:creator>Eberno</dc:creator>
      <dc:date>2006-07-06T07:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: clean disk mirror.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818516#M611038</link>
      <description>&lt;!--!*#--&gt;Look, your LVOLs are not mirrored (at least now) but spanning across different disks:&lt;BR /&gt;&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg00/lvol98&lt;BR /&gt;VG Name                     /dev/vg00&lt;BR /&gt;LV Permission               read/write   &lt;BR /&gt;LV Status                   available/syncd           &lt;BR /&gt;Mirror copies               0            &lt;BR /&gt;Consistency Recovery        MWC                 &lt;BR /&gt;Schedule                    parallel     &lt;BR /&gt;LV Size (Mbytes)            15008           &lt;BR /&gt;Current LE                  938       &lt;BR /&gt;Allocated PE                938         &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/c1t15d0   113       113       &lt;BR /&gt;   /dev/dsk/c3t15d0   825       825       &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Do you want to delete the LVOLs completly?</description>
      <pubDate>Thu, 06 Jul 2006 07:57:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818516#M611038</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2006-07-06T07:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: clean disk mirror.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818517#M611039</link>
      <description>Thanks my friend.</description>
      <pubDate>Thu, 06 Jul 2006 08:01:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818517#M611039</guid>
      <dc:creator>Eberno</dc:creator>
      <dc:date>2006-07-06T08:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: clean disk mirror.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818518#M611040</link>
      <description>Well seems to me that your other physical disk is not large enough to contain all the data from the disk you want "clean". &lt;BR /&gt;&lt;BR /&gt;you only have 85 PE free and the 3 lvols you are trying to remove from the disk take up &lt;BR /&gt;&lt;BR /&gt;12 13 and 825. = 850 PE's &lt;BR /&gt;&lt;BR /&gt;you could pvmove lvol5 and lvol11 to c1t15d0&lt;BR /&gt;&lt;BR /&gt;pvmove -n /dev/vg00/lvol5 /dev/dsk/c1t15d0&lt;BR /&gt;pvmove -n /dev/vg00/lvol11 /dev/dsk/c1t15d0&lt;BR /&gt;&lt;BR /&gt;but disk c1t15d0 does not have enough free space to hold all of lvol98.  You would need to lvreduce the size of lvol98. Thus shrinking the volume group in order to completely clean the c1t15d0 disk. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jul 2006 08:04:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818518#M611040</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2006-07-06T08:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: clean disk mirror.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818519#M611041</link>
      <description>Well seems to me that your other physical disk is not large enough to contain all the data from the disk you want "clean". &lt;BR /&gt;&lt;BR /&gt;you only have 85 PE free and the 3 lvols you are trying to remove from the disk take up &lt;BR /&gt;&lt;BR /&gt;12 13 and 825. = 850 PE's &lt;BR /&gt;&lt;BR /&gt;you could pvmove lvol5 and lvol11 to c1t15d0&lt;BR /&gt;&lt;BR /&gt;pvmove -n /dev/vg00/lvol5 /dev/dsk/c1t15d0&lt;BR /&gt;pvmove -n /dev/vg00/lvol11 /dev/dsk/c1t15d0&lt;BR /&gt;&lt;BR /&gt;but disk c1t15d0 does not have enough free space to hold all of lvol98.  You would need to lvreduce the size of lvol98. Thus shrinking the logical volume in order to completely clean the c1t15d0 disk. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jul 2006 08:04:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818519#M611041</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2006-07-06T08:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: clean disk mirror.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818520#M611042</link>
      <description>I hope you didn't the "dd" command already, because this will corrupt these LVOLs.&lt;BR /&gt;&lt;BR /&gt;As mentioned, the data in the LVOL is on 2 different disks (and NOT mirrored!). &lt;BR /&gt;&lt;BR /&gt;If you delete one disk, you delete the data too and corrupt it.</description>
      <pubDate>Thu, 06 Jul 2006 08:11:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818520#M611042</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2006-07-06T08:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: clean disk mirror.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818521#M611043</link>
      <description>Thank you very much, my friends.</description>
      <pubDate>Thu, 06 Jul 2006 08:18:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clean-disk-mirror/m-p/3818521#M611043</guid>
      <dc:creator>Eberno</dc:creator>
      <dc:date>2006-07-06T08:18:18Z</dc:date>
    </item>
  </channel>
</rss>

