<?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: iscsi and saniq in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125935#M315522</link>
    <description>Tim &lt;BR /&gt;one silly question, &lt;BR /&gt;&lt;BR /&gt;this is assuming the disk and such is mounted on the system during the snap?&lt;BR /&gt;&lt;BR /&gt;I do have a process to freeze the db.&lt;BR /&gt;&lt;BR /&gt;I only ask the above is because someone had snapped it before the system even knew of it.&lt;BR /&gt;&lt;BR /&gt;I do thank you for your time.&lt;BR /&gt;&lt;BR /&gt;Scott&lt;BR /&gt;</description>
    <pubDate>Tue, 08 Jan 2008 15:01:05 GMT</pubDate>
    <dc:creator>Scott_14</dc:creator>
    <dc:date>2008-01-08T15:01:05Z</dc:date>
    <item>
      <title>iscsi and saniq</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125931#M315518</link>
      <description>Is anyone out there using iscsi and saniq for doing snap shots?&lt;BR /&gt;&lt;BR /&gt;If so can someone offer me some useful process or how they are doing this for a backup?&lt;BR /&gt;Someone from my end did a snap on the san side, however I am believing there more to this than that, as in having to at least mount the file system that is getting the snap so it has useful data structure so it can be backed up, or exported to another system for backup.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;scott&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jan 2008 13:47:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125931#M315518</guid>
      <dc:creator>Scott_14</dc:creator>
      <dc:date>2008-01-08T13:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: iscsi and saniq</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125932#M315519</link>
      <description>I am not using iscsi or saniq but I would be lieve the method of snap copies would be then same.&lt;BR /&gt;&lt;BR /&gt;Set up array resources for snap, quiesce the source application, execute snap.  Present snap volume on same or other host, import vgs, fsck filesystems, mount and execute backups.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jan 2008 14:22:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125932#M315519</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-01-08T14:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: iscsi and saniq</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125933#M315520</link>
      <description>Well, the snap was done at the san level, before the system even knew about it, and for I guess giggles it was then presented&lt;BR /&gt;back to the system where I can see the drives, but I was concerned of importing it, since I did not want to overwrite the current volume group that was snapped, and I did not know if this type of snap, actually had all the volume group and lvol data to be able to import, since I did not have this disk mounted before.&lt;BR /&gt;&lt;BR /&gt;so if its snapped at the sna level your saying we should be able to import it?</description>
      <pubDate>Tue, 08 Jan 2008 14:37:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125933#M315520</guid>
      <dc:creator>Scott_14</dc:creator>
      <dc:date>2008-01-08T14:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: iscsi and saniq</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125934#M315521</link>
      <description>You can import the devices with a differnt VG name. &lt;BR /&gt;&lt;BR /&gt; ( you may have to execute vgchgid on the volumes if you get a message durning the import )&lt;BR /&gt;&lt;BR /&gt;Here would be the steps.&lt;BR /&gt;vgexport -p -m /tmp/map.vgorig /dev/vgorig&lt;BR /&gt;mkdir /dev/vgnew&lt;BR /&gt;mknod /dev/vgnew/group c 64 0x0A0000&lt;BR /&gt;vgimport -m /tmp/map.vgorig /dev/vgnew /dev/dsk/cxtxdx ...list all disks&lt;BR /&gt;vgchange -a y /dev/vgnew&lt;BR /&gt;fsck /dev/vgnew/lvolx   ( repeat for each )&lt;BR /&gt;mount /dev/vgnew/lvolx /snap/vol1&lt;BR /&gt;&lt;BR /&gt;Then before the next snap.&lt;BR /&gt;umount&lt;BR /&gt;vgchange -a n /dev/vgnew&lt;BR /&gt;vgexport /dev/vgnew&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Don't forget that if the snap is taken in while the application is running your data will most likely be corrupt.  Either shutdown the app during snap or at least put in some form of hot backup mode.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jan 2008 14:45:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125934#M315521</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-01-08T14:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: iscsi and saniq</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125935#M315522</link>
      <description>Tim &lt;BR /&gt;one silly question, &lt;BR /&gt;&lt;BR /&gt;this is assuming the disk and such is mounted on the system during the snap?&lt;BR /&gt;&lt;BR /&gt;I do have a process to freeze the db.&lt;BR /&gt;&lt;BR /&gt;I only ask the above is because someone had snapped it before the system even knew of it.&lt;BR /&gt;&lt;BR /&gt;I do thank you for your time.&lt;BR /&gt;&lt;BR /&gt;Scott&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jan 2008 15:01:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125935#M315522</guid>
      <dc:creator>Scott_14</dc:creator>
      <dc:date>2008-01-08T15:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: iscsi and saniq</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125936#M315523</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;this is assuming the disk and such is mounted on the system during the snap?&lt;BR /&gt;&lt;BR /&gt;Which disk ?  The snap disk ? or the origionals ?  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jan 2008 15:17:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125936#M315523</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-01-08T15:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: iscsi and saniq</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125937#M315524</link>
      <description>The Snap was done at the SAN level, with the disk not even mounted/presendted to the system.&lt;BR /&gt;&lt;BR /&gt;I was not sure if being done this way if you could import it, since the disk was never configured on the HP side, it was presented &lt;BR /&gt;after the SNAP.&lt;BR /&gt;&lt;BR /&gt;So being done this way, you can also import it? I did not know since I never really exported it first.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jan 2008 17:23:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125937#M315524</guid>
      <dc:creator>Scott_14</dc:creator>
      <dc:date>2008-01-08T17:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: iscsi and saniq</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125938#M315525</link>
      <description>The snap disks are going to be exact duplicates of the sources including LVM header info hence the need to do a vgimport with a new name using the map file from the origionals.&lt;BR /&gt;&lt;BR /&gt;This cannot be done while the snaps are registered by the system for one of two reasons.  1) the filesystem stucture is updated behind the scene and will confuse the OS if mounted during snap operation. 2) Most of the time snap operations take the snap volumes offline if only for an instant, if still active on the system then you will get errors on the system.&lt;BR /&gt;&lt;BR /&gt;Summary of procedure:&lt;BR /&gt;&lt;BR /&gt;Initial first time:&lt;BR /&gt;execute snap&lt;BR /&gt;present snap vols to server&lt;BR /&gt;ioscan and insf so server sees new vols&lt;BR /&gt;vgimport using map file from origionals&lt;BR /&gt;activate vg&lt;BR /&gt;fsck new vols&lt;BR /&gt;mount new vols&lt;BR /&gt;&lt;BR /&gt;Time to re-snap:&lt;BR /&gt;unmount snap vols from server&lt;BR /&gt;deactivate vg&lt;BR /&gt;vgexport&lt;BR /&gt;execute snap&lt;BR /&gt;&lt;BR /&gt;Time to remount:&lt;BR /&gt;ioscan to re-register device files&lt;BR /&gt;vgimport with map file&lt;BR /&gt;fsck &lt;BR /&gt;mount&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jan 2008 18:13:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125938#M315525</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-01-08T18:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: iscsi and saniq</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125939#M315526</link>
      <description>BINGO&lt;BR /&gt;&lt;BR /&gt;That is what I was asking, maybe not enough coffee....&lt;BR /&gt;&lt;BR /&gt;THANKS...&lt;BR /&gt;&lt;BR /&gt;I was not sure if it would replicate the volume group info, so for the fast test we did, I was in a sense correct that it was a duplicate and needed imported, however it would have to be done as a different group.&lt;BR /&gt;&lt;BR /&gt;The ideal here was to mount it to another system.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Tue, 08 Jan 2008 19:29:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125939#M315526</guid>
      <dc:creator>Scott_14</dc:creator>
      <dc:date>2008-01-08T19:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: iscsi and saniq</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125940#M315527</link>
      <description>If mounting the snaps to another server you will need to add the vgchgid command to the list of actions just prior to the vgimport.&lt;BR /&gt;&lt;BR /&gt;i.e. vgchgid /dev/rdsk/cxtxdx /dev/rdsk/cxtxdx ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Check out the man page for description.&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jan 2008 20:12:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/iscsi-and-saniq/m-p/4125940#M315527</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-01-08T20:12:17Z</dc:date>
    </item>
  </channel>
</rss>

