<?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: More volume group problems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539047#M649110</link>
    <description>Ahhh, wait a second! I did the pvcreate -f and that worked out. Then I created my vgraid and my logical volume and everything looks all right! &lt;BR /&gt;&lt;BR /&gt;Wonderful! Thanks a bunch! :)&lt;BR /&gt;You'll hear from me soon -- the next time I go poking around. :)&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Melissa</description>
    <pubDate>Mon, 11 Jun 2001 19:25:02 GMT</pubDate>
    <dc:creator>Melissa Murphy</dc:creator>
    <dc:date>2001-06-11T19:25:02Z</dc:date>
    <item>
      <title>More volume group problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539039#M649102</link>
      <description>Well, here I go again. &amp;lt;:) &lt;BR /&gt;&lt;BR /&gt;I was told that my existing volume group had to be mounted elsewhere, etc. so I thought it would be easiest to just remove what I had done and restarted. Well, I did the following:&lt;BR /&gt;&lt;BR /&gt;# vgimport /dev/vgraid /dev/rdsk/c4t0d1&lt;BR /&gt;# vgexport vgraid&lt;BR /&gt;# cd /etc/lvmconf&lt;BR /&gt;# rm vgraid.conf&lt;BR /&gt;&lt;BR /&gt;I should have used sam. *sigh*&lt;BR /&gt;&lt;BR /&gt;I guess I also should have removed my logical volume as well.&lt;BR /&gt;&lt;BR /&gt;Well, now this is what I get (I'm kind of just trying stuff):&lt;BR /&gt;&lt;BR /&gt;# pvremove /dev/rdsk/c4t0d1&lt;BR /&gt;pvremove: The physical volume "/dev/rdsk/c4t0d1" belongs to an exported volume group.&lt;BR /&gt;pvremove: Couldn't remove physical volume "/dev/rdsk/c4t0d1".&lt;BR /&gt;# vgcreate /dev/vgraid /dev/dsk/c4t0d1&lt;BR /&gt;Increased the number of physical extents per physical volume to 17346.&lt;BR /&gt;vgcreate: Volume group "/dev/vgraid" could not be created:&lt;BR /&gt;The path does not specify a valid physical volume.&lt;BR /&gt;# vgreduce /dev/vgraid /dev/dsk/c4t0d1&lt;BR /&gt;vgreduce: Volume group "/dev/vgraid" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;&lt;BR /&gt;I probably did things all out of order, but I wasn't getting anywhere, anyways. I read somewhere that I can rebuild the lvmtab, so I tried that. I did 'mv /etc/lvmtab /etc/lvmtab.old' then did a vgscan&lt;BR /&gt;&lt;BR /&gt;I really shouldn't fix what isn't broken. Any pointers? How can I create a volume group now?&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Melissa Murphy</description>
      <pubDate>Mon, 11 Jun 2001 17:06:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539039#M649102</guid>
      <dc:creator>Melissa Murphy</dc:creator>
      <dc:date>2001-06-11T17:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: More volume group problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539040#M649103</link>
      <description>Another question ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'm still pretty stuck and see this error:&lt;BR /&gt;# vpdisplay -v /dev/dsk/c4t0d1&lt;BR /&gt;pvdisplay: Couldn't find the volume group to which&lt;BR /&gt;physical volume "/dev/dsk/c4t0d1" belongs.&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c4t0d1".&lt;BR /&gt;&lt;BR /&gt;What does it mean that it "belongs"? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Melissa&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Jun 2001 17:50:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539040#M649103</guid>
      <dc:creator>Melissa Murphy</dc:creator>
      <dc:date>2001-06-11T17:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: More volume group problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539041#M649104</link>
      <description>Hi Melissa:&lt;BR /&gt;&lt;BR /&gt;OK.  This is a follow-on to today's earlier post.  As I indicated there, if you look do: &lt;BR /&gt;&lt;BR /&gt;# strings /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;...then you will see the volume groups and associated device files.  /etc/lvmtab is that which is rebuilt when you did the 'vgscan'.&lt;BR /&gt;&lt;BR /&gt;It's not totally clear what you are attempting to do, nor in total, what you have done.&lt;BR /&gt;&lt;BR /&gt;First, do you have data on your /dev/vgraid volume group that you care about either on this system or another?&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 11 Jun 2001 18:04:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539041#M649104</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-06-11T18:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: More volume group problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539042#M649105</link>
      <description>Mr. Ferguson,&lt;BR /&gt;&lt;BR /&gt;No, there is no data on the vgraid volume group (if it's still there ...) These are pretty clean systems with nothing of importance on them.&lt;BR /&gt;&lt;BR /&gt;Well, I tried to get rid of the volume group, actually. I was going to redo it mounted to another place, since I wasn't sure how to remount it to somewhere else. I think what happened is I didn't delete the logical volume first and now I'm a little hosed. I can't remove the physical volume, because a volume group is associated with this. Again, I'm not sure where this is. I tried to go through the steps we discussed in the previous thread, but I still can't create a new volume group. I have a /dev/vgraid and a /dev/vgraid/group with 0x010000, but when I try vgcreate /dev/vgraid /dev/dsk/c4t0d1, I get that the path does not specify a valid physical volume. So how do you think I messed up my physical volume? &lt;BR /&gt;&lt;BR /&gt;Sorry to be a pain - I know I don't know that much here, but I'd really like to get this figured out. :)&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Melissa</description>
      <pubDate>Mon, 11 Jun 2001 18:16:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539042#M649105</guid>
      <dc:creator>Melissa Murphy</dc:creator>
      <dc:date>2001-06-11T18:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: More volume group problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539043#M649106</link>
      <description>Hi Melissa:&lt;BR /&gt;&lt;BR /&gt;Please, you are not being a "pain".  We're here because we *want* to be here!&lt;BR /&gt;&lt;BR /&gt;First, your 'vgdisplay' syntax is wrong.  In your case, try:&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v /dev/vgraid&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 11 Jun 2001 18:55:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539043#M649106</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-06-11T18:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: More volume group problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539044#M649107</link>
      <description>Hi Melissa&lt;BR /&gt;&lt;BR /&gt;I don't think your vgexport worked properly if you still have /dev/vgraid and /dev/vgraid/group.  vgexport deletes these.  I'd try doing a vgexport /dev/vgraid -v to see if that will clear everything out.&lt;BR /&gt;&lt;BR /&gt;If this works, then all you have to do is recreate the volume group:&lt;BR /&gt;1) mkdir /dev/vgraid&lt;BR /&gt;2) mknod /dev/vgraid/group -c 64 0x010000&lt;BR /&gt;3) pvcreate -f /dev/rdsk/c?t?d?&lt;BR /&gt;4) vgcreate ...&lt;BR /&gt;&lt;BR /&gt;If the vgexport doesn't work, we'll have to look at the messages it produces to see if we can figure it out.&lt;BR /&gt;&lt;BR /&gt;-OR-&lt;BR /&gt;&lt;BR /&gt;You can try to force the pvcreate and try to recreate the volume group from where you are now.  Try:&lt;BR /&gt;pvcreate -f /dev/rdsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;Then your vgcreate.&lt;BR /&gt;&lt;BR /&gt;Good Luck -- jls</description>
      <pubDate>Mon, 11 Jun 2001 18:58:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539044#M649107</guid>
      <dc:creator>Joel Shank</dc:creator>
      <dc:date>2001-06-11T18:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: More volume group problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539045#M649108</link>
      <description>Ahh, of course. :)&lt;BR /&gt;&lt;BR /&gt;Alright, here's the output of the vgdisplay:&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v /dev/vgraid&lt;BR /&gt;vgdisplay: Volume group "/dev/vgraid" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;vgdisplay: Cannot display volume group "/dev/vgraid".&lt;BR /&gt;&lt;BR /&gt;And that of vgexport:&lt;BR /&gt;&lt;BR /&gt;# vgexport -v /dev/vgraid&lt;BR /&gt;Beginning the export process on Volume Group "/dev/vgraid".&lt;BR /&gt;vgexport: Volume group "/dev/vgraid" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;vgexport: Couldn't export volume group "/dev/vgraid".&lt;BR /&gt;&lt;BR /&gt;I was pretty sure I did a vgexport early on and it was okay ... but maybe now I'm not so sure. &lt;BR /&gt;&lt;BR /&gt;So, whatdya think?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Melissa</description>
      <pubDate>Mon, 11 Jun 2001 19:18:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539045#M649108</guid>
      <dc:creator>Melissa Murphy</dc:creator>
      <dc:date>2001-06-11T19:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: More volume group problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539046#M649109</link>
      <description>Melissa&lt;BR /&gt;&lt;BR /&gt;I think you should force the pvcreate (use the -f option), but be sure you specify the correct physical volume.&lt;BR /&gt;&lt;BR /&gt;After the device is pvcreated, you should be able to do a vgcreate using it.&lt;BR /&gt;&lt;BR /&gt;Let us know how this works -- jls</description>
      <pubDate>Mon, 11 Jun 2001 19:23:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539046#M649109</guid>
      <dc:creator>Joel Shank</dc:creator>
      <dc:date>2001-06-11T19:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: More volume group problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539047#M649110</link>
      <description>Ahhh, wait a second! I did the pvcreate -f and that worked out. Then I created my vgraid and my logical volume and everything looks all right! &lt;BR /&gt;&lt;BR /&gt;Wonderful! Thanks a bunch! :)&lt;BR /&gt;You'll hear from me soon -- the next time I go poking around. :)&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Melissa</description>
      <pubDate>Mon, 11 Jun 2001 19:25:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539047#M649110</guid>
      <dc:creator>Melissa Murphy</dc:creator>
      <dc:date>2001-06-11T19:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: More volume group problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539048#M649111</link>
      <description>Hi Melissa:&lt;BR /&gt;&lt;BR /&gt;So, if you want to build a volume group from scratch, using one physical disk, /dev/dsk/c4t0d1 and you want the volume group called /dev/vgraid then:&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f /dev/dsk/c4t0d1&lt;BR /&gt;# mkdir /dev/vgraid&lt;BR /&gt;# mknod /dev/vgraid/group c 64 0xNN0000 # where NN is the unique minor number (in hex)&lt;BR /&gt;# vgcreate /dev/vgraid /dev/dsk/c4t0d1&lt;BR /&gt;# lvcreate -L &lt;SIZE&gt; -n lvol1 /dev/vgraid&lt;BR /&gt;&lt;BR /&gt;Remember to choose a unique minor number for 'mknod' by looking at what is already used with:&lt;BR /&gt;&lt;BR /&gt;# ls -l /dev/*/group&lt;BR /&gt;&lt;BR /&gt;Take a look at the man pages for each command and/or the HP-UX System Administration Tasks manual I cited in our earlier dialog for more details.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;/SIZE&gt;</description>
      <pubDate>Mon, 11 Jun 2001 19:35:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539048#M649111</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-06-11T19:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: More volume group problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539049#M649112</link>
      <description>Should have mentioned that earlier..&lt;BR /&gt;&lt;BR /&gt;A vgexport leave the disk header on the disk that identify the disk is an lvm managed.&lt;BR /&gt;&lt;BR /&gt;The long shot of this:&lt;BR /&gt;To reuse a disk already used by lvm, you must pvcreate -f /dev/rdsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;Stick around with the forums anyway, you'll have fun!&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Tue, 12 Jun 2001 08:41:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-volume-group-problems/m-p/2539049#M649112</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-06-12T08:41:32Z</dc:date>
    </item>
  </channel>
</rss>

