<?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 does linux support hot plug disks? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897044#M45552</link>
    <description>Ok, so an existing array was expanded.&lt;BR /&gt;&lt;BR /&gt;As the EXP 300 is a storay array, not a RAID controller, this still begs a question.  But using 'RaidMan' should be of help, so I'll make an assumption it's an IBM ServeRaid controller.&lt;BR /&gt;&lt;BR /&gt;I've no experience using any of the IBM RAID equiptment so this is just from google searches.&lt;BR /&gt;&lt;BR /&gt;What needs to happen is for the ServeRaid controller to re-read (rescan) and inform the OS.&lt;BR /&gt;&lt;BR /&gt;One suggested way to do that:&lt;BR /&gt;&lt;BR /&gt;echo "scsi-add-single-device 0 0 1 0" &amp;gt; /proc/scsi/scsi&lt;BR /&gt;&lt;BR /&gt;(From &lt;A href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=117381" target="_blank"&gt;https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=117381&lt;/A&gt; , which is a bug/feature request describing exactally what you are doing).&lt;BR /&gt;&lt;BR /&gt;A few days ago there was a small script which was written to rescan all SCSI controllers and LUN's.  I just can't find it at the moment, but this should be enough.</description>
    <pubDate>Thu, 21 Apr 2005 17:58:58 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2005-04-21T17:58:58Z</dc:date>
    <item>
      <title>How does linux support hot plug disks?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897034#M45542</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;fdisk -l doesn't show me additional disk space I've added into running system. How can manage this without reboot?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Andrej</description>
      <pubDate>Wed, 20 Apr 2005 01:34:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897034#M45542</guid>
      <dc:creator>Andrej Vavro</dc:creator>
      <dc:date>2005-04-20T01:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: How does linux support hot plug disks?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897035#M45543</link>
      <description>Normaly hot-plug disks are part of a RAID container.&lt;BR /&gt;&lt;BR /&gt;The RAID container is what needs to be reconfigured.&lt;BR /&gt;&lt;BR /&gt;Are the new disks plugged into a RAID controller?  If so, is it on HP hardware?&lt;BR /&gt;&lt;BR /&gt;If it is, you need to access the ACU tools to configure the containers online.</description>
      <pubDate>Wed, 20 Apr 2005 01:48:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897035#M45543</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-04-20T01:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: How does linux support hot plug disks?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897036#M45544</link>
      <description>Stuart,&lt;BR /&gt;&lt;BR /&gt;it is a RAID container. RAID utilities are showing added disks. I'm in linux forum, so it's on linux.&lt;BR /&gt;&lt;BR /&gt;Has anybody of you upgraded disk capacity in RAID container in running system yet?&lt;BR /&gt;&lt;BR /&gt;There are 3 Oracle production databases, I need upgrade disk capacity. HW allows it online. What about linux capability?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Andrej</description>
      <pubDate>Wed, 20 Apr 2005 04:30:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897036#M45544</guid>
      <dc:creator>Andrej Vavro</dc:creator>
      <dc:date>2005-04-20T04:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: How does linux support hot plug disks?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897037#M45545</link>
      <description>Depends on the RAID controller.&lt;BR /&gt;&lt;BR /&gt;If you've added the disks, expanded the existing container or added a second container using the online tools, then the space should be available.&lt;BR /&gt;&lt;BR /&gt;If you expanded the existing container, then at worst you many need to get the RAID controller to rescan the devices.&lt;BR /&gt;&lt;BR /&gt;If you added a new container, then you should have a hew disk device available.&lt;BR /&gt;&lt;BR /&gt;What hardware are you using?  Are you using HP equiptment with a Smart Array controller? or something else?</description>
      <pubDate>Wed, 20 Apr 2005 05:07:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897037#M45545</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-04-20T05:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: How does linux support hot plug disks?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897038#M45546</link>
      <description>I've seen this problem on both HP-UX and AIX, and think it has something to do with files only being marked as deleted, and so the space cannot be reclaimed/shown as available until the filesystem is closed, and the the VTOC data written to disk.&lt;BR /&gt;&lt;BR /&gt;Can you unmount, fsck, and remount these volumes to see if that updates the free space?&lt;BR /&gt;&lt;BR /&gt;In answer to your original question, Linux broadly treats all hot-plug devices as quasi-scsi drives, which is why they appear as /dev/sd??.&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Apr 2005 02:24:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897038#M45546</guid>
      <dc:creator>Andrew Cowan</dc:creator>
      <dc:date>2005-04-21T02:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: How does linux support hot plug disks?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897039#M45547</link>
      <description>For many HP/Compaq servers you need to boot off a special disk preparation disk prior to OS install. This enables you to set up containers, or modify them after installation.&lt;BR /&gt;&lt;BR /&gt;There is a CD that comes with the servers that lets you do this. Alternatively, you can always download one specific to your server off the server support website.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 21 Apr 2005 05:30:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897039#M45547</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-04-21T05:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: How does linux support hot plug disks?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897040#M45548</link>
      <description>I can see there is no other way than going down with databases and umount the device.&lt;BR /&gt;&lt;BR /&gt;Andrej</description>
      <pubDate>Thu, 21 Apr 2005 05:34:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897040#M45548</guid>
      <dc:creator>Andrej Vavro</dc:creator>
      <dc:date>2005-04-21T05:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: How does linux support hot plug disks?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897041#M45549</link>
      <description>Assuming you are using e2fsadm, have you tried the "-t" option? This could force a re-read of the VTOC and thus update the freelist.</description>
      <pubDate>Thu, 21 Apr 2005 06:33:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897041#M45549</guid>
      <dc:creator>Andrew Cowan</dc:creator>
      <dc:date>2005-04-21T06:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: How does linux support hot plug disks?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897042#M45550</link>
      <description>How about you answer the questions asked so we can stop guessing as to what's actually happening?&lt;BR /&gt;&lt;BR /&gt;You've not told us the steps you used to expand the container.&lt;BR /&gt;&lt;BR /&gt;You've not told us what type of RAID controller is in use!&lt;BR /&gt;&lt;BR /&gt;We need more details so we can stop fishing!</description>
      <pubDate>Thu, 21 Apr 2005 07:40:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897042#M45550</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-04-21T07:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: How does linux support hot plug disks?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897043#M45551</link>
      <description>Guys,&lt;BR /&gt;&lt;BR /&gt;thanks for replies. Tomorrow I am going down with the system knowing there is no other way.&lt;BR /&gt;&lt;BR /&gt;There were 8 disk in IBM EXP300 container. I've added 6 more. RaidMan is a linux X tool (somebody might know) to manage IBM HW RAID.&lt;BR /&gt;6 disks were configured succesfully and added to a logical array B by RaidMan in running system. Raidman sees full capacity of the container including 6 added disks.&lt;BR /&gt;fdisk -l shows capacity of first 8 disks only on /dev/sdb device. It does not matter what HW it is on. I tried w in fdisk utility to write partition expecting re-read and here is the result:&lt;BR /&gt;&lt;BR /&gt;Command (m for help): w&lt;BR /&gt;The partition table has been altered!&lt;BR /&gt;&lt;BR /&gt;Calling ioctl() to re-read partition table.&lt;BR /&gt;Re-read table failed with error 16: Device or resource busy.&lt;BR /&gt;Reboot your system to ensure the partition table is updated.&lt;BR /&gt;&lt;BR /&gt;WARNING: If you have created or modified any DOS 6.x&lt;BR /&gt;partitions, please see the fdisk manual page for additional&lt;BR /&gt;information.&lt;BR /&gt;Syncing disks.&lt;BR /&gt;&lt;BR /&gt;This is a linux (probably unix) issue in case there is added more capacity to hot plug RAID container to the existing device (/dev/sdb). The device should not in use, must be unmounted and then created a new partition /dev/sdb2. Do you have different experience?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"-t" option doesn't work for me:&lt;BR /&gt;&lt;BR /&gt;beckov:~ # fdisk -t /dev/hda&lt;BR /&gt;fdisk: invalid option -- t&lt;BR /&gt;&lt;BR /&gt;Usage: fdisk [-b SSZ] [-u] DISK     Change partition table&lt;BR /&gt;       fdisk -l [-b SSZ] [-u] DISK  List partition table(s)&lt;BR /&gt;       fdisk -s PARTITION           Give partition size(s) in blocks&lt;BR /&gt;       fdisk -v                     Give fdisk version&lt;BR /&gt;Here DISK is something like /dev/hdb or /dev/sda&lt;BR /&gt;and PARTITION is something like /dev/hda7&lt;BR /&gt;-u: give Start and End in sector (instead of cylinder) units&lt;BR /&gt;-b 2048: (for certain MO drives) use 2048-byte sectors&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Andrej&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Apr 2005 09:49:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897043#M45551</guid>
      <dc:creator>Andrej Vavro</dc:creator>
      <dc:date>2005-04-21T09:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: How does linux support hot plug disks?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897044#M45552</link>
      <description>Ok, so an existing array was expanded.&lt;BR /&gt;&lt;BR /&gt;As the EXP 300 is a storay array, not a RAID controller, this still begs a question.  But using 'RaidMan' should be of help, so I'll make an assumption it's an IBM ServeRaid controller.&lt;BR /&gt;&lt;BR /&gt;I've no experience using any of the IBM RAID equiptment so this is just from google searches.&lt;BR /&gt;&lt;BR /&gt;What needs to happen is for the ServeRaid controller to re-read (rescan) and inform the OS.&lt;BR /&gt;&lt;BR /&gt;One suggested way to do that:&lt;BR /&gt;&lt;BR /&gt;echo "scsi-add-single-device 0 0 1 0" &amp;gt; /proc/scsi/scsi&lt;BR /&gt;&lt;BR /&gt;(From &lt;A href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=117381" target="_blank"&gt;https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=117381&lt;/A&gt; , which is a bug/feature request describing exactally what you are doing).&lt;BR /&gt;&lt;BR /&gt;A few days ago there was a small script which was written to rescan all SCSI controllers and LUN's.  I just can't find it at the moment, but this should be enough.</description>
      <pubDate>Thu, 21 Apr 2005 17:58:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897044#M45552</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-04-21T17:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: How does linux support hot plug disks?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897045#M45553</link>
      <description>fixed. Thank you for replies.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Andrej</description>
      <pubDate>Fri, 22 Apr 2005 08:08:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-does-linux-support-hot-plug-disks/m-p/4897045#M45553</guid>
      <dc:creator>Andrej Vavro</dc:creator>
      <dc:date>2005-04-22T08:08:48Z</dc:date>
    </item>
  </channel>
</rss>

