<?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: Add new disk using LVM on RedHat AS 4.0 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/add-new-disk-using-lvm-on-redhat-as-4-0/m-p/5046465#M48519</link>
    <description>As pvscan reports, sdb is already in a volume group, so:&lt;BR /&gt;&lt;BR /&gt;1. Create new Volume Group VolGroup01 using (/dev/sdb1).&lt;BR /&gt;&lt;BR /&gt;Not possible/needed, sdb already in a volume group.&lt;BR /&gt;&lt;BR /&gt;2. Create new Logical Volumes LogVol01 (30GB) &amp;amp; LogVol02 (30GB) in new VolGroup VolGroup01.&lt;BR /&gt;3. Make two volumes of 30 GB each.&lt;BR /&gt;&lt;BR /&gt;LogVol01 already exists, use a new logical volume name. Let's say, LogVol02 and LogVol03.&lt;BR /&gt;lvcreate -n LogVol02 -L 30GB VolGroup00&lt;BR /&gt;lvcreate -n LogVol03 -L 30GB VolGroup00&lt;BR /&gt;&lt;BR /&gt;4. Format the new volumes.&lt;BR /&gt;&lt;BR /&gt;mkfs -t ext3 /dev/VolGroup00/LogVol02&lt;BR /&gt;mkfs -t ext3 /dev/VolGroup00/LogVol03&lt;BR /&gt;tune2fs -i 0 -c 0 -m 0 /dev/VolGroup00/LogVol02&lt;BR /&gt;&lt;BR /&gt;tune2fs -i 0 -c 0 -m 0 /dev/VolGroup00/LogVol03&lt;BR /&gt;&lt;BR /&gt;5. Mount them on /u02 (30GB) and /u03 (30GB).&lt;BR /&gt;&lt;BR /&gt;mkdir /u02&lt;BR /&gt;mount  /dev/VolGroup00/LogVol02 /u02&lt;BR /&gt;mkdir /u03&lt;BR /&gt;mount  /dev/VolGroup00/LogVol03 /u03&lt;BR /&gt;&lt;BR /&gt;6. FSTAB entires.&lt;BR /&gt;&lt;BR /&gt;Copy/paste another fstab entry and correct the device and mount point fields.&lt;BR /&gt;</description>
    <pubDate>Mon, 14 May 2007 10:27:16 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2007-05-14T10:27:16Z</dc:date>
    <item>
      <title>Add new disk using LVM on RedHat AS 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/add-new-disk-using-lvm-on-redhat-as-4-0/m-p/5046462#M48516</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I need to use one disk already installed on my Linux Server:&lt;BR /&gt;&lt;BR /&gt;Red Hat AS 4.0: &lt;BR /&gt;&lt;BR /&gt;Note: (Physical Volume pvcreate is already performed by someone else).&lt;BR /&gt;&lt;BR /&gt;1. Create new Volume Group VolGroup01 using (/dev/sdb1).&lt;BR /&gt;2. Create new Logical Volumes LogVol01 (30GB) &amp;amp; LogVol02 (30GB) in new VolGroup VolGroup01.&lt;BR /&gt;3. Make two volumes of 30 GB each.&lt;BR /&gt;4. Format the new volumes.&lt;BR /&gt;5. Mount them on /u02 (30GB) and /u03 (30GB).&lt;BR /&gt;6. FSTAB entires.&lt;BR /&gt;&lt;BR /&gt;[root@wolfdev03 ~]# fdisk -l&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sda: 73.4 GB, 73406611456 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 8924 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;/dev/sda1   *           1          13      104391   83  Linux&lt;BR /&gt;/dev/sda2              14        8924    71577607+  8e  Linux LVM&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdb: 73.4 GB, 73406611456 bytes&lt;BR /&gt;128 heads, 32 sectors/track, 35003 cylinders&lt;BR /&gt;Units = cylinders of 4096 * 512 = 2097152 bytes&lt;BR /&gt;&lt;BR /&gt;   Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;/dev/sdb1               1       35003    71686143+  8e  Linux LVM&lt;BR /&gt;-------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;[root@wolfdev03 ~]# pvscan&lt;BR /&gt;  PV /dev/sda2   VG VolGroup00   lvm2 [68.25 GB / 32.00 MB free]&lt;BR /&gt;  PV /dev/sdb1   VG VolGroup00   lvm2 [68.34 GB / 68.34 GB free]&lt;BR /&gt;  Total: 2 [136.59 GB] / in use: 2 [136.59 GB] / in no VG: 0 [0   ]&lt;BR /&gt;-------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;[root@wolfdev03 ~]# lvscan&lt;BR /&gt;  ACTIVE            '/dev/VolGroup00/LogVol00' [58.22 GB] inherit&lt;BR /&gt;  ACTIVE            '/dev/VolGroup00/LogVol01' [10.00 GB] inherit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Gulam.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 May 2007 08:48:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/add-new-disk-using-lvm-on-redhat-as-4-0/m-p/5046462#M48516</guid>
      <dc:creator>Gulam Mohiuddin</dc:creator>
      <dc:date>2007-05-14T08:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Add new disk using LVM on RedHat AS 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/add-new-disk-using-lvm-on-redhat-as-4-0/m-p/5046463#M48517</link>
      <description>Shalom Gulam,&lt;BR /&gt;&lt;BR /&gt;after pvcreate&lt;BR /&gt;&lt;BR /&gt;Either&lt;BR /&gt;&lt;BR /&gt;vgcreate a new volume group.&lt;BR /&gt;vgcreate -n newvg /dev/sdb1&lt;BR /&gt;lvcreate -L 30 GB newvg&lt;BR /&gt;mkfs.ext3 &lt;PATH of="" new="" vg=""&gt;&lt;BR /&gt;mount &lt;BR /&gt;&lt;BR /&gt;You got a filesystem to use.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/PATH&gt;</description>
      <pubDate>Mon, 14 May 2007 09:06:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/add-new-disk-using-lvm-on-redhat-as-4-0/m-p/5046463#M48517</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-05-14T09:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Add new disk using LVM on RedHat AS 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/add-new-disk-using-lvm-on-redhat-as-4-0/m-p/5046464#M48518</link>
      <description>I get the following error:&lt;BR /&gt;&lt;BR /&gt;[root@wolfdev03 ~]# vgcreate VolGroup01 /dev/sdb1&lt;BR /&gt;  Physical volume '/dev/sdb1' is already in volume group 'VolGroup00'&lt;BR /&gt;  Unable to add physical volume '/dev/sdb1' to volume group 'VolGroup01'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Gulam.</description>
      <pubDate>Mon, 14 May 2007 09:30:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/add-new-disk-using-lvm-on-redhat-as-4-0/m-p/5046464#M48518</guid>
      <dc:creator>Gulam Mohiuddin</dc:creator>
      <dc:date>2007-05-14T09:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Add new disk using LVM on RedHat AS 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/add-new-disk-using-lvm-on-redhat-as-4-0/m-p/5046465#M48519</link>
      <description>As pvscan reports, sdb is already in a volume group, so:&lt;BR /&gt;&lt;BR /&gt;1. Create new Volume Group VolGroup01 using (/dev/sdb1).&lt;BR /&gt;&lt;BR /&gt;Not possible/needed, sdb already in a volume group.&lt;BR /&gt;&lt;BR /&gt;2. Create new Logical Volumes LogVol01 (30GB) &amp;amp; LogVol02 (30GB) in new VolGroup VolGroup01.&lt;BR /&gt;3. Make two volumes of 30 GB each.&lt;BR /&gt;&lt;BR /&gt;LogVol01 already exists, use a new logical volume name. Let's say, LogVol02 and LogVol03.&lt;BR /&gt;lvcreate -n LogVol02 -L 30GB VolGroup00&lt;BR /&gt;lvcreate -n LogVol03 -L 30GB VolGroup00&lt;BR /&gt;&lt;BR /&gt;4. Format the new volumes.&lt;BR /&gt;&lt;BR /&gt;mkfs -t ext3 /dev/VolGroup00/LogVol02&lt;BR /&gt;mkfs -t ext3 /dev/VolGroup00/LogVol03&lt;BR /&gt;tune2fs -i 0 -c 0 -m 0 /dev/VolGroup00/LogVol02&lt;BR /&gt;&lt;BR /&gt;tune2fs -i 0 -c 0 -m 0 /dev/VolGroup00/LogVol03&lt;BR /&gt;&lt;BR /&gt;5. Mount them on /u02 (30GB) and /u03 (30GB).&lt;BR /&gt;&lt;BR /&gt;mkdir /u02&lt;BR /&gt;mount  /dev/VolGroup00/LogVol02 /u02&lt;BR /&gt;mkdir /u03&lt;BR /&gt;mount  /dev/VolGroup00/LogVol03 /u03&lt;BR /&gt;&lt;BR /&gt;6. FSTAB entires.&lt;BR /&gt;&lt;BR /&gt;Copy/paste another fstab entry and correct the device and mount point fields.&lt;BR /&gt;</description>
      <pubDate>Mon, 14 May 2007 10:27:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/add-new-disk-using-lvm-on-redhat-as-4-0/m-p/5046465#M48519</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-05-14T10:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Add new disk using LVM on RedHat AS 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/add-new-disk-using-lvm-on-redhat-as-4-0/m-p/5046466#M48520</link>
      <description>Hi Gulam&lt;BR /&gt;&lt;BR /&gt;if you want to create VolGroup01 with /dev/sdb1 first you have to &lt;BR /&gt;$ vgreduce VolGroup00 /dev/sdb1&lt;BR /&gt;then &lt;BR /&gt;$ vgcreate VolGroup01 /dev/sdb1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;HGH&lt;BR /&gt;</description>
      <pubDate>Mon, 14 May 2007 11:18:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/add-new-disk-using-lvm-on-redhat-as-4-0/m-p/5046466#M48520</guid>
      <dc:creator>Hemmetter</dc:creator>
      <dc:date>2007-05-14T11:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Add new disk using LVM on RedHat AS 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/add-new-disk-using-lvm-on-redhat-as-4-0/m-p/5046467#M48521</link>
      <description>Do I need to take VolGroup00 offline in order to reduce it or extend it?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Gulam.</description>
      <pubDate>Mon, 14 May 2007 11:20:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/add-new-disk-using-lvm-on-redhat-as-4-0/m-p/5046467#M48521</guid>
      <dc:creator>Gulam Mohiuddin</dc:creator>
      <dc:date>2007-05-14T11:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Add new disk using LVM on RedHat AS 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/add-new-disk-using-lvm-on-redhat-as-4-0/m-p/5046468#M48522</link>
      <description>Hi Gulam,&lt;BR /&gt;&lt;BR /&gt;no you do not need to take volumegroup offline neither for reducing nor for extending.&lt;BR /&gt;&lt;BR /&gt;Just make sure no LE of /dev/sdb1 is used:&lt;BR /&gt;PV /dev/sdb1 VG VolGroup00 lvm2 [68.34 GB / 68.34 GB free]&lt;BR /&gt;looks good for me.&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;HGH&lt;BR /&gt;</description>
      <pubDate>Mon, 14 May 2007 11:29:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/add-new-disk-using-lvm-on-redhat-as-4-0/m-p/5046468#M48522</guid>
      <dc:creator>Hemmetter</dc:creator>
      <dc:date>2007-05-14T11:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Add new disk using LVM on RedHat AS 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/add-new-disk-using-lvm-on-redhat-as-4-0/m-p/5046469#M48523</link>
      <description>Thanks everybody for your prompt help.&lt;BR /&gt;&lt;BR /&gt;This job is done.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Gulam.</description>
      <pubDate>Mon, 14 May 2007 13:13:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/add-new-disk-using-lvm-on-redhat-as-4-0/m-p/5046469#M48523</guid>
      <dc:creator>Gulam Mohiuddin</dc:creator>
      <dc:date>2007-05-14T13:13:19Z</dc:date>
    </item>
  </channel>
</rss>

