<?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: LVM issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-issue/m-p/4611899#M376685</link>
    <description>&lt;BR /&gt;"......This disk was in vg vgospcm. "&lt;BR /&gt;What is vgospcm ? and you are restoring vg02 conf.&lt;BR /&gt;&lt;BR /&gt;Coming to the issue...&lt;BR /&gt;&lt;BR /&gt;Hope your lvols are not mirrored.&lt;BR /&gt;&lt;BR /&gt;You need to create filesystems on the lvols , then mount it and restore the data.&lt;BR /&gt;&lt;BR /&gt;#newfs /dev/vg02/rlvol21&lt;BR /&gt;#newfs /dev/vg02/rlvol22&lt;BR /&gt;&lt;BR /&gt;#mount /home&lt;BR /&gt;#mount /bto&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Sun, 04 Apr 2010 13:42:15 GMT</pubDate>
    <dc:creator>sen_ux</dc:creator>
    <dc:date>2010-04-04T13:42:15Z</dc:date>
    <item>
      <title>LVM issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-issue/m-p/4611897#M376683</link>
      <description>Dear experts,&lt;BR /&gt;&lt;BR /&gt;I did one disk replacement activity sucessfully. This disk was in vg vgospcm. two lvols (/bto, /home) points we residing on this disk&lt;BR /&gt;&lt;BR /&gt;kz004099:root[/]# vgcfgrestore -n /dev/vg02 /dev/rdsk/c0t4d0&lt;BR /&gt;Volume Group configuration has been restored to /dev/rdsk/c0t4d0&lt;BR /&gt;&lt;BR /&gt;kz004099:root[/]# vgchange -a y /dev/vg02&lt;BR /&gt;Activated volume group&lt;BR /&gt;Volume group "/dev/vg02" has been successfully changed. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;but after disk replacement when I tried to mount /bto and /home I got following errors&lt;BR /&gt;&lt;BR /&gt;kz004099:root[/dev/vg02]# mount /home&lt;BR /&gt;vxfs mount: /dev/vg02/lvol21 is not a vxfs file system.&lt;BR /&gt;&lt;BR /&gt;kz004099:root[/dev/vg02]# mount /dev/vg02/lvol22 /bto&lt;BR /&gt;/dev/vg02/lvol22: unrecognized file system&lt;BR /&gt;&lt;BR /&gt;kz004099:root[/dev/vg02]# mount /dev/vg02/lvol21 /home&lt;BR /&gt;/dev/vg02/lvol21: unrecognized file system&lt;BR /&gt;&lt;BR /&gt;kz004099:root[/dev/vg02]# mount /dev/vg02/lvol22 /bto&lt;BR /&gt;/dev/vg02/lvol22: unrecognized file system&lt;BR /&gt;&lt;BR /&gt;Then I ran fsck on both the lvols. Despite this /home and /bto not get mounted.&lt;BR /&gt;====================================&lt;BR /&gt;&lt;BR /&gt;kz004099:root[/]# fsck -F vxfs -o full /dev/vg02/lvol21&lt;BR /&gt;invalid super-block&lt;BR /&gt;search for auxiliary super-block? (ynq)y&lt;BR /&gt;alternate super-block not found&lt;BR /&gt;vxfs fsck: cannot initialize aggregate&lt;BR /&gt;&lt;BR /&gt;kz004099:root[/dev/vg02]# fsck -F vxfs -o full /dev/vg02/lvol22&lt;BR /&gt;invalid super-block&lt;BR /&gt;search for auxiliary super-block? (ynq)y&lt;BR /&gt;alternate super-block not found&lt;BR /&gt;vxfs fsck: cannot initialize aggregate&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;kz004099:root[/]# cd /dev/vg02&lt;BR /&gt;kz004099:root[/dev/vg02]# ls -lrt&lt;BR /&gt;total 0&lt;BR /&gt;crw-r-----  1 root     sys      64 0x020016 Apr 20 1999 rlvol22&lt;BR /&gt;crw-r-----  1 root     sys      64 0x020000 Apr 20 1999 group&lt;BR /&gt;crw-r-----  1 root     sys      64 0x020015 Apr 20 1999 rlvol21&lt;BR /&gt;brw-r-----  1 root     sys      64 0x020015 Dec 3 2006 lvol21&lt;BR /&gt;brw-r-----  1 root     sys      64 0x020016 Dec 3 2006 lvol22 &lt;BR /&gt; &lt;BR /&gt;Plz Suggest on this&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rahul</description>
      <pubDate>Sun, 04 Apr 2010 12:33:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-issue/m-p/4611897#M376683</guid>
      <dc:creator>Rkumar</dc:creator>
      <dc:date>2010-04-04T12:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: LVM issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-issue/m-p/4611898#M376684</link>
      <description>Shalom rahul,&lt;BR /&gt;&lt;BR /&gt;It would appear there is no filesystem on your lgoical volume.&lt;BR /&gt;&lt;BR /&gt;newfs -F vxfs /dev/vg02/rlvol22&lt;BR /&gt;&lt;BR /&gt;will lay down a new file system if there are no other problems.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 04 Apr 2010 13:41:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-issue/m-p/4611898#M376684</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-04-04T13:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: LVM issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-issue/m-p/4611899#M376685</link>
      <description>&lt;BR /&gt;"......This disk was in vg vgospcm. "&lt;BR /&gt;What is vgospcm ? and you are restoring vg02 conf.&lt;BR /&gt;&lt;BR /&gt;Coming to the issue...&lt;BR /&gt;&lt;BR /&gt;Hope your lvols are not mirrored.&lt;BR /&gt;&lt;BR /&gt;You need to create filesystems on the lvols , then mount it and restore the data.&lt;BR /&gt;&lt;BR /&gt;#newfs /dev/vg02/rlvol21&lt;BR /&gt;#newfs /dev/vg02/rlvol22&lt;BR /&gt;&lt;BR /&gt;#mount /home&lt;BR /&gt;#mount /bto&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Sun, 04 Apr 2010 13:42:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-issue/m-p/4611899#M376685</guid>
      <dc:creator>sen_ux</dc:creator>
      <dc:date>2010-04-04T13:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: LVM issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-issue/m-p/4611900#M376686</link>
      <description>Sorry By mistake I state vgospcm instead of vg02. &lt;BR /&gt;&lt;BR /&gt;The info provided by you all is very useful for me. This mean  all the time when a unmirrored disk get replaced. we need to cerate file systems for lvols residing on that particular disk. m i going in right direction experts?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rahul &lt;BR /&gt;</description>
      <pubDate>Sun, 04 Apr 2010 14:36:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-issue/m-p/4611900#M376686</guid>
      <dc:creator>Rkumar</dc:creator>
      <dc:date>2010-04-04T14:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: LVM issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-issue/m-p/4611901#M376687</link>
      <description>Hi Rahul:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; This mean all the time when a unmirrored disk get replaced. we need to cerate file systems for lvols residing on that particular disk&lt;BR /&gt;&lt;BR /&gt;Yes, correct.  Your 'vgcfgrestore' adds the LVM metadata structures to the replaced disk but that's as far as it goes.  The 'newfs' creates the filesystem metatdata within the logical volume.  You must then restore any data you want from a backup.&lt;BR /&gt;&lt;BR /&gt;Having mirrored logical volumes protects you from having to restore data from a backup.  You 'vgcfgrestore' and then simply 'lvextend' your good mirror to the new disk.  No 'newfs' is required nor should be done in this case.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 04 Apr 2010 14:48:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-issue/m-p/4611901#M376687</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-04-04T14:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: LVM issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-issue/m-p/4611902#M376688</link>
      <description>Rahul,&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore only restore the LVM header. If you dont have a mirrored copy, your data is gone. You need to restore data from backup.</description>
      <pubDate>Mon, 05 Apr 2010 02:10:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-issue/m-p/4611902#M376688</guid>
      <dc:creator>Benoy Daniel</dc:creator>
      <dc:date>2010-04-05T02:10:46Z</dc:date>
    </item>
  </channel>
</rss>

