<?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: Hot Adding Disk to Virtualized Guest in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/hot-adding-disk-to-virtualized-guest/m-p/5220923#M51678</link>
    <description>Fantastic!  I was able to hot add and remove a test disk.&lt;BR /&gt;&lt;BR /&gt;[root@rllxovf5 ~]# xm block-attach 426_rloveric phy:/dev/mapper/Eric_Test_Disk1 sda w&lt;BR /&gt;&lt;BR /&gt;[root@rloveric ~]# mkfs -t ext3 /dev/sda1&lt;BR /&gt;[root@rloveric ~]# mkdir /test&lt;BR /&gt;[root@rloveric ~]# mount /dev/sda1 /test&lt;BR /&gt;[root@rloveric ~]# umount /test&lt;BR /&gt;&lt;BR /&gt;[root@rllxovf5 ~]# xm block-detach 426_rloveric sda&lt;BR /&gt;&lt;BR /&gt;Thank you for all your help!&lt;BR /&gt;Eric Singer</description>
    <pubDate>Fri, 22 Jan 2010 13:44:19 GMT</pubDate>
    <dc:creator>Eric Singer</dc:creator>
    <dc:date>2010-01-22T13:44:19Z</dc:date>
    <item>
      <title>Hot Adding Disk to Virtualized Guest</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hot-adding-disk-to-virtualized-guest/m-p/5220917#M51672</link>
      <description>This year one of my projects is to move our production application environment into a VM.  One of the problems I've foreseen using our current Xen based Virutalization is that I can not add a disk into a running Guest VM.  So far the only way I've been able to add disks to any of our guest VMs is to shut them down, add the disks to the configuration file and start the VM.&lt;BR /&gt;&lt;BR /&gt;Our current traditional server based environment allows me to add disks on the fly, but I haven't seen a Linux virtualization solution that will allow this.   &lt;BR /&gt;&lt;BR /&gt;Does anyone know how to add disks hot into a Xen guest, or does the new KVM based virtualization allow you to do this?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Eric Singer</description>
      <pubDate>Thu, 21 Jan 2010 17:55:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hot-adding-disk-to-virtualized-guest/m-p/5220917#M51672</guid>
      <dc:creator>Eric Singer</dc:creator>
      <dc:date>2010-01-21T17:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hot Adding Disk to Virtualized Guest</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hot-adding-disk-to-virtualized-guest/m-p/5220918#M51673</link>
      <description>Shalom Eric,&lt;BR /&gt;&lt;BR /&gt;Every solution I've seen requires you to down the system before adding disk.&lt;BR /&gt;&lt;BR /&gt;If your system has access to a Fiber Channel adapter, a LUN can be presented to the World Wide Name (WWN) of the Fiber Channel adapter and additional space may be able to be added via LVM without a boot.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 21 Jan 2010 19:51:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hot-adding-disk-to-virtualized-guest/m-p/5220918#M51673</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-01-21T19:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hot Adding Disk to Virtualized Guest</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hot-adding-disk-to-virtualized-guest/m-p/5220919#M51674</link>
      <description>&lt;BR /&gt;We are using Fiber Channel adapters to our servers. Adding and removing disks to Dom0 by way of SCSI bus scans is pretty easy, however adding that disk to a running DomU is problematic.   &lt;BR /&gt;&lt;BR /&gt;In todayâ  s non-virtual environment I do not have to bring down our production environment to add diskspace.  Just presented the LUN and scan the scsi bus, no downtime taken and nobody notices a thing.  Iâ  d very much like that in our new virtual environment.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Jan 2010 20:07:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hot-adding-disk-to-virtualized-guest/m-p/5220919#M51674</guid>
      <dc:creator>Eric Singer</dc:creator>
      <dc:date>2010-01-21T20:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Hot Adding Disk to Virtualized Guest</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hot-adding-disk-to-virtualized-guest/m-p/5220920#M51675</link>
      <description>Apparently you can to that with the "xm block-attach" command.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Jan 2010 08:54:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hot-adding-disk-to-virtualized-guest/m-p/5220920#M51675</guid>
      <dc:creator>J. Maestre</dc:creator>
      <dc:date>2010-01-22T08:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hot Adding Disk to Virtualized Guest</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hot-adding-disk-to-virtualized-guest/m-p/5220921#M51676</link>
      <description>Thank you very much!   I'll test that out.</description>
      <pubDate>Fri, 22 Jan 2010 12:23:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hot-adding-disk-to-virtualized-guest/m-p/5220921#M51676</guid>
      <dc:creator>Eric Singer</dc:creator>
      <dc:date>2010-01-22T12:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hot Adding Disk to Virtualized Guest</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hot-adding-disk-to-virtualized-guest/m-p/5220922#M51677</link>
      <description>This is what we do:&lt;BR /&gt;1. Create a new lun, get the WWN and create an entry in /etc/multipath.conf. Use friendly names, easier to keep track of things.&lt;BR /&gt;2. Present the new lun to dom0&lt;BR /&gt;3. On dom0, scan for the new disk using:&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;4. Attach the new disk to the running domU using:&lt;BR /&gt;xm block-attach domU_name phy:/dev/mapper/new_disk xvdm w&lt;BR /&gt;&lt;BR /&gt;In this example, the new disk on the domU will be named xvdm. Then you can put it into an existing VG and dynamically grow a filesystem. &lt;BR /&gt;&lt;BR /&gt;There are a couple of gotchas using this method:&lt;BR /&gt;1. You need to modify the domU config file and add in the new disk or it won't be there the next time you start it.&lt;BR /&gt;2. Attaching the new disk using xm is not very forgiving; i.e. wrong disk name, attach wrong disk etc. You can also do this with virt-manager and also using virsh.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Jan 2010 13:17:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hot-adding-disk-to-virtualized-guest/m-p/5220922#M51677</guid>
      <dc:creator>westb</dc:creator>
      <dc:date>2010-01-22T13:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hot Adding Disk to Virtualized Guest</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hot-adding-disk-to-virtualized-guest/m-p/5220923#M51678</link>
      <description>Fantastic!  I was able to hot add and remove a test disk.&lt;BR /&gt;&lt;BR /&gt;[root@rllxovf5 ~]# xm block-attach 426_rloveric phy:/dev/mapper/Eric_Test_Disk1 sda w&lt;BR /&gt;&lt;BR /&gt;[root@rloveric ~]# mkfs -t ext3 /dev/sda1&lt;BR /&gt;[root@rloveric ~]# mkdir /test&lt;BR /&gt;[root@rloveric ~]# mount /dev/sda1 /test&lt;BR /&gt;[root@rloveric ~]# umount /test&lt;BR /&gt;&lt;BR /&gt;[root@rllxovf5 ~]# xm block-detach 426_rloveric sda&lt;BR /&gt;&lt;BR /&gt;Thank you for all your help!&lt;BR /&gt;Eric Singer</description>
      <pubDate>Fri, 22 Jan 2010 13:44:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hot-adding-disk-to-virtualized-guest/m-p/5220923#M51678</guid>
      <dc:creator>Eric Singer</dc:creator>
      <dc:date>2010-01-22T13:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hot Adding Disk to Virtualized Guest</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hot-adding-disk-to-virtualized-guest/m-p/5220924#M51679</link>
      <description>Solution Found, closing thread.</description>
      <pubDate>Fri, 22 Jan 2010 13:45:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hot-adding-disk-to-virtualized-guest/m-p/5220924#M51679</guid>
      <dc:creator>Eric Singer</dc:creator>
      <dc:date>2010-01-22T13:45:12Z</dc:date>
    </item>
  </channel>
</rss>

