<?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: Deactivating volume group before importing? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755614#M622604</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;all pretty close to the answer, typo when creating the group, I had 01000 instead of 010000 (i.e. one zero too few) so I've recreated the group file and its behaving a bit better now.&lt;BR /&gt;&lt;BR /&gt;thanks!!&lt;BR /&gt;Kevin.</description>
    <pubDate>Mon, 01 Jul 2002 13:55:50 GMT</pubDate>
    <dc:creator>Kevin O'Donovan</dc:creator>
    <dc:date>2002-07-01T13:55:50Z</dc:date>
    <item>
      <title>Deactivating volume group before importing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755609#M622599</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;a little bit complicated, I have a second disk in a box which I'm trying to recover a couple of logical volumes from.  No backups, bad me!!&lt;BR /&gt;&lt;BR /&gt;I've created the /dev/vg01/group file using mknod, but when I run 'vgimport -v /dev/vg01 /dev/dsk/c0t5d0' I get the message "Volume group /dev/vg01 is still active".&lt;BR /&gt;&lt;BR /&gt;If I do a vgchange -a n /dev/vg01 it tells me that vg01 isn't in the lvmtab file.  It never was, this disk is from another system.  Running vgscan doesn't solve that one, anyone any ideas?&lt;BR /&gt;&lt;BR /&gt;thanks in advance,&lt;BR /&gt;Kevin.</description>
      <pubDate>Mon, 01 Jul 2002 13:37:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755609#M622599</guid>
      <dc:creator>Kevin O'Donovan</dc:creator>
      <dc:date>2002-07-01T13:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivating volume group before importing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755610#M622600</link>
      <description>Sounds like your trying to use a group file which is the same value as an existing group.&lt;BR /&gt;Check by doing;  &lt;BR /&gt;&lt;BR /&gt;cd /dev&lt;BR /&gt;ll */group&lt;BR /&gt;&lt;BR /&gt;and ensure theyre all unique, eg;&lt;BR /&gt;0x000000&lt;BR /&gt;0x010000&lt;BR /&gt;0x020000&lt;BR /&gt;etc.&lt;BR /&gt;&lt;BR /&gt;If so remake your group file and you should be able to vimport fine.&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Jul 2002 13:45:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755610#M622600</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-07-01T13:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivating volume group before importing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755611#M622601</link>
      <description>Check that the minor device number of the group device file is unique. &lt;BR /&gt;&lt;BR /&gt;e.g. 64 0x010000 may already be defined on your system.&lt;BR /&gt;&lt;BR /&gt;I would also do a 'strings /etc/lvmtab' and look for any vg01 entries.&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Jul 2002 13:45:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755611#M622601</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-07-01T13:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivating volume group before importing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755612#M622602</link>
      <description>Hi Kevin:&lt;BR /&gt;&lt;BR /&gt;I am going to assume that the minor number you used is unique, since you didn't mention any error from 'mknod'.  Are you sure that your choice of physical disk is correct?&lt;BR /&gt;&lt;BR /&gt;Do 'strings /etc/lvmtab' to make sure that the number you choose isn't already in use.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 01 Jul 2002 13:48:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755612#M622602</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-07-01T13:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivating volume group before importing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755613#M622603</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Check by &lt;BR /&gt;&lt;BR /&gt;# ll /dev/vg*/group&lt;BR /&gt;&lt;BR /&gt;and see whether group files are present.&lt;BR /&gt;&lt;BR /&gt;Remember that you should be in the / directory while giving the commands.&lt;BR /&gt;&lt;BR /&gt;You can create another volume group vg02 and then check out. ( Please check out whether no files are there for vg02 earlier )&lt;BR /&gt;&lt;BR /&gt;#mkdir /dev/vg02&lt;BR /&gt;# mknod /dev/vg02/group c 64 0x02000&lt;BR /&gt;&lt;BR /&gt;Then do a vgimport and try.&lt;BR /&gt;&lt;BR /&gt;I think vgscan -a should work for you. &lt;BR /&gt;&lt;BR /&gt;Piyush</description>
      <pubDate>Mon, 01 Jul 2002 13:48:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755613#M622603</guid>
      <dc:creator>PIYUSH D. PATEL</dc:creator>
      <dc:date>2002-07-01T13:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivating volume group before importing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755614#M622604</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;all pretty close to the answer, typo when creating the group, I had 01000 instead of 010000 (i.e. one zero too few) so I've recreated the group file and its behaving a bit better now.&lt;BR /&gt;&lt;BR /&gt;thanks!!&lt;BR /&gt;Kevin.</description>
      <pubDate>Mon, 01 Jul 2002 13:55:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755614#M622604</guid>
      <dc:creator>Kevin O'Donovan</dc:creator>
      <dc:date>2002-07-01T13:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivating volume group before importing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755615#M622605</link>
      <description>Kevin &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;there are 2 things to check .&lt;BR /&gt;&lt;BR /&gt;1. ls -lR /dev/vg* | grep group shouldnt show two entries.&lt;BR /&gt;2. strings /etc/lvmtab | grep c0t5d0 shoudnt show any entry for this disk .&lt;BR /&gt;&lt;BR /&gt;You can try  this too :&lt;BR /&gt;&lt;BR /&gt;cd /dev/vg01&lt;BR /&gt;mkdir lvol&lt;BR /&gt;&lt;BR /&gt;vgexport /dev/vg01&lt;BR /&gt;&lt;BR /&gt;and then retry to do the vgimport.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Jul 2002 14:01:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755615#M622605</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-07-01T14:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivating volume group before importing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755616#M622606</link>
      <description>It sounds to me like you need to perform a "pvcreate -f /dev/rdsk/c0t5d0".</description>
      <pubDate>Tue, 02 Jul 2002 18:23:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755616#M622606</guid>
      <dc:creator>Terry Gibbar</dc:creator>
      <dc:date>2002-07-02T18:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivating volume group before importing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755617#M622607</link>
      <description>My problem is not really dealing with the same problem, in fact i deleted a snapshot without impresenting it so the result is:&lt;BR /&gt;&lt;BR /&gt;with 'strings /etc/lvmtab' &lt;BR /&gt;I have as a result the volume group associated to the this snap so when I try lvremove , the system tells me that a volume group is still exixting.&lt;BR /&gt;&lt;BR /&gt;How shall i do ?</description>
      <pubDate>Fri, 20 May 2005 08:27:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755617#M622607</guid>
      <dc:creator>fahmi_2</dc:creator>
      <dc:date>2005-05-20T08:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivating volume group before importing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755618#M622608</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Hope it is has got emported using vgimport command and file systems got mounted after running fsck on them. Important here would be that if the disk was part of a VG which invloved multiple disks then only those LV's can be recovered which has LV's fully distributed on this disk itself. The LV's which were distributed across other disks alongwith this one will not get recovered.&lt;BR /&gt;&lt;BR /&gt;In this cae also use vgchage -a y -n q /dev/vg01 ( As you need to bye pass quorum check.)&lt;BR /&gt;&lt;BR /&gt;Fahmi,&lt;BR /&gt;&lt;BR /&gt;Your problem is not clear. See response in your own thread.&lt;BR /&gt;&lt;BR /&gt;Terry,&lt;BR /&gt;&lt;BR /&gt;Doing a pvcreate will remove old data from disk which should not be a case I think when you are recovering data.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender&lt;BR /&gt;</description>
      <pubDate>Sun, 22 May 2005 01:27:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deactivating-volume-group-before-importing/m-p/2755618#M622608</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-05-22T01:27:09Z</dc:date>
    </item>
  </channel>
</rss>

