<?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: lvremove failed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032346#M633367</link>
    <description>vgexport: Volume group "vg01" is still active.&lt;BR /&gt;vgexport: Couldn't export volume group "vg01".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Note!&lt;BR /&gt;The physical disk has been replaced today!&lt;BR /&gt;&lt;BR /&gt;syslog:&lt;BR /&gt;ul 24 11:01:55 gctiasu1 vmunix: SCSI: Read error -- dev: b 31 0x008000, errno: 126, resid: 2048,&lt;BR /&gt;Jul 24 11:02:05 gctiasu1 vmunix: SCSI: Read error -- dev: b 31 0x008000, errno: 126, resid: 2048,&lt;BR /&gt;Jul 24 11:22:03 gctiasu1 vmunix: SCSI: Read error -- dev: b 31 0x008000, errno: 126, resid: 2048,&lt;BR /&gt;Jul 24 11:22:13 gctiasu1 vmunix: SCSI: Read error -- dev: b 31 0x008000, errno: 126, resid: 2048,&lt;BR /&gt;Jul 24 11:31:20 gctiasu1 vmunix: SCSI: Read error -- dev: b 31 0x008000, errno: 126, resid: 2048,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This error message is also in syslog:&lt;BR /&gt;Jul 24 13:38:18 gctiasu1 vmunix: vxfs: mesg 024: vx_cutwait - /dev/vg01/lvol20 file system current usage table update error&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 24 Jul 2003 12:31:58 GMT</pubDate>
    <dc:creator>Torbjorn Westman</dc:creator>
    <dc:date>2003-07-24T12:31:58Z</dc:date>
    <item>
      <title>lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032336#M633357</link>
      <description>I want to remove a volume group and first I tried to remove the logical volumes corresponding to that volume group but without success...&lt;BR /&gt;&lt;BR /&gt;$ lvremove /dev/vg01/lvol20&lt;BR /&gt;lvremove: Couldn't delete logical volume "/dev/vg01/lvol20":&lt;BR /&gt;The supplied lv number refers to a non-existent logical volume.&lt;BR /&gt;vgcfgbackup: Invalid LVMREC on Physical Volume /dev/rdsk/c0t8d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here are some info from other commands:&lt;BR /&gt;&lt;BR /&gt;$ vgdisplay -v vg01&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;VG Write Access             read/write     &lt;BR /&gt;VG Status                   available                 &lt;BR /&gt;Max LV                      255    &lt;BR /&gt;Cur LV                      1      &lt;BR /&gt;Open LV                     3      &lt;BR /&gt;Max PV                      16     &lt;BR /&gt;Cur PV                      1      &lt;BR /&gt;Act PV                      1      &lt;BR /&gt;Max PE per PV               2171         &lt;BR /&gt;VGDA                        2   &lt;BR /&gt;PE Size (Mbytes)            4               &lt;BR /&gt;Total PE                    2170    &lt;BR /&gt;Alloc PE                    400     &lt;BR /&gt;Free PE                     1770    &lt;BR /&gt;Total PVG                   0        &lt;BR /&gt;Total Spare PVs             0              &lt;BR /&gt;Total Spare PVs in use      0                     &lt;BR /&gt;&lt;BR /&gt;   --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/vg01/lvol20&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            0               &lt;BR /&gt;   Current LE                  0         &lt;BR /&gt;   Allocated PE                0           &lt;BR /&gt;   Used PV                     0       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg01/lvol99&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            1600            &lt;BR /&gt;   Current LE                  400       &lt;BR /&gt;   Allocated PE                400         &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg01/lvol21&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            0               &lt;BR /&gt;   Current LE                  0         &lt;BR /&gt;   Allocated PE                0           &lt;BR /&gt;   Used PV                     0       &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c0t8d0&lt;BR /&gt;   PV Status                   unavailable              &lt;BR /&gt;   Total PE                    2170    &lt;BR /&gt;   Free PE                     1770    &lt;BR /&gt;   Autoswitch                  On        &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ vgchange -a n vg01&lt;BR /&gt;vgchange: Couldn't deactivate volume group "vg01":&lt;BR /&gt;Device busy&lt;BR /&gt;&lt;BR /&gt;$ fuser /dev/vg01/lvol20&lt;BR /&gt;/dev/vg01/lvol20: &lt;BR /&gt;&lt;BR /&gt;$ fuser /dev/vg01/lvol99&lt;BR /&gt;/dev/vg01/lvol99: &lt;BR /&gt;&lt;BR /&gt;$ fuser /dev/vg01/lvol21&lt;BR /&gt;/dev/vg01/lvol21: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c0t5d0&lt;BR /&gt;/dev/vg01&lt;BR /&gt;/dev/dsk/c0t8d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ lvdisplay -v /dev/vg01/lvol20&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg01/lvol20&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;LV Permission               read/write   &lt;BR /&gt;LV Status                   available/syncd           &lt;BR /&gt;Mirror copies               0            &lt;BR /&gt;Consistency Recovery        MWC                 &lt;BR /&gt;Schedule                    parallel     &lt;BR /&gt;LV Size (Mbytes)            0               &lt;BR /&gt;Current LE                  0         &lt;BR /&gt;Allocated PE                0           &lt;BR /&gt;Stripes                     0       &lt;BR /&gt;Stripe Size (Kbytes)        0                   &lt;BR /&gt;Bad block                   on           &lt;BR /&gt;Allocation                  non-strict                &lt;BR /&gt;IO Timeout (Seconds)        default     &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Anyone who knows how I can remove this volume group ?</description>
      <pubDate>Thu, 24 Jul 2003 11:59:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032336#M633357</guid>
      <dc:creator>Torbjorn Westman</dc:creator>
      <dc:date>2003-07-24T11:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032337#M633358</link>
      <description>Try using SAM to remove it.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Thu, 24 Jul 2003 12:03:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032337#M633358</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2003-07-24T12:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032338#M633359</link>
      <description>From the man page for lvremove:&lt;BR /&gt;&lt;BR /&gt;"Logical volumes must be closed before they can be removed.  For&lt;BR /&gt;      example, if the logical volume contains a file system, unmount the&lt;BR /&gt;      file system before removing it."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jul 2003 12:03:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032338#M633359</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-07-24T12:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032339#M633360</link>
      <description>Hi,&lt;BR /&gt;There seems to be something wrong with the LVM information on the disk.&lt;BR /&gt;First try to make things right with a&lt;BR /&gt;#vgcfgrestore vg01&lt;BR /&gt;then try the lvremove again ...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom Geudens</description>
      <pubDate>Thu, 24 Jul 2003 12:04:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032339#M633360</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2003-07-24T12:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032340#M633361</link>
      <description>Hi,&lt;BR /&gt;this is the problem&lt;BR /&gt;&lt;BR /&gt;"PV Status unavailable "&lt;BR /&gt;&lt;BR /&gt;To scratch it all,&lt;BR /&gt;first you need to do a vgcfgrestore on the disk, to replace correctly the information.&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n vg01 /dev/dsk/c0t8d0 &lt;BR /&gt;&lt;BR /&gt;then do a &lt;BR /&gt;&lt;BR /&gt;vgchange -a y vg01&lt;BR /&gt;&lt;BR /&gt;to have the system re-read the configuration.&lt;BR /&gt;&lt;BR /&gt;Finally, umount the lvols, vgchange the vg and export it.&lt;BR /&gt;&lt;BR /&gt;  Massimo&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jul 2003 12:04:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032340#M633361</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-07-24T12:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032341#M633362</link>
      <description>All filesystems in vg01 are unmounted.</description>
      <pubDate>Thu, 24 Jul 2003 12:04:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032341#M633362</guid>
      <dc:creator>Torbjorn Westman</dc:creator>
      <dc:date>2003-07-24T12:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032342#M633363</link>
      <description>Hi again,&lt;BR /&gt;Oops, that should have been ...&lt;BR /&gt;#vgcfgrestore -n vg01 /dev/rdsk/c0t8d0&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom Geudens</description>
      <pubDate>Thu, 24 Jul 2003 12:06:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032342#M633363</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2003-07-24T12:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032343#M633364</link>
      <description>I think this doc pertains to your problem:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062910259" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062910259&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Elena</description>
      <pubDate>Thu, 24 Jul 2003 12:06:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032343#M633364</guid>
      <dc:creator>Elena Leontieva</dc:creator>
      <dc:date>2003-07-24T12:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032344#M633365</link>
      <description>If you just want to blow the VG away and don't care about it, try vgexport.&lt;BR /&gt;&lt;BR /&gt;# vgexport vg01</description>
      <pubDate>Thu, 24 Jul 2003 12:10:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032344#M633365</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-07-24T12:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032345#M633366</link>
      <description>--- Physical volumes --- &lt;BR /&gt;PV Name /dev/dsk/c0t8d0 &lt;BR /&gt;PV Status unavailable &lt;BR /&gt;Total PE 2170 &lt;BR /&gt;Free PE 1770 &lt;BR /&gt;Autoswitch On &lt;BR /&gt;&lt;BR /&gt;PV_status=unavailable&lt;BR /&gt;&lt;BR /&gt;please check what 'ioscan -fnCdisk' says for /dev/dsk/c0t8d0? If DEVICE and CLAIMED then check its readability with 'dd if=/dev/rdsk/c0t8d0 of=/dev/null bs=1024k' and if it will go ok then follow Massimo's advice. If it (dd) will not work then disk may be physically damaged, and if disk in ioscan will be NO_HW - the same, disk as a device is under suspicion.&lt;BR /&gt;What's this /dev/dsk/c0t8d0? Is it hot-pluggable disk? If yes, then please check if it's still in its slot. You will NOT be able to change lvmtab correctly without having this disk present (only vgscan may work, but it's not the best way to do it).&lt;BR /&gt;Generally - you need to ivestigate why c0t8d0 is unavailable&lt;BR /&gt;Eugeny</description>
      <pubDate>Thu, 24 Jul 2003 12:13:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032345#M633366</guid>
      <dc:creator>Eugeny Brychkov</dc:creator>
      <dc:date>2003-07-24T12:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032346#M633367</link>
      <description>vgexport: Volume group "vg01" is still active.&lt;BR /&gt;vgexport: Couldn't export volume group "vg01".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Note!&lt;BR /&gt;The physical disk has been replaced today!&lt;BR /&gt;&lt;BR /&gt;syslog:&lt;BR /&gt;ul 24 11:01:55 gctiasu1 vmunix: SCSI: Read error -- dev: b 31 0x008000, errno: 126, resid: 2048,&lt;BR /&gt;Jul 24 11:02:05 gctiasu1 vmunix: SCSI: Read error -- dev: b 31 0x008000, errno: 126, resid: 2048,&lt;BR /&gt;Jul 24 11:22:03 gctiasu1 vmunix: SCSI: Read error -- dev: b 31 0x008000, errno: 126, resid: 2048,&lt;BR /&gt;Jul 24 11:22:13 gctiasu1 vmunix: SCSI: Read error -- dev: b 31 0x008000, errno: 126, resid: 2048,&lt;BR /&gt;Jul 24 11:31:20 gctiasu1 vmunix: SCSI: Read error -- dev: b 31 0x008000, errno: 126, resid: 2048,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This error message is also in syslog:&lt;BR /&gt;Jul 24 13:38:18 gctiasu1 vmunix: vxfs: mesg 024: vx_cutwait - /dev/vg01/lvol20 file system current usage table update error&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jul 2003 12:31:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032346#M633367</guid>
      <dc:creator>Torbjorn Westman</dc:creator>
      <dc:date>2003-07-24T12:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032347#M633368</link>
      <description>The physical disk has been replaced today!  &lt;BR /&gt;&lt;BR /&gt;:(&lt;BR /&gt;&lt;BR /&gt;The technichan should have helped you out.&lt;BR /&gt;Now you have anew disk, with no data on it....&lt;BR /&gt;&lt;BR /&gt;do the vgcfgrestore, as previously noted, and finally the vgexport.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I hope the SCSI errors belonged to BEFORE the replacement, not AFTER....&lt;BR /&gt;&lt;BR /&gt;   Massimo&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jul 2003 12:34:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032347#M633368</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-07-24T12:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032348#M633369</link>
      <description>What did you do after you replaced the disk?  &lt;BR /&gt;&lt;BR /&gt;Did you do a &lt;BR /&gt;&lt;BR /&gt;# vgcfgrestore -n vg01 /dev/rdsk/c0t8d0&lt;BR /&gt;&lt;BR /&gt;# vgchange -a y vg01&lt;BR /&gt;&lt;BR /&gt;# vgchange -a n vg01&lt;BR /&gt;&lt;BR /&gt;That should allow you to do what you need to do.</description>
      <pubDate>Thu, 24 Jul 2003 12:36:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032348#M633369</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-07-24T12:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032349#M633370</link>
      <description>I dont know exactly what the technian did after the disk replacement.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I tried the commands now:&lt;BR /&gt;&lt;BR /&gt;$ vgcfgrestore -n vg01 /dev/rdsk/c0t8d0 &lt;BR /&gt;Volume Group configuration has been restored to /dev/rdsk/c0t8d0&lt;BR /&gt;&lt;BR /&gt;$ vgchange -a y vg01                            &lt;BR /&gt;vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c0t8d0":&lt;BR /&gt;A component of the path of the physical volume does not exist.&lt;BR /&gt;Volume group "vg01" has been successfully changed.&lt;BR /&gt;&lt;BR /&gt;$ vgchange -a n vg01                           &lt;BR /&gt;vgchange: Couldn't deactivate volume group "vg01":&lt;BR /&gt;Device busy</description>
      <pubDate>Thu, 24 Jul 2003 12:46:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032349#M633370</guid>
      <dc:creator>Torbjorn Westman</dc:creator>
      <dc:date>2003-07-24T12:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032350#M633371</link>
      <description>"If you just want to blow the VG away and don't care about it, try vgexport. &lt;BR /&gt;&lt;BR /&gt;# vgexport vg01"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yes, I don't care about it and want to blow it away and want to use /dev/dsk/c0t8d0 to vg00 instead.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But:&lt;BR /&gt;$ vgexport vg01&lt;BR /&gt;vgexport: Volume group "vg01" is still active.&lt;BR /&gt;vgexport: Couldn't export volume group "vg01".&lt;BR /&gt;&lt;BR /&gt;Are there any other ways to "deactivate" it other than with vgchange ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jul 2003 12:58:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032350#M633371</guid>
      <dc:creator>Torbjorn Westman</dc:creator>
      <dc:date>2003-07-24T12:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032351#M633372</link>
      <description>Hi,&lt;BR /&gt;can you reboot the server ?&lt;BR /&gt;&lt;BR /&gt;I know it is a drastical solution, but i'm beginning to think that there is some dirty in the kernel memory structure...&lt;BR /&gt;&lt;BR /&gt;vi /etc/lvmrc&lt;BR /&gt;&lt;BR /&gt;set the value to 0&lt;BR /&gt;&lt;BR /&gt;shutdown -r 0&lt;BR /&gt;&lt;BR /&gt;When the server come up, all of your vg will not be active. &lt;BR /&gt;&lt;BR /&gt;do the vgexport of vg01, now it should work.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;after that,&lt;BR /&gt;vi /etc/lvmrc and set the variable to 1 (for next reboot), activate each pther vg by hand and finally issue a "mount -a".&lt;BR /&gt;&lt;BR /&gt;Start your apps.&lt;BR /&gt;&lt;BR /&gt;Waiting for better suggestions, though.....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    Massimo</description>
      <pubDate>Thu, 24 Jul 2003 13:04:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032351#M633372</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-07-24T13:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032352#M633373</link>
      <description>"Hi, &lt;BR /&gt;can you reboot the server ? "&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If the only way to solve the problem is that I have to it but I really hope to avoid....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jul 2003 13:10:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032352#M633373</guid>
      <dc:creator>Torbjorn Westman</dc:creator>
      <dc:date>2003-07-24T13:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032353#M633374</link>
      <description>Do an &lt;BR /&gt;&lt;BR /&gt;# ioscan -fnC disk&lt;BR /&gt;&lt;BR /&gt;and verify that c0t8d0 is CLAIMED and that the device files exist.&lt;BR /&gt;&lt;BR /&gt;Also, what happens if you do a:&lt;BR /&gt;&lt;BR /&gt;# pvdisplay /dev/dsk/c0t8d0&lt;BR /&gt;# diskinfo /dev/rdsk/c0t8d0&lt;BR /&gt;&lt;BR /&gt;It sounds to me like there is still a problem with that disk.</description>
      <pubDate>Thu, 24 Jul 2003 13:17:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032353#M633374</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-07-24T13:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032354#M633375</link>
      <description>$ ioscan -fnCdisk&lt;BR /&gt;Class     I  H/W Path    Driver      S/W State H/W Type  Description&lt;BR /&gt;=====================================================================&lt;BR /&gt;disk      0  8/4.5.0     sdisk       CLAIMED   DEVICE    SEAGATE ST39173WC&lt;BR /&gt;                        /dev/dsk/c0t5d0   /dev/rdsk/c0t5d0&lt;BR /&gt;disk      1  8/4.8.0     sdisk       CLAIMED   DEVICE    SEAGATE ST39173WC&lt;BR /&gt;                        /dev/dsk/c0t8d0   /dev/rdsk/c0t8d0&lt;BR /&gt;disk      2  8/16/5.2.0  sdisk       CLAIMED   DEVICE    TOSHIBA CD-ROM XM-5701TA&lt;BR /&gt;                        /dev/dsk/c1t2d0   /dev/rdsk/c1t2d0&lt;BR /&gt;&lt;BR /&gt;$ ll /dev/dsk/c0t8d0&lt;BR /&gt;brw-r-----   1 bin        sys         31 0x008000 Aug 31  1999 /dev/dsk/c0t8d0&lt;BR /&gt;&lt;BR /&gt;$ ll /dev/vg01&lt;BR /&gt;total 0&lt;BR /&gt;crw-r--r--   1 root       sys         64 0x010000 Sep 30  1999 group&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010001 Jan 28 13:05 lvol20&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010003 Jan 28 13:05 lvol21&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010002 Sep 30  1999 lvol99&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010001 Sep 30  1999 rlvol20&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010003 Oct 14  1999 rlvol21&lt;BR /&gt;crw-r-----   1 root       sys         64 0x010002 Sep 30  1999 rlvol99&lt;BR /&gt;&lt;BR /&gt;$ pvdisplay /dev/dsk/c0t8d0&lt;BR /&gt;--- Physical volumes ---&lt;BR /&gt;PV Name                     /dev/dsk/c0t8d0&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;PV Status                   unavailable              &lt;BR /&gt;Allocatable                 yes          &lt;BR /&gt;VGDA                        2   &lt;BR /&gt;Cur LV                      1      &lt;BR /&gt;PE Size (Mbytes)            4               &lt;BR /&gt;Total PE                    2170    &lt;BR /&gt;Free PE                     1770    &lt;BR /&gt;Allocated PE                400         &lt;BR /&gt;Stale PE                    0       &lt;BR /&gt;IO Timeout (Seconds)        default             &lt;BR /&gt;Autoswitch                  On        &lt;BR /&gt;&lt;BR /&gt;$ diskinfo  /dev/rdsk/c0t8d0&lt;BR /&gt;SCSI describe of /dev/rdsk/c0t8d0:&lt;BR /&gt;             vendor: SEAGATE &lt;BR /&gt;         product id: ST39173WC       &lt;BR /&gt;               type: direct access&lt;BR /&gt;               size: 8891556 Kbytes&lt;BR /&gt;   bytes per sector: 512&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jul 2003 13:25:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032354#M633375</guid>
      <dc:creator>Torbjorn Westman</dc:creator>
      <dc:date>2003-07-24T13:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: lvremove failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032355#M633376</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;"$ vgchange -a n vg01 &lt;BR /&gt;vgchange: Couldn't deactivate volume group "vg01": &lt;BR /&gt;Device busy"&lt;BR /&gt;&lt;BR /&gt;this looks very strange because you said that all lv are unmounted.&lt;BR /&gt;&lt;BR /&gt;Can you do a fuser -c on the mountpoints even it means it is mounted or unmounted.&lt;BR /&gt;&lt;BR /&gt;then a fuser -k /dev/vg01/lvol20 and the other ones.&lt;BR /&gt;Then try to repeat the commando $ vgchange -a n vg01 &lt;BR /&gt;&lt;BR /&gt;If that not help you should reboot your server.&lt;BR /&gt;No way.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Roland&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jul 2003 13:33:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvremove-failed/m-p/3032355#M633376</guid>
      <dc:creator>RolandH</dc:creator>
      <dc:date>2003-07-24T13:33:40Z</dc:date>
    </item>
  </channel>
</rss>

