<?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: i-node edit recovery plan in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/i-node-edit-recovery-plan/m-p/3026484#M131676</link>
    <description>Rather than doing it that way, I would unmirror, unmount the filesystems, and do a vgchange -a n of the volume group. Now, do a&lt;BR /&gt;dd if=/dev/rdsk/c5t6d0 of=/dev/rdsk/c6t6d0 bs=1024k&lt;BR /&gt;&lt;BR /&gt;(of course set if= and of= to the proper source and destination drives)&lt;BR /&gt;&lt;BR /&gt;for each physical drive in the volume group.&lt;BR /&gt;This does assume that the drives are identical in size.&lt;BR /&gt;&lt;BR /&gt;The idea is after unmirroring, we are going to make exact copies of to disks to the former mirror physical disks. You can then remove the copies and do a vgimport on the new box.&lt;BR /&gt;&lt;BR /&gt;You can then activate the vg on both boxes and mount the filesystems. &lt;BR /&gt;&lt;BR /&gt;WARNING: This approach does leave you with a mirror on either box so you need to mirror them to additional drives ASAP.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 17 Jul 2003 19:59:09 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2003-07-17T19:59:09Z</dc:date>
    <item>
      <title>i-node edit recovery plan</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-node-edit-recovery-plan/m-p/3026480#M131672</link>
      <description>This question requires a little background.&lt;BR /&gt;We have a filesystem that contains corrupted data in the form of three files.&lt;BR /&gt;The "corrupted" filenames appear as /mount/dir1/dir2//mount/dir1/dir2/file1&lt;BR /&gt;&lt;BR /&gt;Note the double //  , the actual filename as the system sees it is "/mount/dir1/dir2/file1" the PATH to the file is /mount/dir1/dir2&lt;BR /&gt;&lt;BR /&gt;Anyway, with some HP supplied documentation (we were previously supported), I plan to edit the i-node table tonight to remove these anomalies.&lt;BR /&gt;&lt;BR /&gt;The LV the data is located on is NOT in VG00&lt;BR /&gt;It is in a mirrored 50GB LV that is the sole member of VGMAT&lt;BR /&gt;&lt;BR /&gt;Question:&lt;BR /&gt;Can I unmirror the lv, do the inode edit, and if something goes awry, use the secondary disks to recover from?&lt;BR /&gt;(I DO have a tape backup but it would take hours to restore.)&lt;BR /&gt;&lt;BR /&gt;IE: Can I vgexport AFTER the unmirror. and use the secondarys with vgimport?&lt;BR /&gt;     OR&lt;BR /&gt;    Could I place the secondaries where the primarys were and just remount?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You might ask, "How did this happen"?&lt;BR /&gt;A new datawarehouse API accessing an older "unsupported" version of the Db.&lt;BR /&gt;NO it was not me.......:) God bless the industrious user....&lt;BR /&gt;&lt;BR /&gt;Any suggestions are greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks , ~jdk</description>
      <pubDate>Thu, 17 Jul 2003 14:22:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-node-edit-recovery-plan/m-p/3026480#M131672</guid>
      <dc:creator>TrustNo1</dc:creator>
      <dc:date>2003-07-17T14:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: i-node edit recovery plan</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-node-edit-recovery-plan/m-p/3026481#M131673</link>
      <description>Actually, all you would need is an lvsplit. Note that you can lvmerge in either direction so that you can easily restore to the previos version AS LONG AS YOU DON'T REBOOT before running lvmerge. Because all the split/merge operations occur at LVOL level as opposed to the filesystem, any changes you make to the filesystem can be easily reversed with lvmerge.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jul 2003 14:34:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-node-edit-recovery-plan/m-p/3026481#M131673</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-07-17T14:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: i-node edit recovery plan</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-node-edit-recovery-plan/m-p/3026482#M131674</link>
      <description>Thanks Clay,&lt;BR /&gt;After the i-node edit, I need to duplicate the warehouse install on another box.&lt;BR /&gt;Would an unmirror, then a VG export, then take the previously mirrored set (along with export file) to the new box for a vgimport work?&lt;BR /&gt;&lt;BR /&gt;Thanks, ~jdk</description>
      <pubDate>Thu, 17 Jul 2003 19:19:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-node-edit-recovery-plan/m-p/3026482#M131674</guid>
      <dc:creator>TrustNo1</dc:creator>
      <dc:date>2003-07-17T19:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: i-node edit recovery plan</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-node-edit-recovery-plan/m-p/3026483#M131675</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;As was sayed the lvsplit will split then you&lt;BR /&gt;can do the fix and you can mount the&lt;BR /&gt;other lv from the split and continue to work&lt;BR /&gt;til you will fix the disk and made marge back.&lt;BR /&gt;This way your users will work.&lt;BR /&gt;&lt;BR /&gt;Caesar</description>
      <pubDate>Thu, 17 Jul 2003 19:54:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-node-edit-recovery-plan/m-p/3026483#M131675</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-07-17T19:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: i-node edit recovery plan</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-node-edit-recovery-plan/m-p/3026484#M131676</link>
      <description>Rather than doing it that way, I would unmirror, unmount the filesystems, and do a vgchange -a n of the volume group. Now, do a&lt;BR /&gt;dd if=/dev/rdsk/c5t6d0 of=/dev/rdsk/c6t6d0 bs=1024k&lt;BR /&gt;&lt;BR /&gt;(of course set if= and of= to the proper source and destination drives)&lt;BR /&gt;&lt;BR /&gt;for each physical drive in the volume group.&lt;BR /&gt;This does assume that the drives are identical in size.&lt;BR /&gt;&lt;BR /&gt;The idea is after unmirroring, we are going to make exact copies of to disks to the former mirror physical disks. You can then remove the copies and do a vgimport on the new box.&lt;BR /&gt;&lt;BR /&gt;You can then activate the vg on both boxes and mount the filesystems. &lt;BR /&gt;&lt;BR /&gt;WARNING: This approach does leave you with a mirror on either box so you need to mirror them to additional drives ASAP.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jul 2003 19:59:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-node-edit-recovery-plan/m-p/3026484#M131676</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-07-17T19:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: i-node edit recovery plan</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-node-edit-recovery-plan/m-p/3026485#M131677</link>
      <description>Mr. Stephenson,&lt;BR /&gt;       You are the GREATEST!&lt;BR /&gt;&lt;BR /&gt;Thanks again!!&lt;BR /&gt;              ~jdk</description>
      <pubDate>Thu, 17 Jul 2003 20:09:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-node-edit-recovery-plan/m-p/3026485#M131677</guid>
      <dc:creator>TrustNo1</dc:creator>
      <dc:date>2003-07-17T20:09:49Z</dc:date>
    </item>
  </channel>
</rss>

