<?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: Creating a VG in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-vg/m-p/2734846#M642441</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can do a &lt;BR /&gt;&lt;BR /&gt;# pvcreate /dev/rdsk/c0t0d2&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vg07&lt;BR /&gt;# mknod /dev/vg07/group c 64 0x070000&lt;BR /&gt;&lt;BR /&gt;# vgcreate /dev/vg07 /dev/rdsk/c0t0d2&lt;BR /&gt;&lt;BR /&gt;# lvcreate -L size /dev/vg07&lt;BR /&gt;# lvcreate -L size /dev/vg07&lt;BR /&gt;# lvcreate -L size /dev/vg07&lt;BR /&gt;&lt;BR /&gt;Creates 3 logical volumes lvol1, lvol2 and lvol3&lt;BR /&gt;&lt;BR /&gt;# newfs -F vxfs /dev/vg07/rlvol1&lt;BR /&gt;# newfs -F vxfs /dev/vg07/rlvol2&lt;BR /&gt;# newfs -F vxfs /dev/vg07/rlvol3&lt;BR /&gt;&lt;BR /&gt;# mount /dev/vg07/lvol1 /extern01&lt;BR /&gt;# mount /dev/vg07/lvol2 /extern02&lt;BR /&gt;# mount /dev/vg07/lvol3 /extern03&lt;BR /&gt;&lt;BR /&gt;You can modify your /etc/fsatb accrodingly&lt;BR /&gt;&lt;BR /&gt;Piyush&lt;BR /&gt;</description>
    <pubDate>Thu, 30 May 2002 19:15:22 GMT</pubDate>
    <dc:creator>PIYUSH D. PATEL</dc:creator>
    <dc:date>2002-05-30T19:15:22Z</dc:date>
    <item>
      <title>Creating a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-vg/m-p/2734842#M642437</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I just replaced 2 disks in c0t0d2 on LUN 2&lt;BR /&gt;I did a rebuilt and a consistency check and it is fine. Before, there were 3 directories in those disks. I do need to recreate or create VG07 with 3 directories:&lt;BR /&gt;&lt;BR /&gt;/extern01&lt;BR /&gt;/extern02&lt;BR /&gt;/extern03 &lt;BR /&gt;&lt;BR /&gt;all on VG07 c0t0d2&lt;BR /&gt;&lt;BR /&gt;How can I create a volume group?</description>
      <pubDate>Thu, 30 May 2002 18:54:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-vg/m-p/2734842#M642437</guid>
      <dc:creator>Diadina Cotte</dc:creator>
      <dc:date>2002-05-30T18:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-vg/m-p/2734843#M642438</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;If you replaced a disk, have a look at the Technical Knowledge Base document #KBAN00000347.  This document describes the various permutations for dealing with a disk replacement.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 30 May 2002 19:05:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-vg/m-p/2734843#M642438</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-05-30T19:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-vg/m-p/2734844#M642439</link>
      <description>Some thoughts:&lt;BR /&gt;&lt;BR /&gt;1) If yoy have replaced the disks which was part of a RAID array, then the restore procedure depends on the RAID level (RAID 5, 1 etc)&lt;BR /&gt;&lt;BR /&gt;2) The directories are created on file systems level and not on VGs OR LVs OR device_file (disks)&lt;BR /&gt;&lt;BR /&gt;3) If you just want to recreate VG information use this command:&lt;BR /&gt;&lt;BR /&gt;# vgcfgrestore ( man vgxfgrestore for details)&lt;BR /&gt;&lt;BR /&gt;4) If you want to create new VGs:&lt;BR /&gt;&lt;BR /&gt;Use SAM OR&lt;BR /&gt;&lt;BR /&gt;1) Make group special files&lt;BR /&gt;2) Make VG ( vgcreate)&lt;BR /&gt;3) Make LVs (lvcreate)&lt;BR /&gt;4) Make file systems (newfs)&lt;BR /&gt;5) Make mount points (mkdir /..)&lt;BR /&gt;6) Mount FS (mount)&lt;BR /&gt;7) Create directories you need ( mkdir)</description>
      <pubDate>Thu, 30 May 2002 19:12:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-vg/m-p/2734844#M642439</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-05-30T19:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-vg/m-p/2734845#M642440</link>
      <description>It sound like you've replaced faulty disks in an existing VG (?)  If that's the case, then depending on whether the LVs on the VG were mirrored or not, you might have to restore those files from backup.  &lt;BR /&gt;&lt;BR /&gt;But in any case, after replacing the bad drives, you should have done a vgcfgrestore on the disks and if they're mirrored, you should do a vgsync to synch up the mirrors.  Otherwise, you'd have to restore the contents of those filesystem from backups.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here are some docs that explains in greater detail:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000060744801" target="_blank"&gt;http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000060744801&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000060353705" target="_blank"&gt;http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000060353705&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Thu, 30 May 2002 19:13:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-vg/m-p/2734845#M642440</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2002-05-30T19:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-vg/m-p/2734846#M642441</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can do a &lt;BR /&gt;&lt;BR /&gt;# pvcreate /dev/rdsk/c0t0d2&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vg07&lt;BR /&gt;# mknod /dev/vg07/group c 64 0x070000&lt;BR /&gt;&lt;BR /&gt;# vgcreate /dev/vg07 /dev/rdsk/c0t0d2&lt;BR /&gt;&lt;BR /&gt;# lvcreate -L size /dev/vg07&lt;BR /&gt;# lvcreate -L size /dev/vg07&lt;BR /&gt;# lvcreate -L size /dev/vg07&lt;BR /&gt;&lt;BR /&gt;Creates 3 logical volumes lvol1, lvol2 and lvol3&lt;BR /&gt;&lt;BR /&gt;# newfs -F vxfs /dev/vg07/rlvol1&lt;BR /&gt;# newfs -F vxfs /dev/vg07/rlvol2&lt;BR /&gt;# newfs -F vxfs /dev/vg07/rlvol3&lt;BR /&gt;&lt;BR /&gt;# mount /dev/vg07/lvol1 /extern01&lt;BR /&gt;# mount /dev/vg07/lvol2 /extern02&lt;BR /&gt;# mount /dev/vg07/lvol3 /extern03&lt;BR /&gt;&lt;BR /&gt;You can modify your /etc/fsatb accrodingly&lt;BR /&gt;&lt;BR /&gt;Piyush&lt;BR /&gt;</description>
      <pubDate>Thu, 30 May 2002 19:15:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-vg/m-p/2734846#M642441</guid>
      <dc:creator>PIYUSH D. PATEL</dc:creator>
      <dc:date>2002-05-30T19:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-vg/m-p/2734847#M642442</link>
      <description>Hi again&lt;BR /&gt;&lt;BR /&gt;When i try to access the directories i can see the file list but i cannot do a more or a cat on any file. &lt;BR /&gt;&lt;BR /&gt;The VG07 is there i just need to update it or re-create it if you will.&lt;BR /&gt;&lt;BR /&gt;so vgcfgrestore should do the work for c0t0d2?</description>
      <pubDate>Thu, 30 May 2002 23:37:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-vg/m-p/2734847#M642442</guid>
      <dc:creator>Diadina Cotte</dc:creator>
      <dc:date>2002-05-30T23:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-vg/m-p/2734848#M642443</link>
      <description>What errors do you get when you try to do a 'cat' or a 'more' on the files?&lt;BR /&gt;&lt;BR /&gt;I find it strange that you can see the files but can't cat them.</description>
      <pubDate>Fri, 31 May 2002 00:40:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-vg/m-p/2734848#M642443</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-05-31T00:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-vg/m-p/2734849#M642444</link>
      <description>LVM command will not help to restore your data. It seems you replaced the disk in RAID box?&lt;BR /&gt;&lt;BR /&gt;Data may be taken care (rebuild) by RAID it self, if it is raid level 1,1/0 or 5.&lt;BR /&gt;&lt;BR /&gt;If the data is not intact, you may to restore your data from tape backup only.&lt;BR /&gt;&lt;BR /&gt;--TT</description>
      <pubDate>Sat, 01 Jun 2002 07:18:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-a-vg/m-p/2734849#M642444</guid>
      <dc:creator>Thayanidhi</dc:creator>
      <dc:date>2002-06-01T07:18:42Z</dc:date>
    </item>
  </channel>
</rss>

