<?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: after inserting new internal disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663387#M620935</link>
    <description>c0t0d0 is cdrom/dvd drive.&lt;BR /&gt;I have three task.&lt;BR /&gt;first, restore vgoo&lt;BR /&gt;second, split mirror disk&lt;BR /&gt;third, remirror root.&lt;BR /&gt;&lt;BR /&gt;in rx4640, it needs execute restoration in sigle mode?&lt;BR /&gt;&lt;BR /&gt;1.mkdir /dev/vg00&lt;BR /&gt;mknod /dev/vg00/group c 64 0x000000&lt;BR /&gt;vgimport -s -m /VG00_MAP /dev/vg00&lt;BR /&gt;vgchange -a y /dev/vg00&lt;BR /&gt;vgcfgbackup /dev/vg00&lt;BR /&gt;mount -a&lt;BR /&gt;setboot  -p &lt;BR /&gt;lvlnboot -R&lt;BR /&gt;lvlnboot -v &lt;BR /&gt;&lt;BR /&gt;2.vgreduce -f&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3.remirroring&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;is it right?</description>
    <pubDate>Thu, 03 Nov 2005 00:45:05 GMT</pubDate>
    <dc:creator>???_185</dc:creator>
    <dc:date>2005-11-03T00:45:05Z</dc:date>
    <item>
      <title>after inserting new internal disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663382#M620930</link>
      <description>after root mirror fail, I insert new disk for new mirror in rx4640.&lt;BR /&gt;&lt;BR /&gt;[uh2:/]strings /etc/lvmtab&lt;BR /&gt;/dev/vg01&lt;BR /&gt;/dev/dsk/c12t0d0&lt;BR /&gt;/dev/dsk/c12t0d1&lt;BR /&gt;/dev/vg02&lt;BR /&gt;/dev/dsk/c12t0d2&lt;BR /&gt;/dev/dsk/c12t0d3&lt;BR /&gt;/dev/vg03&lt;BR /&gt;/dev/dsk/c12t0d4&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[uh2:/]vgscan -a&lt;BR /&gt;Creating "/etc/lvmtab".&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c0t0d0":&lt;BR /&gt;Invalid argument&lt;BR /&gt;Physical Volume "/dev/dsk/c2t0d0" is not part of a Volume Group&lt;BR /&gt;&lt;BR /&gt;vgscan:  has no correspoding valid raw device file under /dev/rdsk.&lt;BR /&gt;Verification of unique LVM disk id on each disk in the volume group&lt;BR /&gt;/dev/vg00 failed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[uh2:/]&lt;BR /&gt;[uh2:/]ioscan -fnkC disk&lt;BR /&gt;Class     I  H/W Path       Driver     S/W State   H/W Type     Description&lt;BR /&gt;============================================================================&lt;BR /&gt;disk      0  0/0/3/0.0.0.0  sdisk      CLAIMED     DEVICE       TEAC    DV-28E-N&lt;BR /&gt;                           /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0&lt;BR /&gt;disk      1  0/1/1/0.0.0    sdisk      CLAIMED     DEVICE       HP 73.4GMAS3735NC&lt;BR /&gt;                           /dev/dsk/c2t0d0   /dev/rdsk/c2t0d0&lt;BR /&gt;disk      2  0/1/1/0.1.0    sdisk      CLAIMED     DEVICE       HP 73.4GST373454LC&lt;BR /&gt;                           /dev/dsk/c2t1d0     /dev/dsk/c2t1d0s3   /dev/rdsk/c2t1d0s2&lt;BR /&gt;                           /dev/dsk/c2t1d0s1   /dev/rdsk/c2t1d0    /dev/rdsk/c2t1d0s3&lt;BR /&gt;                           /dev/dsk/c2t1d0s2   /dev/rdsk/c2t1d0s1&lt;BR /&gt;&lt;BR /&gt;I can't remove vg00-/dev/dsk/c2t0d0&lt;BR /&gt;system don't recognize disk.&lt;BR /&gt;why? and any solution?&lt;BR /&gt;Thanks Regard.</description>
      <pubDate>Wed, 02 Nov 2005 21:39:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663382#M620930</guid>
      <dc:creator>???_185</dc:creator>
      <dc:date>2005-11-02T21:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: after inserting new internal disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663383#M620931</link>
      <description>this doc should be able to answer your questions:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf" target="_blank"&gt;http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf&lt;/A&gt;</description>
      <pubDate>Wed, 02 Nov 2005 21:48:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663383#M620931</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2005-11-02T21:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: after inserting new internal disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663384#M620932</link>
      <description>finally, I lost root lbmtab information.&lt;BR /&gt;I have backup file about lvmtab&lt;BR /&gt;how can I solve this problem&lt;BR /&gt;[uh2:/]strings /etc/lvmtab.backup&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c2t1d0s2&lt;BR /&gt;/dev/dsk/c2t0d0s2&lt;BR /&gt;/dev/vg01&lt;BR /&gt;/dev/dsk/c12t0d0&lt;BR /&gt;/dev/dsk/c12t0d1&lt;BR /&gt;/dev/vg02&lt;BR /&gt;/dev/dsk/c12t0d2&lt;BR /&gt;/dev/dsk/c12t0d3&lt;BR /&gt;/dev/vg03&lt;BR /&gt;/dev/dsk/c12t0d4&lt;BR /&gt;[uh2:/]strings /etc/lvmtab&lt;BR /&gt;/dev/vg01&lt;BR /&gt;/dev/dsk/c12t0d0&lt;BR /&gt;/dev/dsk/c12t0d1&lt;BR /&gt;/dev/vg02&lt;BR /&gt;/dev/dsk/c12t0d2&lt;BR /&gt;/dev/dsk/c12t0d3&lt;BR /&gt;/dev/vg03&lt;BR /&gt;/dev/dsk/c12t0d4&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Nov 2005 23:51:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663384#M620932</guid>
      <dc:creator>???_185</dc:creator>
      <dc:date>2005-11-02T23:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: after inserting new internal disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663385#M620933</link>
      <description>c0t0d0 looks a like cdrom/dvd drive.&lt;BR /&gt;What does following commands say?&lt;BR /&gt;diskinfo -v /dev/rdsk/c0t0d0</description>
      <pubDate>Thu, 03 Nov 2005 00:09:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663385#M620933</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-11-03T00:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: after inserting new internal disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663386#M620934</link>
      <description>man vgscan</description>
      <pubDate>Thu, 03 Nov 2005 00:11:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663386#M620934</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2005-11-03T00:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: after inserting new internal disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663387#M620935</link>
      <description>c0t0d0 is cdrom/dvd drive.&lt;BR /&gt;I have three task.&lt;BR /&gt;first, restore vgoo&lt;BR /&gt;second, split mirror disk&lt;BR /&gt;third, remirror root.&lt;BR /&gt;&lt;BR /&gt;in rx4640, it needs execute restoration in sigle mode?&lt;BR /&gt;&lt;BR /&gt;1.mkdir /dev/vg00&lt;BR /&gt;mknod /dev/vg00/group c 64 0x000000&lt;BR /&gt;vgimport -s -m /VG00_MAP /dev/vg00&lt;BR /&gt;vgchange -a y /dev/vg00&lt;BR /&gt;vgcfgbackup /dev/vg00&lt;BR /&gt;mount -a&lt;BR /&gt;setboot  -p &lt;BR /&gt;lvlnboot -R&lt;BR /&gt;lvlnboot -v &lt;BR /&gt;&lt;BR /&gt;2.vgreduce -f&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3.remirroring&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;is it right?</description>
      <pubDate>Thu, 03 Nov 2005 00:45:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663387#M620935</guid>
      <dc:creator>???_185</dc:creator>
      <dc:date>2005-11-03T00:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: after inserting new internal disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663388#M620936</link>
      <description>Forget about the vgscan command, because your new disk is empty. You'll have to restore the lvm structure to it.&lt;BR /&gt;First step is to create the partitions in order to get the cxtydzs.. (s1 s2 s3) devices. &lt;BR /&gt;&lt;BR /&gt;Create a file (e.g. /tmp/dskpart) with this content:&lt;BR /&gt;&lt;BR /&gt;3&lt;BR /&gt;EFI 500MB&lt;BR /&gt;HPUX 100%&lt;BR /&gt;HPSP 400MB&lt;BR /&gt;&lt;BR /&gt;Now run idisk:&lt;BR /&gt;&lt;BR /&gt;#idisk -f /tmp/dskpart -w /dev/rdsk/c2t0d0&lt;BR /&gt;&lt;BR /&gt;create the device files:&lt;BR /&gt;&lt;BR /&gt;#insf -e -H 0/1/1/0.0.0&lt;BR /&gt;&lt;BR /&gt;now restore lvm information&lt;BR /&gt;&lt;BR /&gt;#vgcfgrestore â  n vg00 /dev/rdsk/c2t0d0s2&lt;BR /&gt;&lt;BR /&gt;activate vg&lt;BR /&gt;&lt;BR /&gt;#vgchange -a y vg00&lt;BR /&gt;&lt;BR /&gt;update boot area&lt;BR /&gt;&lt;BR /&gt;#mkboot â  e â  l /dev/rdsk/c2t0d0&lt;BR /&gt;&lt;BR /&gt;sync the vg&lt;BR /&gt;&lt;BR /&gt;#vgsync vg00&lt;BR /&gt;&lt;BR /&gt;Update the root volume group information:&lt;BR /&gt;&lt;BR /&gt;# lvlnboot -R /dev/vg00&lt;BR /&gt;&lt;BR /&gt;set the autostart string&lt;BR /&gt;&lt;BR /&gt;#echo â  boot vmunixâ   &amp;gt; ./AUTO&lt;BR /&gt;# efi_cp -d /dev/rdsk/c2t0d0s1 ./AUTO /efi/hpux/auto&lt;BR /&gt;&lt;BR /&gt;for more information see the documentation mentioned earlier&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf" target="_blank"&gt;http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf&lt;/A&gt;</description>
      <pubDate>Thu, 03 Nov 2005 02:19:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663388#M620936</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2005-11-03T02:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: after inserting new internal disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663389#M620937</link>
      <description>I am &lt;BR /&gt;1. reduce all lv on vg00.&lt;BR /&gt;#for i in 1 2 3 4 5 6 7 8&lt;BR /&gt;do&lt;BR /&gt;lvreduce -m 0 -k /dev/vg00/lvol$i /dev/dsk/c2t0d0&lt;BR /&gt;done&lt;BR /&gt;NOTE: if you have more than 8 lv pls reduce by manual.&lt;BR /&gt;2,vgreduce -f vg00&lt;BR /&gt;3,mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;4,reduce pv "/dev/dsk/c2t0d0" from vg00&lt;BR /&gt;5, pvcreate -f /dev/rdsk/c2t0d0&lt;BR /&gt;6, vgextend vg00 /dev/dsk/c2t0d0&lt;BR /&gt;7,vgcfgrestore -n vg00 /dev/rdsk/c2t0d0&lt;BR /&gt;#for i in 1 2 3 4 5 6 7 8&lt;BR /&gt;do&lt;BR /&gt;lvreduce -m 1 /dev/vg00/lvol$i /dev/dsk/c2t0d0&lt;BR /&gt;done&lt;BR /&gt;8,setboot -a HWPATH of /dev/dsk/c2t0d0&lt;BR /&gt;9,mirroring all lv in vg00 again&lt;BR /&gt;HTH&lt;BR /&gt;tienna&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Nov 2005 20:55:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663389#M620937</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2005-11-03T20:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: after inserting new internal disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663390#M620938</link>
      <description>Please do not use /dev/dsk/c2t0d0,&lt;BR /&gt;use /dev/dsk/c2t0d0s2 , since this is an integrity system (itanium2)&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;T</description>
      <pubDate>Fri, 04 Nov 2005 14:45:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-inserting-new-internal-disk/m-p/3663390#M620938</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2005-11-04T14:45:09Z</dc:date>
    </item>
  </channel>
</rss>

