<?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: Strange vgcreate issue on replaced disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063979#M600615</link>
    <description>After reboot - I also had to recreate the vg - no big deal - as there was no data on it - only swap and /var/adm/crash.&lt;BR /&gt;&lt;BR /&gt;Seriously, HP needs to fix it so swap can be disabled on the fly - this is a Mission Critical OS is it not?&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
    <pubDate>Mon, 20 Aug 2007 17:12:37 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2007-08-20T17:12:37Z</dc:date>
    <item>
      <title>Strange vgcreate issue on replaced disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063971#M600607</link>
      <description>Had a disk lose an extent - so I had HP replace it.&lt;BR /&gt;&lt;BR /&gt;Prior to that, I lvreduced the mirrors on it, and then did a vgreduce /dev/vg01 /dev/dsk/c28t6d0&lt;BR /&gt;&lt;BR /&gt;After disk replaced, I did a:&lt;BR /&gt;&lt;BR /&gt;pvcreate /dev/rdsk/c28t6d0&lt;BR /&gt;&lt;BR /&gt;The tried:&lt;BR /&gt;&lt;BR /&gt;# vgextend /dev/vg01 /dev/dsk/c28t6d0&lt;BR /&gt;vgextend: Couldn't install the physical volume "/dev/dsk/c28t6d0".&lt;BR /&gt;The physical volume has no driver configured.&lt;BR /&gt;&lt;BR /&gt;Huh?&lt;BR /&gt;&lt;BR /&gt;Disk replaced was same as one before:&lt;BR /&gt;&lt;BR /&gt;# diskinfo /dev/rdsk/c28t6d0&lt;BR /&gt;SCSI describe of /dev/rdsk/c28t6d0:&lt;BR /&gt;             vendor: HP 36.4G&lt;BR /&gt;         product id: ST336752LC&lt;BR /&gt;               type: direct access&lt;BR /&gt;               size: 35566480 Kbytes&lt;BR /&gt;   bytes per sector: 512&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now for the strange part - I created a new vg as a test:&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vg02&lt;BR /&gt;# mknod /dev/vg02/group c 64 0x020000&lt;BR /&gt;# vgcreate -s 16 -p 32 -e 32768 /dev/vg02 /dev/dsk/c28t6d0&lt;BR /&gt;Volume group "/dev/vg02" has been successfully created.&lt;BR /&gt;Volume Group configuration for /dev/vg02 has been saved in /etc/lvmconf/vg02.conf&lt;BR /&gt;&lt;BR /&gt;Wow.&lt;BR /&gt;&lt;BR /&gt;# lvcreate -L 1024 /dev/vg02&lt;BR /&gt;Logical volume "/dev/vg02/lvol1" has been successfully created with&lt;BR /&gt;character device "/dev/vg02/rlvol1".&lt;BR /&gt;Logical volume "/dev/vg02/lvol1" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/vg02 has been saved in /etc/lvmconf/vg02.conf&lt;BR /&gt;&lt;BR /&gt;# newfs /dev/vg02/rlvol1&lt;BR /&gt;newfs: /etc/default/fs is used for determining the file system type&lt;BR /&gt;    version 4 layout&lt;BR /&gt;    1048576 sectors, 1048576 blocks of size 1024, log size 1024 blocks&lt;BR /&gt;    unlimited inodes, largefiles not supported&lt;BR /&gt;    1048576 data blocks, 1047224 free data blocks&lt;BR /&gt;    32 allocation units of 32768 blocks, 32768 data blocks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Wow again...&lt;BR /&gt;&lt;BR /&gt;# vgchange -a n vg02&lt;BR /&gt;Volume group "vg02" has been successfully changed.&lt;BR /&gt;&lt;BR /&gt;# vgexport /dev/vg02&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f /dev/rdsk/c28t6d0&lt;BR /&gt;&lt;BR /&gt;# vgextend /dev/vg01 /dev/dsk/c28t6d0&lt;BR /&gt;vgextend: Couldn't install the physical volume "/dev/dsk/c28t6d0".&lt;BR /&gt;The physical volume has no driver configured.&lt;BR /&gt;&lt;BR /&gt;Argh...&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                      2&lt;BR /&gt;Open LV                     2&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               8683&lt;BR /&gt;VGDA                        2&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    8681&lt;BR /&gt;Alloc PE                    8680&lt;BR /&gt;Free PE                     1&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/swap&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            22432&lt;BR /&gt;   Current LE                  5608&lt;BR /&gt;   Allocated PE                5608&lt;BR /&gt;   Used PV                     1&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg01/lvol2&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            12288&lt;BR /&gt;   Current LE                  3072&lt;BR /&gt;   Allocated PE                3072&lt;BR /&gt;   Used PV                     1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c3t6d0&lt;BR /&gt;   PV Status                   unavailable&lt;BR /&gt;   Total PE                    8681&lt;BR /&gt;   Free PE                     1&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# diskinfo /dev/rdsk/c3t6d0&lt;BR /&gt;SCSI describe of /dev/rdsk/c3t6d0:&lt;BR /&gt;             vendor: HP 36.4G&lt;BR /&gt;         product id: ST336752LC&lt;BR /&gt;               type: direct access&lt;BR /&gt;               size: 35566480 Kbytes&lt;BR /&gt;   bytes per sector: 512&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The other disk in the vg is identical!&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Aug 2007 16:16:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063971#M600607</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-08-20T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Strange vgcreate issue on replaced disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063972#M600608</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I don't see every reason why you say wow, however what happens if you run pvcreate -f&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 20 Aug 2007 16:22:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063972#M600608</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-20T16:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Strange vgcreate issue on replaced disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063973#M600609</link>
      <description>I did the pvcreate -f (see above)&lt;BR /&gt;&lt;BR /&gt;The "wow" is it will let me create a new vg with this disk - but it won't let be extend an existing vg....&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 20 Aug 2007 16:26:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063973#M600609</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-08-20T16:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Strange vgcreate issue on replaced disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063974#M600610</link>
      <description>And now for something completely different:&lt;BR /&gt;&lt;BR /&gt;# vgextend /dev/vg00 /dev/dsk/c28t6d0&lt;BR /&gt;Volume group "/dev/vg00" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf&lt;BR /&gt;&lt;BR /&gt;Hey - it worked for vg00!!!!&lt;BR /&gt;&lt;BR /&gt;# vgreduce /dev/vg00 /dev/dsk/c28t6d0&lt;BR /&gt;Volume group "/dev/vg00" has been successfully reduced.&lt;BR /&gt;Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf&lt;BR /&gt;&lt;BR /&gt;# vgextend /dev/vg01 /dev/dsk/c28t6d0&lt;BR /&gt;vgextend: Couldn't install the physical volume "/dev/dsk/c28t6d0".&lt;BR /&gt;The physical volume has no driver configured.&lt;BR /&gt;&lt;BR /&gt;But not for vg01!&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Aug 2007 16:28:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063974#M600610</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-08-20T16:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Strange vgcreate issue on replaced disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063975#M600611</link>
      <description>Okay - now I know why:&lt;BR /&gt;&lt;BR /&gt;PV Name /dev/dsk/c3t6d0&lt;BR /&gt;PV Status unavailable&lt;BR /&gt;&lt;BR /&gt;How did that happen...&lt;BR /&gt;&lt;BR /&gt;Yet the diskinfo is ok...&lt;BR /&gt;&lt;BR /&gt;Now I'm in trouble...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Aug 2007 16:35:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063975#M600611</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-08-20T16:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Strange vgcreate issue on replaced disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063976#M600612</link>
      <description>Geoff,&lt;BR /&gt;&lt;BR /&gt;Why does your existing disk in vg01 have a status of unavailable?  can you do a 'vgchange -a n vg01' followed by 'vgchange -a y vg01' successfully?  If so, after that does the status change?  And can you then add the 2nd drive?&lt;BR /&gt;&lt;BR /&gt;Hope it helps&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Mon, 20 Aug 2007 16:42:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063976#M600612</guid>
      <dc:creator>John Payne_2</dc:creator>
      <dc:date>2007-08-20T16:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Strange vgcreate issue on replaced disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063977#M600613</link>
      <description>Nope - as once again I am bitten by the "HP-UX can NOT disable swap on the fly".&lt;BR /&gt;&lt;BR /&gt;vgchange -a n results in device busy - as there is swap on it:&lt;BR /&gt;&lt;BR /&gt;# swapinfo -tam&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        4096       0    4096    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev       22432       0   22432    0%       0       -    2  /dev/vg01/swap&lt;BR /&gt;reserve       -     533    -533&lt;BR /&gt;memory    12648    2234   10414   18%&lt;BR /&gt;total     39176    2767   36409    7%       -       0    -&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sigh - looks like I need to reboot like they do in the MS world....&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Aug 2007 16:47:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063977#M600613</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-08-20T16:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Strange vgcreate issue on replaced disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063978#M600614</link>
      <description>I was just thinking as my boss and I had to boot a box for a simple change that as much as we deny it there are occasional similarities between the operation of HP-UX and Microsoft.&lt;BR /&gt;&lt;BR /&gt;I'd say on the balance however HP-UX has to be booted much less often.&lt;BR /&gt;&lt;BR /&gt;Glad you figured it out. Have fun. Hope to see you again soon.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 20 Aug 2007 16:57:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063978#M600614</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-20T16:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Strange vgcreate issue on replaced disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063979#M600615</link>
      <description>After reboot - I also had to recreate the vg - no big deal - as there was no data on it - only swap and /var/adm/crash.&lt;BR /&gt;&lt;BR /&gt;Seriously, HP needs to fix it so swap can be disabled on the fly - this is a Mission Critical OS is it not?&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 20 Aug 2007 17:12:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-vgcreate-issue-on-replaced-disk/m-p/5063979#M600615</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-08-20T17:12:37Z</dc:date>
    </item>
  </channel>
</rss>

