<?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: Can not remove group in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851159#M635686</link>
    <description>I wanted to use vgimport but now i have created new volume group and file system.&lt;BR /&gt;I'm trying to remove group and logical volume from an old server (i've remove a disk): lvremove -f /dev/vg02/lvol1, and i got message: The supplied lv number refers to a non-existent logical volume.&lt;BR /&gt;&lt;BR /&gt;strings /etc/lvmtab shows me:&lt;BR /&gt;/dev/vg00&lt;BR /&gt;wo&amp;gt;U1&lt;BR /&gt;/dev/dsk/c3t5d0&lt;BR /&gt;/dev/vg01&lt;BR /&gt;wo&amp;gt;U=6fE&lt;BR /&gt;/dev/dsk/c3t9d0&lt;BR /&gt;/dev/vg02&lt;BR /&gt;wo&amp;gt;U=&lt;BR /&gt;/dev/dsk/c3t8d0&lt;BR /&gt;&lt;BR /&gt;You think it's OK? (i mean wo&amp;gt;....)&lt;BR /&gt;&lt;BR /&gt;I have made vgscan -a:&lt;BR /&gt;&lt;BR /&gt;Creating "/etc/lvmtab".&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c1t2d0":&lt;BR /&gt;Invalid argument&lt;BR /&gt;Following Physical Volumes belong to one Volume Group.&lt;BR /&gt;Unable to match these Physical Volumes to a Volume Group.&lt;BR /&gt;Use the vgimport command to complete the process.&lt;BR /&gt;/dev/dsk/c3t10d0&lt;BR /&gt;&lt;BR /&gt;The c3t10d0 is an empty disk, c1t2d0 is a cdrom.&lt;BR /&gt;</description>
    <pubDate>Mon, 25 Nov 2002 11:37:33 GMT</pubDate>
    <dc:creator>Tomek_1</dc:creator>
    <dc:date>2002-11-25T11:37:33Z</dc:date>
    <item>
      <title>Can not remove group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851151#M635678</link>
      <description>Hello&lt;BR /&gt;I want to remove group, when i use vgremove i got message: Volume group not activated. When i try vgchange -a y vg02 i got message: Couldn't attach to the volume group physical volume "/dev/dsk/vg02": Cross-device link.&lt;BR /&gt;First i've tried vgimport two times, first without mapfile, and later with mapfile.&lt;BR /&gt;How can i remove volume and group when i remove disk from system.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Tom</description>
      <pubDate>Mon, 25 Nov 2002 10:49:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851151#M635678</guid>
      <dc:creator>Tomek_1</dc:creator>
      <dc:date>2002-11-25T10:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can not remove group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851152#M635679</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;the best way to remve a volume group from a system is to use the vgexport command. Please try following:&lt;BR /&gt;&lt;BR /&gt;# vgexport vg02&lt;BR /&gt;&lt;BR /&gt;If that doesn't work, let me know.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Armin</description>
      <pubDate>Mon, 25 Nov 2002 10:52:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851152#M635679</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2002-11-25T10:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can not remove group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851153#M635680</link>
      <description>"/dev/dsk/vg02": &lt;BR /&gt;should not be there.. that's quite strange.&lt;BR /&gt;In /dev/dsk/ device files look like cXtYd0&lt;BR /&gt;&lt;BR /&gt;the LVM device files should be located in /dev/vg02&lt;BR /&gt;&lt;BR /&gt;strings /etc/lvmtab to verify the vg definition.&lt;BR /&gt;&lt;BR /&gt;vgexport vg02&lt;BR /&gt;should work, then examine /dev/dsk/vg00 directory and remove it..&lt;BR /&gt;&lt;BR /&gt;recreate the vg properly.&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vg02&lt;BR /&gt;mknod /dev/vg02/group c 64 0x020000&lt;BR /&gt;     &lt;BR /&gt;note the 0x020000&lt;BR /&gt;should not be present in the ouput of&lt;BR /&gt;ll /dev/*/group&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Mon, 25 Nov 2002 10:54:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851153#M635680</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-11-25T10:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can not remove group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851154#M635681</link>
      <description>That was my mistake: /dev/dsk/c3t8d0.&lt;BR /&gt;strings /etc/lvmtab shows me:&lt;BR /&gt;/dev/vg00&lt;BR /&gt;wo&amp;gt;U1&lt;BR /&gt;/dev/dsk/c3t5d0&lt;BR /&gt;/dev/vg01&lt;BR /&gt;wo&amp;gt;U=6fE&lt;BR /&gt;/dev/dsk/c3t9d0&lt;BR /&gt;&lt;BR /&gt;I thnik something is wrong.</description>
      <pubDate>Mon, 25 Nov 2002 11:04:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851154#M635681</guid>
      <dc:creator>Tomek_1</dc:creator>
      <dc:date>2002-11-25T11:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can not remove group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851155#M635682</link>
      <description>Try doing&lt;BR /&gt;&lt;BR /&gt;#vgreduce -f /dev/vg02&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 25 Nov 2002 11:07:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851155#M635682</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-11-25T11:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can not remove group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851156#M635683</link>
      <description>vg02 does not exist on the system..&lt;BR /&gt;vexport will not works because it's not in the /etc/lvmtab.&lt;BR /&gt;&lt;BR /&gt;whats in /etc/fstab ?&lt;BR /&gt;&lt;BR /&gt;are you trying to vgimport or remove??&lt;BR /&gt;&lt;BR /&gt;I'm sorry but I don't see exactly the problem.&lt;BR /&gt;Anything in the syslog?&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Mon, 25 Nov 2002 11:12:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851156#M635683</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-11-25T11:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can not remove group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851157#M635684</link>
      <description>Also rebuild your lvmtab file&lt;BR /&gt;&lt;BR /&gt;#mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;#vgscan -a&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Nov 2002 11:17:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851157#M635684</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-11-25T11:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can not remove group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851158#M635685</link>
      <description>Hi, Tom&lt;BR /&gt;&lt;BR /&gt;since you have executed vgremove it might have remove vg02 entry in lvmtab file.&lt;BR /&gt;&lt;BR /&gt;#mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;#vgscan&lt;BR /&gt;&lt;BR /&gt;now you should be able to see vg02 in lvmtab if you are lucky.&lt;BR /&gt;pls post the output</description>
      <pubDate>Mon, 25 Nov 2002 11:23:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851158#M635685</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-11-25T11:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can not remove group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851159#M635686</link>
      <description>I wanted to use vgimport but now i have created new volume group and file system.&lt;BR /&gt;I'm trying to remove group and logical volume from an old server (i've remove a disk): lvremove -f /dev/vg02/lvol1, and i got message: The supplied lv number refers to a non-existent logical volume.&lt;BR /&gt;&lt;BR /&gt;strings /etc/lvmtab shows me:&lt;BR /&gt;/dev/vg00&lt;BR /&gt;wo&amp;gt;U1&lt;BR /&gt;/dev/dsk/c3t5d0&lt;BR /&gt;/dev/vg01&lt;BR /&gt;wo&amp;gt;U=6fE&lt;BR /&gt;/dev/dsk/c3t9d0&lt;BR /&gt;/dev/vg02&lt;BR /&gt;wo&amp;gt;U=&lt;BR /&gt;/dev/dsk/c3t8d0&lt;BR /&gt;&lt;BR /&gt;You think it's OK? (i mean wo&amp;gt;....)&lt;BR /&gt;&lt;BR /&gt;I have made vgscan -a:&lt;BR /&gt;&lt;BR /&gt;Creating "/etc/lvmtab".&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c1t2d0":&lt;BR /&gt;Invalid argument&lt;BR /&gt;Following Physical Volumes belong to one Volume Group.&lt;BR /&gt;Unable to match these Physical Volumes to a Volume Group.&lt;BR /&gt;Use the vgimport command to complete the process.&lt;BR /&gt;/dev/dsk/c3t10d0&lt;BR /&gt;&lt;BR /&gt;The c3t10d0 is an empty disk, c1t2d0 is a cdrom.&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Nov 2002 11:37:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851159#M635686</guid>
      <dc:creator>Tomek_1</dc:creator>
      <dc:date>2002-11-25T11:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can not remove group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851160#M635687</link>
      <description>Check this doc for the vgscan messages&lt;BR /&gt;&lt;BR /&gt;you have to vgimport for the missing volumes.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000065255412" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000065255412&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Nov 2002 13:41:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851160#M635687</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-11-25T13:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can not remove group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851161#M635688</link>
      <description>Hi Tom,&lt;BR /&gt;&lt;BR /&gt;Don't worry about the wo&amp;gt;U= &lt;BR /&gt;in the lvmtab file.  It's not a text file.  Strings finds the printable characters in the file, so hence sometimes you get odd characters.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Hilary&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Nov 2002 14:37:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851161#M635688</guid>
      <dc:creator>BFA6</dc:creator>
      <dc:date>2002-11-25T14:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can not remove group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851162#M635689</link>
      <description>Right now i want to remove group, because i've erased all data, and i don't want to import.&lt;BR /&gt;&lt;BR /&gt;Thanks for help&lt;BR /&gt;Tom</description>
      <pubDate>Mon, 25 Nov 2002 14:57:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851162#M635689</guid>
      <dc:creator>Tomek_1</dc:creator>
      <dc:date>2002-11-25T14:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can not remove group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851163#M635690</link>
      <description>Hi Tom:&lt;BR /&gt;&lt;BR /&gt;It appears that you *don't* want /dev/dsk/dev/dsk/c3t10d0 and that you incorrectly "destroyed" its LVM information.  If this is correct, do:&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f /dev/rdsk/c3t10d0&lt;BR /&gt;&lt;BR /&gt;This will erase existing LVM headers from the device.&lt;BR /&gt;&lt;BR /&gt;In the future, use 'lvremove' to remove a logical volume; use 'vgreduce' and 'vgremove' to remove volume groups; and/or use 'vgexport' to quicky remove a whole volume group; its logical volumes; and '/dev/' structures.  I suggest your review these man pages ('man 7 lvm') and read the chapter on disk and filesystem maintenance in "Managing Systems and Workgroups: A Guide for HP-UX System Administrators":&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF... &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Nov 2002 15:14:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-not-remove-group/m-p/2851163#M635690</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-11-25T15:14:22Z</dc:date>
    </item>
  </channel>
</rss>

