<?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 Integrity SAS Controller's Integrated Mirrors vs LVM data in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/integrity-sas-controller-s-integrated-mirrors-vs-lvm-data/m-p/5114352#M587183</link>
    <description>Helloooo ITRC Forums !&lt;BR /&gt;&lt;BR /&gt;Today I tried something with an Integrity (rx3600) host that I thought would work, but alas it did not.  I am trying to figure out what went wrong, and maybe if I'm lucky fix it.&lt;BR /&gt;&lt;BR /&gt;Here goes : &lt;BR /&gt;Had volume group vg01.&lt;BR /&gt;vg01 contained two logical volumes.&lt;BR /&gt;Volume group vg01 contained only ONE physical volume, used in a "whole disk" fashion.&lt;BR /&gt;Physical volume was internal SAS drive.&lt;BR /&gt;&lt;BR /&gt;I rebooted to the EFI shell proceeded to create an IR Mirror though the drvcfg utility.  I made sure sure the disk used as the PRIMARY was the one used as a physical volume in vg01.&lt;BR /&gt;&lt;BR /&gt;I then did a "boot vmunix -lm".&lt;BR /&gt;I activated vg00 and mounted the vg00 filesystems.&lt;BR /&gt;&lt;BR /&gt;I knew the IR volume would have a different instance number/hardware path/persistent DSF than the single disk I had used as a physical volume in vg01 so I did a vgexport of vg01, an ioscan, an insf, I located the new IR volume's DSF (disk 20) and here is what happened next :&lt;BR /&gt;&lt;BR /&gt;-------------CONSOLE STUFF---------------&lt;BR /&gt;&lt;BR /&gt;# vgimport -v -m /tmp/mapfilevg01 /dev/vg01 /dev/disk/disk20&lt;BR /&gt;Beginning the import process on Volume Group "/dev/vg01".&lt;BR /&gt;Logical volume "/dev/vg01/lvoracle" has been successfully created&lt;BR /&gt;with lv number 1.&lt;BR /&gt;Logical volume "/dev/vg01/lvtmp_oracle" has been successfully created&lt;BR /&gt;with lv number 2.&lt;BR /&gt;vgimport: Volume group "/dev/vg01" has been successfully created.&lt;BR /&gt;Warning: A backup of this volume group may not exist on this machine.&lt;BR /&gt;Please remember to take a backup using the vgcfgbackup command after activating the volume group.&lt;BR /&gt;# strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/disk/disk13_p2&lt;BR /&gt;/dev/vg02&lt;BR /&gt;/dev/disk/disk18&lt;BR /&gt;/dev/vg01&lt;BR /&gt;&amp;gt;HH1`&lt;BR /&gt;/dev/disk/disk20&lt;BR /&gt;# vgchange -a y vg01&lt;BR /&gt;vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/disk/disk20":&lt;BR /&gt;Illegal byte sequence&lt;BR /&gt;vgchange: Couldn't activate volume group "vg01":&lt;BR /&gt;Quorum not present, or some physical volume(s) are missing.&lt;BR /&gt;&lt;BR /&gt;vgchange: Warning: couldn't query physical volume "/dev/disk/disk20":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgchange: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;# dd if=/dev/disk/disk20&lt;BR /&gt;LVMREC014{&lt;BR /&gt;&amp;gt;HH0Ñ4{&lt;BR /&gt;&amp;gt;HH1`EÜÈ        V*      EÐ      EÙÀPuTTYPuTTYDEFECT0141+0 records in&lt;BR /&gt;40+0 records out&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;----- END CONSOLE STUFF ---------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sooooo it looks like the LVM info is still there but broken ?  Or maybe the disk geometry of the Mirrored drives does not fit what LVM expected to find ? &lt;BR /&gt;&lt;BR /&gt;# diskinfo /dev/rdisk/disk20&lt;BR /&gt;SCSI describe of /dev/rdisk/disk20:&lt;BR /&gt;             vendor: HP&lt;BR /&gt;         product id: IR Volume&lt;BR /&gt;               type: direct access&lt;BR /&gt;               size: 71288832 Kbytes&lt;BR /&gt;   bytes per sector: 512&lt;BR /&gt;# diskinfo /dev/rdisk/disk10&lt;BR /&gt;SCSI describe of /dev/rdisk/disk10:&lt;BR /&gt;             vendor: HP&lt;BR /&gt;         product id: DG072BB975&lt;BR /&gt;               type: direct access&lt;BR /&gt;               size: 71687369 Kbytes&lt;BR /&gt;   bytes per sector: 512&lt;BR /&gt;&lt;BR /&gt;In the previous output disk20 is IR'd and disk10 is a SAS drive, same model that was used times two to make disk20.  Number of bytes are not equal.  Would that confuse LVM ?   Can it be fixed ?   I might try to "break" the mirror and see if the data comes back....&lt;BR /&gt;&lt;BR /&gt;Thoughts and comments appreciated.&lt;BR /&gt;I are glad that I not have mirrored boot disk :P~</description>
    <pubDate>Tue, 17 Jun 2008 19:19:18 GMT</pubDate>
    <dc:creator>Francis Noël</dc:creator>
    <dc:date>2008-06-17T19:19:18Z</dc:date>
    <item>
      <title>Integrity SAS Controller's Integrated Mirrors vs LVM data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/integrity-sas-controller-s-integrated-mirrors-vs-lvm-data/m-p/5114352#M587183</link>
      <description>Helloooo ITRC Forums !&lt;BR /&gt;&lt;BR /&gt;Today I tried something with an Integrity (rx3600) host that I thought would work, but alas it did not.  I am trying to figure out what went wrong, and maybe if I'm lucky fix it.&lt;BR /&gt;&lt;BR /&gt;Here goes : &lt;BR /&gt;Had volume group vg01.&lt;BR /&gt;vg01 contained two logical volumes.&lt;BR /&gt;Volume group vg01 contained only ONE physical volume, used in a "whole disk" fashion.&lt;BR /&gt;Physical volume was internal SAS drive.&lt;BR /&gt;&lt;BR /&gt;I rebooted to the EFI shell proceeded to create an IR Mirror though the drvcfg utility.  I made sure sure the disk used as the PRIMARY was the one used as a physical volume in vg01.&lt;BR /&gt;&lt;BR /&gt;I then did a "boot vmunix -lm".&lt;BR /&gt;I activated vg00 and mounted the vg00 filesystems.&lt;BR /&gt;&lt;BR /&gt;I knew the IR volume would have a different instance number/hardware path/persistent DSF than the single disk I had used as a physical volume in vg01 so I did a vgexport of vg01, an ioscan, an insf, I located the new IR volume's DSF (disk 20) and here is what happened next :&lt;BR /&gt;&lt;BR /&gt;-------------CONSOLE STUFF---------------&lt;BR /&gt;&lt;BR /&gt;# vgimport -v -m /tmp/mapfilevg01 /dev/vg01 /dev/disk/disk20&lt;BR /&gt;Beginning the import process on Volume Group "/dev/vg01".&lt;BR /&gt;Logical volume "/dev/vg01/lvoracle" has been successfully created&lt;BR /&gt;with lv number 1.&lt;BR /&gt;Logical volume "/dev/vg01/lvtmp_oracle" has been successfully created&lt;BR /&gt;with lv number 2.&lt;BR /&gt;vgimport: Volume group "/dev/vg01" has been successfully created.&lt;BR /&gt;Warning: A backup of this volume group may not exist on this machine.&lt;BR /&gt;Please remember to take a backup using the vgcfgbackup command after activating the volume group.&lt;BR /&gt;# strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/disk/disk13_p2&lt;BR /&gt;/dev/vg02&lt;BR /&gt;/dev/disk/disk18&lt;BR /&gt;/dev/vg01&lt;BR /&gt;&amp;gt;HH1`&lt;BR /&gt;/dev/disk/disk20&lt;BR /&gt;# vgchange -a y vg01&lt;BR /&gt;vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/disk/disk20":&lt;BR /&gt;Illegal byte sequence&lt;BR /&gt;vgchange: Couldn't activate volume group "vg01":&lt;BR /&gt;Quorum not present, or some physical volume(s) are missing.&lt;BR /&gt;&lt;BR /&gt;vgchange: Warning: couldn't query physical volume "/dev/disk/disk20":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgchange: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;# dd if=/dev/disk/disk20&lt;BR /&gt;LVMREC014{&lt;BR /&gt;&amp;gt;HH0Ñ4{&lt;BR /&gt;&amp;gt;HH1`EÜÈ        V*      EÐ      EÙÀPuTTYPuTTYDEFECT0141+0 records in&lt;BR /&gt;40+0 records out&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;----- END CONSOLE STUFF ---------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sooooo it looks like the LVM info is still there but broken ?  Or maybe the disk geometry of the Mirrored drives does not fit what LVM expected to find ? &lt;BR /&gt;&lt;BR /&gt;# diskinfo /dev/rdisk/disk20&lt;BR /&gt;SCSI describe of /dev/rdisk/disk20:&lt;BR /&gt;             vendor: HP&lt;BR /&gt;         product id: IR Volume&lt;BR /&gt;               type: direct access&lt;BR /&gt;               size: 71288832 Kbytes&lt;BR /&gt;   bytes per sector: 512&lt;BR /&gt;# diskinfo /dev/rdisk/disk10&lt;BR /&gt;SCSI describe of /dev/rdisk/disk10:&lt;BR /&gt;             vendor: HP&lt;BR /&gt;         product id: DG072BB975&lt;BR /&gt;               type: direct access&lt;BR /&gt;               size: 71687369 Kbytes&lt;BR /&gt;   bytes per sector: 512&lt;BR /&gt;&lt;BR /&gt;In the previous output disk20 is IR'd and disk10 is a SAS drive, same model that was used times two to make disk20.  Number of bytes are not equal.  Would that confuse LVM ?   Can it be fixed ?   I might try to "break" the mirror and see if the data comes back....&lt;BR /&gt;&lt;BR /&gt;Thoughts and comments appreciated.&lt;BR /&gt;I are glad that I not have mirrored boot disk :P~</description>
      <pubDate>Tue, 17 Jun 2008 19:19:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/integrity-sas-controller-s-integrated-mirrors-vs-lvm-data/m-p/5114352#M587183</guid>
      <dc:creator>Francis Noël</dc:creator>
      <dc:date>2008-06-17T19:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Integrity SAS Controller's Integrated Mirrors vs LVM data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/integrity-sas-controller-s-integrated-mirrors-vs-lvm-data/m-p/5114353#M587184</link>
      <description>yeppers, it is reversible !&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Same original disk, after deleting the array in drvcfg.  DSF is back to disk9.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# vgexport vg01&lt;BR /&gt;vgexport: Volume group "vg01" has been successfully removed.&lt;BR /&gt;# mkdir /dev/vg01&lt;BR /&gt;# mknod /dev/vg01/group c 64 0x010000&lt;BR /&gt;# vgimport -v -m /tmp/mapfilevg01 /dev/vg01 /dev/disk/disk9&lt;BR /&gt;Beginning the import process on Volume Group "/dev/vg01".&lt;BR /&gt;Logical volume "/dev/vg01/lvoracle" has been successfully created&lt;BR /&gt;with lv number 1.&lt;BR /&gt;Logical volume "/dev/vg01/lvtmp_oracle" has been successfully created&lt;BR /&gt;with lv number 2.&lt;BR /&gt;vgimport: Volume group "/dev/vg01" has been successfully created.&lt;BR /&gt;Warning: A backup of this volume group may not exist on this machine.&lt;BR /&gt;Please remember to take a backup using the vgcfgbackup command after activating the volume group.&lt;BR /&gt;# vgchange -a y vg01&lt;BR /&gt;Activated volume group&lt;BR /&gt;Volume group "vg01" has been successfully changed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'm still thinking different geometry confuses LVM......</description>
      <pubDate>Tue, 17 Jun 2008 19:31:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/integrity-sas-controller-s-integrated-mirrors-vs-lvm-data/m-p/5114353#M587184</guid>
      <dc:creator>Francis Noël</dc:creator>
      <dc:date>2008-06-17T19:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Integrity SAS Controller's Integrated Mirrors vs LVM data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/integrity-sas-controller-s-integrated-mirrors-vs-lvm-data/m-p/5114354#M587185</link>
      <description>I dunno if any of this has been attempted or documented on the forums so in hopes someone might have a use for this I'll post interesting observations. &lt;BR /&gt;&lt;BR /&gt;I'm having fun and I wanna share :)&lt;BR /&gt;&lt;BR /&gt;The drive I had used as the Secondary in the IR Mirror is now a valid PV.  Not only that but I imported it into a new VG just for kicks and my lvols and file systems are there and usable.&lt;BR /&gt;&lt;BR /&gt;So the mirror works and does not destroy the data upon deletion of the array.  The primary disk is also still usable.&lt;BR /&gt;&lt;BR /&gt;Mirrored form confuses LVM, I think it is because the geometry of the IR Volume is not the same as the original drive used and I suspect LVM records that info in its disk headers.  Confirmation of my theory as well as any ideas on how to overcome this are welcome !</description>
      <pubDate>Tue, 17 Jun 2008 19:43:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/integrity-sas-controller-s-integrated-mirrors-vs-lvm-data/m-p/5114354#M587185</guid>
      <dc:creator>Francis Noël</dc:creator>
      <dc:date>2008-06-17T19:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Integrity SAS Controller's Integrated Mirrors vs LVM data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/integrity-sas-controller-s-integrated-mirrors-vs-lvm-data/m-p/5114355#M587186</link>
      <description>Well it seems it cannot be overcome.&lt;BR /&gt;&lt;BR /&gt;HP Support confirms that creating an IR Mirror after putting data on the disks is not supported.&lt;BR /&gt;&lt;BR /&gt;There were also hints that the Migrate Data option would be removed from the Array Creation Options in upcoming controller firmware releases.</description>
      <pubDate>Wed, 25 Jun 2008 17:15:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/integrity-sas-controller-s-integrated-mirrors-vs-lvm-data/m-p/5114355#M587186</guid>
      <dc:creator>Francis Noël</dc:creator>
      <dc:date>2008-06-25T17:15:04Z</dc:date>
    </item>
  </channel>
</rss>

