<?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: How to view the expanded LUN on Suse OS on VM in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-view-the-expanded-lun-on-suse-os-on-vm/m-p/5243523#M52210</link>
    <description>This should work:&lt;BR /&gt;&lt;BR /&gt;Check current size by:&lt;BR /&gt;Linux: ~# blockdev --getsz /dev/sdX&lt;BR /&gt;Will display 3GB&lt;BR /&gt;Recognize new size of each path (sd device) by:&lt;BR /&gt;Linux: ~# blockdev --rereadpt /dev/sdX&lt;BR /&gt;And check whether new size is got&lt;BR /&gt;Linux: ~# blockdev --getsz /dev/sdX&lt;BR /&gt;Will display 4GB&lt;BR /&gt;&lt;BR /&gt;Let me know if it works, and don't forget to assign points.!</description>
    <pubDate>Mon, 14 Jun 2010 03:51:02 GMT</pubDate>
    <dc:creator>Gerardo Arceri</dc:creator>
    <dc:date>2010-06-14T03:51:02Z</dc:date>
    <item>
      <title>How to view the expanded LUN on Suse OS on VM</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-view-the-expanded-lun-on-suse-os-on-vm/m-p/5243522#M52209</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Stroage team has expanded a EVA LUN from 3GB to 4GB size.&lt;BR /&gt;&lt;BR /&gt;VMware team has rescanned the HBA's on all ESX hosts.&lt;BR /&gt;&lt;BR /&gt;On VMguest we have Suse 10.2 loaded and I am sure If I reboot the server the newly expanded size would be visible in fdisk. &lt;BR /&gt;&lt;BR /&gt;I am trying to avoid the reboot. Is there any way?&lt;BR /&gt;&lt;BR /&gt;I have tried the following:&lt;BR /&gt;&lt;BR /&gt;echo "- - -" &amp;gt;/sys/class/scsi_host/host0/scan&lt;BR /&gt;echo "- - -" &amp;gt;/sys/class/scsi_host/host1/scan&lt;BR /&gt;&lt;BR /&gt;#!/bin/bash&lt;BR /&gt;for HOST in `ls /sys/class/scsi_host`; do echo '- - -' &amp;gt; /sys/class/scsi_host/$HOST/scan; done&lt;BR /&gt;CPATH=`pwd`&lt;BR /&gt;cd /dev&lt;BR /&gt;for DEVICE in `ls sd[a-z]`; do echo '1' &amp;gt; /sys/block/$DEVICE/device/rescan; done&lt;BR /&gt;cd $CPATH&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please help me !!.&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance.&lt;BR /&gt;Venkat.</description>
      <pubDate>Sun, 13 Jun 2010 15:37:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-view-the-expanded-lun-on-suse-os-on-vm/m-p/5243522#M52209</guid>
      <dc:creator>Venkatesan_5</dc:creator>
      <dc:date>2010-06-13T15:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the expanded LUN on Suse OS on VM</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-view-the-expanded-lun-on-suse-os-on-vm/m-p/5243523#M52210</link>
      <description>This should work:&lt;BR /&gt;&lt;BR /&gt;Check current size by:&lt;BR /&gt;Linux: ~# blockdev --getsz /dev/sdX&lt;BR /&gt;Will display 3GB&lt;BR /&gt;Recognize new size of each path (sd device) by:&lt;BR /&gt;Linux: ~# blockdev --rereadpt /dev/sdX&lt;BR /&gt;And check whether new size is got&lt;BR /&gt;Linux: ~# blockdev --getsz /dev/sdX&lt;BR /&gt;Will display 4GB&lt;BR /&gt;&lt;BR /&gt;Let me know if it works, and don't forget to assign points.!</description>
      <pubDate>Mon, 14 Jun 2010 03:51:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-view-the-expanded-lun-on-suse-os-on-vm/m-p/5243523#M52210</guid>
      <dc:creator>Gerardo Arceri</dc:creator>
      <dc:date>2010-06-14T03:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the expanded LUN on Suse OS on VM</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-view-the-expanded-lun-on-suse-os-on-vm/m-p/5243524#M52211</link>
      <description>Hello,&lt;BR /&gt;here is our step-by-step howto (working with EVA's, generaly with everything)&lt;BR /&gt;&lt;BR /&gt;1. add space on storage (in EVA - CommandView, local - HP ACU)&lt;BR /&gt;&lt;BR /&gt;2. rescan partitions (need kernel 2.6+)&lt;BR /&gt;echo 1 &amp;gt; /sys/bus/scsi/devices/0\:0\:0\:0/rescan&lt;BR /&gt;(more on Linux Journal : &lt;A href="http://www.linuxjournal.com/article/7321" target="_blank"&gt;http://www.linuxjournal.com/article/7321&lt;/A&gt; )&lt;BR /&gt;&lt;BR /&gt;3. create new partition with fdisk&lt;BR /&gt;Fdisk /dev/sda (n,t,w)&lt;BR /&gt;&lt;BR /&gt;4. tell kernel to recognize new partition !!:&lt;BR /&gt;partprobe&lt;BR /&gt;&lt;BR /&gt;5. Create volume:&lt;BR /&gt;pvcreate /dev/sda3&lt;BR /&gt;Physical volume "/dev/sda3" successfully created&lt;BR /&gt;&lt;BR /&gt;6. Extend group:&lt;BR /&gt;vgextend VolGroup00 /dev/sda3&lt;BR /&gt;Volume group "VolGroup00" successfully extended&lt;BR /&gt;&lt;BR /&gt;7. check if done ok:&lt;BR /&gt;pvscan&lt;BR /&gt;&lt;BR /&gt;8. extend LVM partition (here +30GB)&lt;BR /&gt;lvextend -L +30G /dev/VolGroup00/LogVol00&lt;BR /&gt;&lt;BR /&gt;9. resize filesystem: resize2fs /dev/mapper/VolGroup00-LogVol00&lt;BR /&gt;&lt;BR /&gt;10. done - online resize of filesystem.&lt;BR /&gt;&lt;BR /&gt;I hope this HELPS&lt;BR /&gt;&lt;BR /&gt;JAN</description>
      <pubDate>Mon, 14 Jun 2010 03:56:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-view-the-expanded-lun-on-suse-os-on-vm/m-p/5243524#M52211</guid>
      <dc:creator>Jan Soska</dc:creator>
      <dc:date>2010-06-14T03:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the expanded LUN on Suse OS on VM</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-view-the-expanded-lun-on-suse-os-on-vm/m-p/5243525#M52212</link>
      <description>Fantastic, &lt;BR /&gt;&lt;BR /&gt;Thanks for the information Gerardo. I tested and it worked fine as expected.&lt;BR /&gt;&lt;BR /&gt;I have assigned the points as well.</description>
      <pubDate>Mon, 14 Jun 2010 15:00:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-view-the-expanded-lun-on-suse-os-on-vm/m-p/5243525#M52212</guid>
      <dc:creator>Venkatesan_5</dc:creator>
      <dc:date>2010-06-14T15:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to view the expanded LUN on Suse OS on VM</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-view-the-expanded-lun-on-suse-os-on-vm/m-p/5243526#M52213</link>
      <description>Here is what I have performed.&lt;BR /&gt;&lt;BR /&gt;1. Storage team expands the LUN&lt;BR /&gt;2. Did evainfo -a to verify the expanded size&lt;BR /&gt;3. blockdev --getsz /dev/sdc&lt;BR /&gt;4. blockdev --rereadpt /dev/sdc&lt;BR /&gt;5. blockdev --getsz /dev/sdc&lt;BR /&gt;6. fdisk -l shows up newly expanded size&lt;BR /&gt;&lt;BR /&gt;Thanks and regards,&lt;BR /&gt;Venkatesan.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jun 2010 15:47:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-view-the-expanded-lun-on-suse-os-on-vm/m-p/5243526#M52213</guid>
      <dc:creator>Venkatesan_5</dc:creator>
      <dc:date>2010-06-14T15:47:37Z</dc:date>
    </item>
  </channel>
</rss>

