<?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: Broken LV in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881572#M636342</link>
    <description>Copy /etc/lvmtab as somefile.&lt;BR /&gt;run vgscan -p -v ( This will scan all physical valoume but will not create/update /etc/lvmtab.&lt;BR /&gt;If it looks OK for you then run vgscan -v. This will create a new lvmtab. Then contincue with your other vgcreation stuff.</description>
    <pubDate>Tue, 14 Jan 2003 16:13:29 GMT</pubDate>
    <dc:creator>Uday_S_Ankolekar</dc:creator>
    <dc:date>2003-01-14T16:13:29Z</dc:date>
    <item>
      <title>Broken LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881562#M636332</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;This morning, I'm hosed.&lt;BR /&gt;&lt;BR /&gt;I've been trying to add a tape drive to my J6000, now my external disks  have changed their scsi id's and I can't get them back online.&lt;BR /&gt;&lt;BR /&gt;The device files exist (/dev/vg02/group).&lt;BR /&gt;pvcreate was successful.&lt;BR /&gt;vgcreate gives me the following error:&lt;BR /&gt;&lt;BR /&gt;vgcreate: Volume group "/dev/vg02" already exists in the "/etc/lvmtab" file.&lt;BR /&gt;&lt;BR /&gt;I try activating the volume and I get the following:&lt;BR /&gt;&lt;BR /&gt;vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c2t12d0": &lt;BR /&gt;The path of the physical volume refers to a device that does not exist, or is not configured into the kernel". bla, bla, bla.&lt;BR /&gt;&lt;BR /&gt;Please help me before I cause further distruction!  &lt;BR /&gt;&lt;BR /&gt;Tom :-(&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 14:54:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881562#M636332</guid>
      <dc:creator>Tom Jackson</dc:creator>
      <dc:date>2003-01-14T14:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Broken LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881563#M636333</link>
      <description>Tom,&lt;BR /&gt;why SCSI Ids got changed? Did you do it manually?&lt;BR /&gt;Before doing it you could do vgexport for vg02, and after changing Ids do vgimport. As soon as you've already killed one of physical volumes within vg, I think you will need to restore from the backup. Now you can go vgcfgrestore for this disk you killed, and then restore data. But before doing it return old SCSI Ids back...&lt;BR /&gt;Eugeny</description>
      <pubDate>Tue, 14 Jan 2003 15:05:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881563#M636333</guid>
      <dc:creator>Eugeny Brychkov</dc:creator>
      <dc:date>2003-01-14T15:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Broken LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881564#M636334</link>
      <description>Hi Tom,&lt;BR /&gt;&lt;BR /&gt;you have to vgexport/import the volume group to fix this problem:&lt;BR /&gt;&lt;BR /&gt;# vgexport -m /tmp/vg02.map vg02&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vg02/&lt;BR /&gt;# mknod /dev/vg02/group c 64 0x020000&lt;BR /&gt;# vgimport -m /tmp/vg02.map /dev/dsk/c2t12d0&lt;BR /&gt;# vgchange -a y vg02&lt;BR /&gt;# vgdisplay vg02&lt;BR /&gt;&lt;BR /&gt;Regards ...&lt;BR /&gt;Armin</description>
      <pubDate>Tue, 14 Jan 2003 15:05:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881564#M636334</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2003-01-14T15:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Broken LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881565#M636335</link>
      <description>Check with command vgdisplay -v /dev/vg02  and see if it gives list of disk(s) in vg02 at the end of vgdisplay output.&lt;BR /&gt;&lt;BR /&gt;Also check what pvdisplay /dev/dsk/c2t12d0 and see if this is a part of any VG's&lt;BR /&gt;&lt;BR /&gt;Output of these commands will be helpful for further investigation.&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Tue, 14 Jan 2003 15:07:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881565#M636335</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2003-01-14T15:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Broken LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881566#M636336</link>
      <description>Hi Tom&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The best thing would be to revert back to the orginal mode , ie remove the tape drive and then reboot the system . THis would let the system come up properly if u ahvenet changed the disk id's. Incase you still ahve problems you can check for the device files /etc/lvmconf/vg02.conf doing a stirngs to know waht was the priginal device file and then either do a vcfgrestore or export and then import the volume group.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Tue, 14 Jan 2003 15:34:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881566#M636336</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2003-01-14T15:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Broken LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881567#M636337</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The scsi id's changed when I connected the tape drive to the same scsi bus.  The addresses for the disks were 10/0/15/0.12.0 and 10/0/15/0.14.0.  The current addresses are 10/0/15/0.13.0 and 10/0/15/0.15.0.  Pretty weird.&lt;BR /&gt;&lt;BR /&gt;There are no jumpers connected to the scsi id jumper block on either disk.  They should both be set to id zero.&lt;BR /&gt;&lt;BR /&gt;I did a vgexport before adding the tape drive, so I have a map file for vg02.  I don't have a map file for vg03, however, vg02 mirrors (via script) the system disk vg00 and vg03 mirrors (also via script) vg01.  So can I create a map file, if needed, from vg01 for vg03?&lt;BR /&gt;&lt;BR /&gt;I don't know how to reset the ids back to their original settings.  I removed the tape drive, did a SEA from IPL and the ids stayed the same.&lt;BR /&gt;&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 15:34:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881567#M636337</guid>
      <dc:creator>Tom Jackson</dc:creator>
      <dc:date>2003-01-14T15:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Broken LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881568#M636338</link>
      <description>Hi Tom,&lt;BR /&gt;&lt;BR /&gt;yes you can create a mapfile for importing vg03.&lt;BR /&gt;&lt;BR /&gt;# vgexport -p -m /tmp/vg00.map vg00&lt;BR /&gt;# vi /tmp/vg00.map (and edit the ascii file if necessary)&lt;BR /&gt;# mv /tmp/vg00.map /tmp/vg03.map&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vg03/ &lt;BR /&gt;# mknod /dev/vg03/group c 64 0x030000 &lt;BR /&gt;# vgimport -m /tmp/vg03.map /dev/dsk/cYtXdZ&lt;BR /&gt;# vgchange -a y vg03 &lt;BR /&gt;# vgdisplay vg03 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards ...&lt;BR /&gt;Armin</description>
      <pubDate>Tue, 14 Jan 2003 15:41:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881568#M636338</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2003-01-14T15:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Broken LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881569#M636339</link>
      <description>Here's the output from vgdisplay -v /dev/vg02:&lt;BR /&gt;&lt;BR /&gt;vgdisplay: Volume group not activated.&lt;BR /&gt;vgdisplay: Cannot display volume group "/dev/vg02".&lt;BR /&gt;&lt;BR /&gt;Here's the output from  pvdisplay /dev/dsk/c2t12d0:&lt;BR /&gt;&lt;BR /&gt;pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t12d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to &lt;BR /&gt;this volume group&lt;BR /&gt;pvdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;pvdisplay: Couldn't retrieve the names of the physical volumes&lt;BR /&gt;belonging to volume group "/dev/vg02".&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c2t12d0".&lt;BR /&gt;&lt;BR /&gt;Here's strings vg02.conf:&lt;BR /&gt;&lt;BR /&gt;CONFIG01&lt;BR /&gt;/dev/vg02&lt;BR /&gt;/dev/rdsk/c2t12d0&lt;BR /&gt;LVMREC01w&lt;BR /&gt;HPLVMBDR;r&lt;BR /&gt;vCVGDA0001&lt;BR /&gt;VGSA0001;r&lt;BR /&gt;&lt;BR /&gt;Somehow, I need the lv config to show device /dev/rdsk/c2t13d0 instead of /dev/rdsk/c2t12d0.&lt;BR /&gt;&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 15:45:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881569#M636339</guid>
      <dc:creator>Tom Jackson</dc:creator>
      <dc:date>2003-01-14T15:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Broken LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881570#M636340</link>
      <description>hello tom,&lt;BR /&gt;Before you do anything, there is a way to recovery this so don't vgexport the vg group yet.  Try this&lt;BR /&gt;&lt;BR /&gt;mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;vgscan -v ( to rebuild your lvmtab)...if the h/w path has been changes but the configuration of the vg has not been  modified , they know  and they can rebuild it for you....&lt;BR /&gt;and by changing the /etc/lvmtab.old so you can have the copy in case you mess up something.....&lt;BR /&gt;try this</description>
      <pubDate>Tue, 14 Jan 2003 15:52:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881570#M636340</guid>
      <dc:creator>hpuxhelp</dc:creator>
      <dc:date>2003-01-14T15:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Broken LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881571#M636341</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I removed /etc/lvmtab.  I created an entry for vg03, but nothing for vg02.  I got a message:&lt;BR /&gt;&lt;BR /&gt;Physical volume /dev/dsk/c2t13d0 is not part of a Volume Group.&lt;BR /&gt;&lt;BR /&gt;I tried to run my mirror script for vg03, but I got several of these errors:&lt;BR /&gt;&lt;BR /&gt;/dev/vg03/rlvol1: No such device or address&lt;BR /&gt;dd: cannot create /dev/vg03/rlvol1&lt;BR /&gt;&lt;BR /&gt;Tom&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 16:05:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881571#M636341</guid>
      <dc:creator>Tom Jackson</dc:creator>
      <dc:date>2003-01-14T16:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Broken LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881572#M636342</link>
      <description>Copy /etc/lvmtab as somefile.&lt;BR /&gt;run vgscan -p -v ( This will scan all physical valoume but will not create/update /etc/lvmtab.&lt;BR /&gt;If it looks OK for you then run vgscan -v. This will create a new lvmtab. Then contincue with your other vgcreation stuff.</description>
      <pubDate>Tue, 14 Jan 2003 16:13:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881572#M636342</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2003-01-14T16:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Broken LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881573#M636343</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;vgscan seemed to work ok.  I attached the script I originally used to create vg02.  I made changes for the new scsi id.  Here's the output when I run the script:&lt;BR /&gt;&lt;BR /&gt;mkdir: cannot create /dev/vg02: File exists&lt;BR /&gt;mknod: File exists&lt;BR /&gt;pvcreate: The physical volume "/dev/dsk/c2t13d0" is already recorded in the "/etc/lvmtab" file.&lt;BR /&gt;hpux -lq&lt;BR /&gt;vgcreate: Volume group "/dev/vg02" already exists in the "/etc/lvmtab" file.&lt;BR /&gt;lvcreate: Logical volume "/dev/vg02/lvol1" already exists.&lt;BR /&gt;lvcreate: Logical volume "/dev/vg02/lvol2" already exists.&lt;BR /&gt;lvcreate: Logical volume "/dev/vg02/lvol3" already exists.&lt;BR /&gt;lvcreate: Logical volume "/dev/vg02/lvol4" already exists.&lt;BR /&gt;lvcreate: Logical volume "/dev/vg02/lvol5" already exists.&lt;BR /&gt;lvcreate: Logical volume "/dev/vg02/lvol6" already exists.&lt;BR /&gt;lvcreate: Logical volume "/dev/vg02/lvol7" already exists.&lt;BR /&gt;lvcreate: Logical volume "/dev/vg02/lvol8" already exists.&lt;BR /&gt;lvlnboot: Logical Volume "/dev/vg02/lvol1" must be contiguous.&lt;BR /&gt;lvlnboot: Logical Volume "/dev/vg02/lvol3" must be contiguous.&lt;BR /&gt;lvlnboot: Logical Volume "/dev/vg02/lvol2" must be contiguous.&lt;BR /&gt;lvlnboot: Logical Volume "/dev/vg02/lvol2" must be contiguous.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 16:19:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881573#M636343</guid>
      <dc:creator>Tom Jackson</dc:creator>
      <dc:date>2003-01-14T16:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Broken LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881574#M636344</link>
      <description>Oops:&lt;BR /&gt;&lt;BR /&gt;Here's the script I forgot to attach in my last message.&lt;BR /&gt;&lt;BR /&gt;Tom</description>
      <pubDate>Tue, 14 Jan 2003 16:21:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881574#M636344</guid>
      <dc:creator>Tom Jackson</dc:creator>
      <dc:date>2003-01-14T16:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Broken LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881575#M636345</link>
      <description>Before run your script, and after running  vgscan ...&lt;BR /&gt;1. did you find anything related to vg02 in lvmtab file? ( strings /etc/lvmtab would show you this)&lt;BR /&gt;2. See if dir vg02 there in in /dev &lt;BR /&gt;&lt;BR /&gt;If both are true then check minor number of vg02 &lt;BR /&gt;&lt;BR /&gt;3. Do you have any data in /dev/vg02/lvol1 ? ( lvdisplay /dev/vg02/lvol1) &lt;BR /&gt;&lt;BR /&gt;4. Try activating VG by vgchange -a y /dev/vg02.&lt;BR /&gt;&lt;BR /&gt;5. Finally Check what exactly your script does.&lt;BR /&gt;&lt;BR /&gt;-USA..&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 16:25:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881575#M636345</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2003-01-14T16:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Broken LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881576#M636346</link>
      <description>Your script is failing because I think you have dir called vg02 in /dev&lt;BR /&gt;&lt;BR /&gt;If there is no data  on vg02 , Remove /dev/vg02 directory and rerun your script.</description>
      <pubDate>Tue, 14 Jan 2003 16:29:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881576#M636346</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2003-01-14T16:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Broken LV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881577#M636347</link>
      <description>Uday:&lt;BR /&gt;&lt;BR /&gt;THANK YOU, THANK YOU, THANK YOU!!!&lt;BR /&gt;&lt;BR /&gt;And thanks to everyone else that help me get through this snafu. :-)))))&lt;BR /&gt;&lt;BR /&gt;I think the two tricks were the vgchange and deleting the /dev/vg02 directory.&lt;BR /&gt;&lt;BR /&gt;I ran my vg_create script with no errors!  Then I ran the script that mirrors the disks and it worked!&lt;BR /&gt;&lt;BR /&gt;I still don't know why the scsi id changed.  Oh well, at least I can go home today.&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 16:48:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/broken-lv/m-p/2881577#M636347</guid>
      <dc:creator>Tom Jackson</dc:creator>
      <dc:date>2003-01-14T16:48:20Z</dc:date>
    </item>
  </channel>
</rss>

