<?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: Upgrading disk in LVM - RHEL4 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/upgrading-disk-in-lvm-rhel4/m-p/4222256#M33035</link>
    <description>Thanks Johannes. I think I cannot do any thing except connecting a external storage or whole box replacement.&lt;BR /&gt;&lt;BR /&gt;On the server there are 6 slots and all occupied.&lt;BR /&gt;&lt;BR /&gt;Thanks to all who replied on my query.&lt;BR /&gt;&lt;BR /&gt;This thread can be closed.</description>
    <pubDate>Thu, 03 Jul 2008 11:07:43 GMT</pubDate>
    <dc:creator>Rakesh Jha_1</dc:creator>
    <dc:date>2008-07-03T11:07:43Z</dc:date>
    <item>
      <title>Upgrading disk in LVM - RHEL4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/upgrading-disk-in-lvm-rhel4/m-p/4222251#M33030</link>
      <description>We have installed HP Proliant DL380 with 6x72.8GB Ultar380 running RHEL4. We configured LVM raid5 before/during linux installtion.&lt;BR /&gt;Please see below -&lt;BR /&gt;[root@xxxxx ~]# pvscan&lt;BR /&gt;  PV /dev/cciss/c0d0p2   VG VolGroup00   lvm2 [338.66 GB / 32.00 MB free]&lt;BR /&gt;  Total: 1 [338.66 GB] / in use: 1 [338.66 GB] / in no VG: 0 [0   ]&lt;BR /&gt;[root@xxxxx ~]# pvs&lt;BR /&gt;  PV                VG         Fmt  Attr PSize   PFree&lt;BR /&gt;  /dev/cciss/c0d0p2 VolGroup00 lvm2 a-   338.66G 32.00M&lt;BR /&gt;[root@xxxxx ~]# vgs&lt;BR /&gt;  VG         #PV #LV #SN Attr   VSize   VFree&lt;BR /&gt;  VolGroup00   1   8   0 wz--n- 338.66G 32.00M&lt;BR /&gt;[root@xxxxx ~]# vgscan&lt;BR /&gt;  Reading all physical volumes.  This may take a while...&lt;BR /&gt;  Found volume group "VolGroup00" using metadata type lvm2&lt;BR /&gt;[root@xxxxx ~]# lvscan&lt;BR /&gt;  ACTIVE            '/dev/VolGroup00/LogVol00' [8.00 GB] inherit&lt;BR /&gt;  ACTIVE            '/dev/VolGroup00/LogVol06' [14.66 GB] inherit&lt;BR /&gt;  ACTIVE            '/dev/VolGroup00/LogVol05' [244.00 GB] inherit&lt;BR /&gt;  ACTIVE            '/dev/VolGroup00/LogVol07' [29.31 GB] inherit&lt;BR /&gt;  ACTIVE            '/dev/VolGroup00/LogVol03' [5.00 GB] inherit&lt;BR /&gt;  ACTIVE            '/dev/VolGroup00/LogVol01' [14.66 GB] inherit&lt;BR /&gt;  ACTIVE            '/dev/VolGroup00/LogVol02' [7.00 GB] inherit&lt;BR /&gt;  ACTIVE            '/dev/VolGroup00/LogVol04' [16.00 GB] inherit&lt;BR /&gt;&lt;BR /&gt;Now we are facing space crunch and want to upgrade the disks. My question can we upgrade /replace hard drive with 146GB one by one without loss of any data?&lt;BR /&gt;Do I need to shutdown the server? &lt;BR /&gt;&lt;BR /&gt;Any help is appreciated. thanks&lt;BR /&gt;Rakesh</description>
      <pubDate>Wed, 25 Jun 2008 12:43:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/upgrading-disk-in-lvm-rhel4/m-p/4222251#M33030</guid>
      <dc:creator>Rakesh Jha_1</dc:creator>
      <dc:date>2008-06-25T12:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading disk in LVM - RHEL4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/upgrading-disk-in-lvm-rhel4/m-p/4222252#M33031</link>
      <description>Just to clarify a little. You can't have and lvm raid5. You have a raid5 config and are using lvm. I am not sure how to answer this question, but to say i wouldn't attempt it that way. It's not as if just adding the larger drives is going to automagically add all the space on the fly. You are either going to need to add some external storage and start moving files off to it, or you will need to backup your system and layout everything anew on the larger disks. I wish I had a simplistic answer for you. Maybe you can try using mondo rescue in some capacity to solve this issue. But I can never stress enough, TAKE A BACKUP BEFORE YO START YOUR PROJECT.</description>
      <pubDate>Wed, 25 Jun 2008 15:22:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/upgrading-disk-in-lvm-rhel4/m-p/4222252#M33031</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-06-25T15:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading disk in LVM - RHEL4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/upgrading-disk-in-lvm-rhel4/m-p/4222253#M33032</link>
      <description>I have now more details - &lt;BR /&gt;Server HP Proliant DL380 G4, Disk 6x72.8 Ultra380 SCSI. RAID controller Smart Array P400i. The HP-ACU-CLI shows -&lt;BR /&gt;&lt;BR /&gt;# hpacucli ctrl slot=0 show status&lt;BR /&gt;&lt;BR /&gt;Smart Array 6i in Slot 0&lt;BR /&gt;   Controller Status: OK&lt;BR /&gt;   Cache Status: OK&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# hpacucli ctrl slot=0 ld all show status&lt;BR /&gt;&lt;BR /&gt;logicaldrive 1 (339.2 GB, RAID RAID 5):  OK&lt;BR /&gt;&lt;BR /&gt;# hpacucli ctrl slot=0 pd all show status&lt;BR /&gt;&lt;BR /&gt;physicaldrive 2:0 (port 2:id 0, 72.8 GB): OK&lt;BR /&gt;physicaldrive 2:1 (port 2:id 1, 72.8 GB): OK&lt;BR /&gt;physicaldrive 2:2 (port 2:id 2, 72.8 GB): OK&lt;BR /&gt;physicaldrive 2:3 (port 2:id 3, 72.8 GB): OK&lt;BR /&gt;physicaldrive 2:4 (port 2:id 4, 72.8 GB): OK&lt;BR /&gt;physicaldrive 2:5 (port 2:id 5, 72.8 GB): OK&lt;BR /&gt;&lt;BR /&gt;Can I upgrade the disk one by one using hpacucli utility?&lt;BR /&gt;&lt;BR /&gt;Rakesh</description>
      <pubDate>Mon, 30 Jun 2008 11:49:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/upgrading-disk-in-lvm-rhel4/m-p/4222253#M33032</guid>
      <dc:creator>Rakesh Jha_1</dc:creator>
      <dc:date>2008-06-30T11:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading disk in LVM - RHEL4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/upgrading-disk-in-lvm-rhel4/m-p/4222254#M33033</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I've done this with a RAID 1 (hardware) based LVM system.&lt;BR /&gt;&lt;BR /&gt;Unfortunately the big file system was part of a volume group that did not have enough capacity for the new larger disks at upgrade.&lt;BR /&gt;&lt;BR /&gt;I eventually played a game of moving the data around and created a new larger volume group and file system, into which I copied the data.&lt;BR /&gt;&lt;BR /&gt;So no data loss, a few reboots as I tried technology like acronis to expand the logical volume.&lt;BR /&gt;&lt;BR /&gt;I'd definitely have a good backup and have some contingency downtime from the server users.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 30 Jun 2008 13:31:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/upgrading-disk-in-lvm-rhel4/m-p/4222254#M33033</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-06-30T13:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading disk in LVM - RHEL4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/upgrading-disk-in-lvm-rhel4/m-p/4222255#M33034</link>
      <description>i have never done this with a hardware raid but i think if you replace one 73GB disk with a 146GB disk the 73GB will be rebuild (thanks to raid5) and the other 73GB remainig space will be lost (raid5 uses only equaly large space on every disk). even if you replace step by step every disk in the array at last ther will be every disk half used.&lt;BR /&gt;&lt;BR /&gt;another way could be to create a new raid5 arry with the new disks (don't touch the original array).&lt;BR /&gt;&lt;BR /&gt;1. create a new pv on the new array (pvcreate /dev/cciss/cXdXpX). &lt;BR /&gt;2. extend the existing vg with the new pv (vgextend VolGroup00 /dev/cciss/cXdXpX)&lt;BR /&gt;3. move anything from the old pv to the new pv (pvmove -v /dev/cciss/c0d0p2)&lt;BR /&gt;4. remove the old pv (73GB disks) from the vg (vgreduce VolGroup00 /dev/cciss/c0d0p2)&lt;BR /&gt;&lt;BR /&gt;This could all be done without a shutdown only poor performance during pvmove (all data will be moved from one partition to another partation)&lt;BR /&gt;&lt;BR /&gt;next thing is to make sure you can boot after this procedure. so you need a tool to move your boot partion (and any other non lvm partition to the new disk array (properly needs a reboot).&lt;BR /&gt;&lt;BR /&gt;than you need to restart with a rescue disk to correct your /etc/fstab mount the non lvm disks properly and reinstall your bootloader on the new array. after that you can remove the old array and reboot.&lt;BR /&gt;&lt;BR /&gt;you should only unplug the old array disks and don't destroy the array until you are sure booting will work fine from the new array.&lt;BR /&gt;&lt;BR /&gt;so you can do the big part of work without shutdown. only for non-lvm partitions and reconfiguration (fstab / bootloader) you need to reboot.</description>
      <pubDate>Tue, 01 Jul 2008 11:01:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/upgrading-disk-in-lvm-rhel4/m-p/4222255#M33034</guid>
      <dc:creator>Johannes Krackowizer</dc:creator>
      <dc:date>2008-07-01T11:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading disk in LVM - RHEL4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/upgrading-disk-in-lvm-rhel4/m-p/4222256#M33035</link>
      <description>Thanks Johannes. I think I cannot do any thing except connecting a external storage or whole box replacement.&lt;BR /&gt;&lt;BR /&gt;On the server there are 6 slots and all occupied.&lt;BR /&gt;&lt;BR /&gt;Thanks to all who replied on my query.&lt;BR /&gt;&lt;BR /&gt;This thread can be closed.</description>
      <pubDate>Thu, 03 Jul 2008 11:07:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/upgrading-disk-in-lvm-rhel4/m-p/4222256#M33035</guid>
      <dc:creator>Rakesh Jha_1</dc:creator>
      <dc:date>2008-07-03T11:07:43Z</dc:date>
    </item>
  </channel>
</rss>

