<?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: LVreduce error HELP!!!! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918379#M634232</link>
    <description>So if my lvol is corrupt and unmountable how do I free up the space, using fsadm? (which would have saved me allthis pain in the first place :( )&lt;BR /&gt;I guess I need to start doing some serious restoring and hope my backups are all there and working :)&lt;BR /&gt;I cant thank you all enough for all the help :)</description>
    <pubDate>Tue, 04 Mar 2003 16:49:36 GMT</pubDate>
    <dc:creator>Babs_1</dc:creator>
    <dc:date>2003-03-04T16:49:36Z</dc:date>
    <item>
      <title>LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918331#M634184</link>
      <description>I am running HPUX 11, with online JFS, I have done an lvreduce without doing fsadm..&lt;BR /&gt;I thought I was reducing the 13gb drive by 2 gb to 11gb. I have actually reduced it by 11gb to 2gb ARRGGHHH!!!! It was full of Oracle dbases I have not done anything else i.e. fsadm or give any other lvol the space..please tell me there is away to save me.....all the data is still there....help!!!</description>
      <pubDate>Tue, 04 Mar 2003 13:11:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918331#M634184</guid>
      <dc:creator>Babs_1</dc:creator>
      <dc:date>2003-03-04T13:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918332#M634185</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am afraid you lost your data. I hope you made a back up before reducing the lvol.&lt;BR /&gt;&lt;BR /&gt;Fr??d??ric&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Mar 2003 13:15:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918332#M634185</guid>
      <dc:creator>Frederic Sevestre</dc:creator>
      <dc:date>2003-03-04T13:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918333#M634186</link>
      <description>Please say it isnt so!!!!&lt;BR /&gt;Surely there is some file that can be edited somewhere that can save me???&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Mar 2003 13:25:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918333#M634186</guid>
      <dc:creator>Babs_1</dc:creator>
      <dc:date>2003-03-04T13:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918334#M634187</link>
      <description>Since this is used for Oracle databases, is it a raw logical volume?  If it's a file system you're done for, but if it's a raw logical volume you might try doing a lvextend back to the original size and see what you've got.  The data shouldn't be touched, you just need to straighten out the LVM structures.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 04 Mar 2003 13:29:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918334#M634187</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-04T13:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918335#M634188</link>
      <description>If you know exactly where the lvol used to reside on disk and can lvextend it back EXACTLY as it was then the data might be OK.&lt;BR /&gt;&lt;BR /&gt;If the filesystem is still mounted then you may have problems unmounting it.&lt;BR /&gt;&lt;BR /&gt;I'd suggest...&lt;BR /&gt;&lt;BR /&gt;Unmount the filesystem, you'll probably have to force kill any processes using it.&lt;BR /&gt;&lt;BR /&gt;Extend it back exactly as it was before you reduced it. If it wasn't in a contiguous area and you don't have an extent map then you're stuffed.&lt;BR /&gt;&lt;BR /&gt;Do a full fsck of the filesystem, if that's OK, mount the filesystem. Oracle have a utility to check that datafiles are not corrupt (can't remember what it's called though), identify that and try running it against each datafile. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Mar 2003 13:29:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918335#M634188</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2003-03-04T13:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918336#M634189</link>
      <description>Hi John,&lt;BR /&gt;Thanks for giving me the glimmer of hope (even if it fails) I was able to unmount the lvol no problem. It was not in a contiguous area as I think it spanned two disks. However there was very little space om the system which is why I was doing this in the first place. So in theory if I give it back the space it should go back to where it was? Or am I just wishful thinking?</description>
      <pubDate>Tue, 04 Mar 2003 13:40:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918336#M634189</guid>
      <dc:creator>Babs_1</dc:creator>
      <dc:date>2003-03-04T13:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918337#M634190</link>
      <description>The problem is restoring the volume to exactly the same as it was before you lvreduced it.&lt;BR /&gt;&lt;BR /&gt;One possibility is to run vgcfgrestore to restore the VG configuration BEFORE you did the lvreduce. That'll mean using /etc/lvmconf/vg??.old because /etc/lvmconf/vg?? will have your lvreduce changes applied. It's got to be worth a try...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Tue, 04 Mar 2003 13:51:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918337#M634190</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2003-03-04T13:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918338#M634191</link>
      <description>Thanks for the reply John, I am not sure what vgcfgrestore is? How do I do it? Do I just rename the vg00.conf.old to vg00.conf Thanks again for your help :)</description>
      <pubDate>Tue, 04 Mar 2003 14:01:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918338#M634191</guid>
      <dc:creator>Babs_1</dc:creator>
      <dc:date>2003-03-04T14:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918339#M634192</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;# vgcfgrestore -f /etc/lvmconf/vgNN.conf.old /dev/rdsk/cXtYdZ&lt;BR /&gt;&lt;BR /&gt;As John suggested, use the ".old" configuration file since this would/should be the configuration *before* your 'lvreduce' occured.  Have a look at the man pages for 'vgcfgrestore' for more information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 04 Mar 2003 14:18:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918339#M634192</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-03-04T14:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918340#M634193</link>
      <description>vgcfgrestore is a tool for restoring LVM information to a disk. &lt;BR /&gt;&lt;BR /&gt;In your case you need to restore the information to ALL the disks in your volume group. You should check the files in /etc/lvmconf to ensure that the vg??.old file is the correct one. They are created by vgcfgbackup and all LVM commands that change the configuration call vgcfgbackup automatically. If you've run lvreduce more than once for instance then you'd have to restore the correct vg??.conf from a backup.&lt;BR /&gt;&lt;BR /&gt;If there are other lvols in your VG then it would be worth backing them up before trying the following...&lt;BR /&gt;&lt;BR /&gt;1.  Determine which disks are in ypur VG..&lt;BR /&gt;vgdisplay -v vg??|grep "PV Name"&lt;BR /&gt;2.  Unmount all filesystems and deactivate your vg...&lt;BR /&gt;vgchange -n vg??&lt;BR /&gt;3.  vgcfgrestore each and every disk in your VG with the .old config file...&lt;BR /&gt;vgcfgrestore -n vg?? -f /etc/lvmconf/vg??.old /dev/dsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;Your VG should now be restored to the configuration before you did lvreduce so you can reactivate your VG with vgchange -a y vg?? then run fsck and remount the filesystems.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Mar 2003 14:20:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918340#M634193</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2003-03-04T14:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918341#M634194</link>
      <description>Hi again,&lt;BR /&gt;I have been looking at the man pages for vgcfgrestore and your responses and it sounds like it should work and undo my mistake......but if it doesnt....my whole system could be messed up...what a lovely choice to have to make :(&lt;BR /&gt;&lt;BR /&gt;1. Determine which disks are in ypur VG.. &lt;BR /&gt;vgdisplay -v vg??|grep "PV Name" &lt;BR /&gt;&lt;BR /&gt;I have two disks in one volume group vg00 when i enter the commands vgdisplay..for the first one I get this  &lt;BR /&gt; PV Name  /dev/dsk/c1t2d0&lt;BR /&gt; PV Name  /dev/dsk/c1t2d0&lt;BR /&gt;&lt;BR /&gt;and for the second one I get this&lt;BR /&gt; PV Name       /dev/dsk/c2t2d0&lt;BR /&gt;&lt;BR /&gt;Next &lt;BR /&gt;2. Unmount all filesystems and deactivate your vg... &lt;BR /&gt;vgchange -n vg?? &lt;BR /&gt; Ok I have never done this before but I will now,&lt;BR /&gt;Next&lt;BR /&gt;3. vgcfgrestore each and every disk in your VG with the .old config file... &lt;BR /&gt;vgcfgrestore -n vg?? -f /etc/lvmconf/vg??.old /dev/dsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;So I identify my two disks, unmount and deactivate all of my vg and then run vgcfgrestore....&lt;BR /&gt;&lt;BR /&gt;Arrgghhh I am scared!!!&lt;BR /&gt;&lt;BR /&gt;Then reactivate my VG with vgchange -a y vg?? then run fsck and remount the filesystems. &lt;BR /&gt;&lt;BR /&gt;Have I got it?&lt;BR /&gt;&lt;BR /&gt;I really appreciate this and I apologise if I am making you hold my hand doing this but as you can imagine the last thing I want to do is make a bad situation worse!!&lt;BR /&gt; Thanks so much for all the help :)</description>
      <pubDate>Tue, 04 Mar 2003 14:48:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918341#M634194</guid>
      <dc:creator>Babs_1</dc:creator>
      <dc:date>2003-03-04T14:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918342#M634195</link>
      <description>Quote:&lt;BR /&gt;"I have two disks in one volume group vg00 when i enter the commands vgdisplay..for the first one I get this&lt;BR /&gt;PV Name /dev/dsk/c1t2d0&lt;BR /&gt;PV Name /dev/dsk/c1t2d0 "&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Whatever you do, don't mess with vg00.  That's your root VG where the OS resides.  You should be trying to recover the other VG.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 04 Mar 2003 14:52:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918342#M634195</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-04T14:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918343#M634196</link>
      <description>Whatever you do, don't mess with vg00. That's your root VG where the OS resides. You should be trying to recover the other VG. &lt;BR /&gt;&lt;BR /&gt;I dont understand you? I have only one volume group vg00? I have two disks/physical volumes in this one volume group I know thats probably not good planning etc.  but thats the way it is? And I am stuck with it for now.&lt;BR /&gt;So what do you mean that I should try to recover the other volume group?</description>
      <pubDate>Tue, 04 Mar 2003 15:03:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918343#M634196</guid>
      <dc:creator>Babs_1</dc:creator>
      <dc:date>2003-03-04T15:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918344#M634197</link>
      <description>Aargh it's vg00! This means that you can't deactivate it with the system running. &lt;BR /&gt;&lt;BR /&gt;Provided you are sure that the one lvreduce command is all that you've done then you should still be OK but you should be consifering doing this in LVM maintenance mode...&lt;BR /&gt;&lt;BR /&gt;reboot&lt;BR /&gt;interrupt the boot processs&lt;BR /&gt;bo PRI&lt;BR /&gt;reply y to interact with ISL?&lt;BR /&gt;hpux -lm&lt;BR /&gt;&lt;BR /&gt;When you get the shell prompt, only / will be mounted and vg00 will not be activated. You'll be able to do your two vgcfgrestore commands then reboot...&lt;BR /&gt;vgcfgrestore -n vg00 -f /etc/lvmconf/vg00.conf.old /dev/dsk/c1t2d0&lt;BR /&gt;vgcfgrestore -n vg00 -f /etc/lvmconf/vg00.conf.old /dev/dsk/c2t2d0&lt;BR /&gt;reboot&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Tue, 04 Mar 2003 15:06:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918344#M634197</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2003-03-04T15:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918345#M634198</link>
      <description>I think everyone has been assuming throughout this discussion that your VG's were separate.  You can't very well deactivate vg00.  You can try the vgcfgrestore with deactivating first.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 04 Mar 2003 15:09:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918345#M634198</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-04T15:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918346#M634199</link>
      <description>Sorry - meant to say "withOUT deactivating first" - but I like John's LVM maintenance mode idea better anyway.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 04 Mar 2003 15:12:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918346#M634199</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-04T15:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918347#M634200</link>
      <description>Somebody please kill me :(&lt;BR /&gt;&lt;BR /&gt;I can only acess this machine through telnet etc. I dont have a unix monitor...oh this is getting messy...&lt;BR /&gt;I do have the SWC can I interupt the boot process from there? If I reboot, while logged into the SWC in theroy I should be able to see it coming back up, where do I interupt and how? Is it cntrl C?? &lt;BR /&gt;Thanks you so much for bearing with me :)</description>
      <pubDate>Tue, 04 Mar 2003 15:13:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918347#M634200</guid>
      <dc:creator>Babs_1</dc:creator>
      <dc:date>2003-03-04T15:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918348#M634201</link>
      <description>In this case, I would try the vgcfgrestore without deactivating - it's not an absolute requirement.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 04 Mar 2003 15:20:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918348#M634201</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-04T15:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918349#M634202</link>
      <description>From the SWC you can use GSP to reboot the machine ..enter CTRL-B to get to GSP and in GSP prompt ..enter RS to reset it. System will now reboot. WHen it comes up and when you see something like .. "..press and key within 10 secs to interrupt" you would press any key. And I think you'll get a BOOTADMIN prompt. Enter ..&lt;BR /&gt;bo pri&lt;BR /&gt;and enter Y to the question "Do you want to interact with IPL". You'll then get the ISL prompt. At ISL prompt enter ..&lt;BR /&gt;ISL&amp;gt; hpux -is&lt;BR /&gt;to boot as single user mode or if you like ..&lt;BR /&gt;ISL&amp;gt; hpux -lm&lt;BR /&gt;to boot in LVM maintenance mode. The latter is what you need if you're dealing with vg00.</description>
      <pubDate>Tue, 04 Mar 2003 15:20:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918349#M634202</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2003-03-04T15:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: LVreduce error HELP!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918350#M634203</link>
      <description>I finally figured out that SWC is the Secure Web Console!!!  Duhhh!  By all means, reboot using your SWC to get into LVM maintenance mode.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 04 Mar 2003 15:26:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce-error-help/m-p/2918350#M634203</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-04T15:26:36Z</dc:date>
    </item>
  </channel>
</rss>

